public class PatchRtfCell
extends com.lowagie.text.Cell
implements com.lowagie.text.rtf.RtfExtendedElement
RtfBorder
arrayList, colspan, groupChange, header, horizontalAlignment, maxLines, percentage, rowspan, useAscender, useBorderPadding, useDescender, verticalAlignment, width
border, borderColor, borderColorBottom, borderColorLeft, borderColorRight, borderColorTop, borderWidth, borderWidthBottom, borderWidthLeft, borderWidthRight, borderWidthTop, BOTTOM, BOX, LEFT, llx, lly, NO_BORDER, RIGHT, rotation, TOP, UNDEFINED, urx, ury, useVariableBorders
CLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CELL, CHAPTER, CHUNK, CREATIONDATE, CREATOR, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LIST, LISTITEM, MARKED, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, TITLE, YMARK
Modifier | Constructor and Description |
---|---|
|
PatchRtfCell()
Constructs an empty PatchRtfCell
|
protected |
PatchRtfCell(boolean deleted)
Constructs a deleted PatchRtfCell.
|
|
PatchRtfCell(com.lowagie.text.Element element)
Constructs a PatchRtfCell based upon an Element
|
protected |
PatchRtfCell(com.lowagie.text.rtf.document.RtfDocument doc,
PatchRtfRow row,
com.lowagie.text.Cell cell)
Constructs a PatchRtfCell based on a Cell.
|
protected |
PatchRtfCell(com.lowagie.text.rtf.document.RtfDocument doc,
PatchRtfRow row,
com.lowagie.text.pdf.PdfPCell cell)
Constructs a PatchRtfCell based on a Cell.
|
|
PatchRtfCell(String content)
Constructs a PatchRtfCell based upon a String
|
Modifier and Type | Method and Description |
---|---|
protected PatchRtfBorderGroup |
getBorders()
Gets the borders of this PatchRtfCell
|
protected int |
getCellpadding()
Gets the cell padding of this PatchRtfCell
|
protected int |
getCellRight()
Gets the right margin of this PatchRtfCell
|
protected int |
getCellWidth()
Gets the cell width of this PatchRtfCell
|
float |
getMinimumHeight() |
protected com.lowagie.text.rtf.style.RtfColor |
getRtfBackgroundColor()
Get the background color of this PatchRtfCell
|
boolean |
isDeleted()
Checks whether this PatchRtfCell is a placeholder for a table cell that has been removed due to col/row spanning.
|
boolean |
isInHeader()
Gets whether this
PatchRtfCell is in a header |
void |
setBorders(PatchRtfBorderGroup borderGroup)
Set the borders of this PatchRtfCell
|
protected void |
setCellMergeChild(PatchRtfCell mergeParent)
Merge this cell into the parent cell.
|
protected void |
setCellRight(int cellRight)
Sets the right margin of this cell.
|
protected void |
setCellWidth(int cellWidth)
Sets the cell width of this PatchRtfCell.
|
void |
setInHeader(boolean inHeader)
Sets whether this PatchRtfCell is in a header
|
void |
setInTable(boolean inTable)
Unused
|
void |
setMinimumHeight(float minimumHeight) |
void |
setRtfDocument(com.lowagie.text.rtf.document.RtfDocument doc)
Sets the RtfDocument this PatchRtfCell belongs to
|
void |
writeContent(OutputStream result)
Write the content of this PatchRtfCell
|
void |
writeDefinition(OutputStream result)
Write the cell definition part of this PatchRtfCell
|
add, addElement, bottom, clear, createPdfPCell, getBottom, getChunks, getColspan, getElements, getGroupChange, getHorizontalAlignment, getLeading, getLeft, getMaxLines, getRight, getRowspan, getShowTruncation, getTop, getVerticalAlignment, getWidth, getWidthAsString, isEmpty, isHeader, isTable, isUseAscender, isUseBorderPadding, isUseDescender, left, process, right, setBottom, setColspan, setGroupChange, setHeader, setHorizontalAlignment, setHorizontalAlignment, setLeading, setLeft, setMaxLines, setRight, setRowspan, setShowTruncation, setTop, setUseAscender, setUseBorderPadding, setUseDescender, setVerticalAlignment, setVerticalAlignment, setWidth, setWidth, size, top, type
cloneNonPositionParameters, disableBorderSide, enableBorderSide, getBackgroundColor, getBorder, getBorderColor, getBorderColorBottom, getBorderColorLeft, getBorderColorRight, getBorderColorTop, getBorderWidth, getBorderWidthBottom, getBorderWidthLeft, getBorderWidthRight, getBorderWidthTop, getBottom, getGrayFill, getHeight, getLeft, getRight, getRotation, getTop, hasBorder, hasBorders, isContent, isNestable, isUseVariableBorders, normalize, rectangle, rotate, setBackgroundColor, setBorder, setBorderColor, setBorderColorBottom, setBorderColorLeft, setBorderColorRight, setBorderColorTop, setBorderWidth, setBorderWidthBottom, setBorderWidthLeft, setBorderWidthRight, setBorderWidthTop, setBottom, setGrayFill, setLeft, setRight, setTop, setUseVariableBorders, softCloneNonPositionParameters, toString
public PatchRtfCell()
public PatchRtfCell(String content)
content
- The String to base the PatchRtfCell onpublic PatchRtfCell(com.lowagie.text.Element element) throws com.lowagie.text.BadElementException
element
- The Element to base the PatchRtfCell oncom.lowagie.text.BadElementException
- If the Element is not validprotected PatchRtfCell(boolean deleted)
deleted
- Whether this PatchRtfCell is actually deleted.protected PatchRtfCell(com.lowagie.text.rtf.document.RtfDocument doc, PatchRtfRow row, com.lowagie.text.Cell cell)
doc
- The RtfDocument this PatchRtfCell belongs torow
- The PatchRtfRow this PatchRtfCell lies incell
- The Cell to base this PatchRtfCell onprotected PatchRtfCell(com.lowagie.text.rtf.document.RtfDocument doc, PatchRtfRow row, com.lowagie.text.pdf.PdfPCell cell)
doc
- The RtfDocument this PatchRtfCell belongs torow
- The PatchRtfRow this PatchRtfCell lies incell
- The PdfPCell to base this PatchRtfCell onpublic void writeDefinition(OutputStream result) throws IOException
writeDefinition
in interface com.lowagie.text.rtf.RtfExtendedElement
IOException
public void writeContent(OutputStream result) throws IOException
writeContent
in interface com.lowagie.text.rtf.RtfBasicElement
IOException
protected void setCellRight(int cellRight)
cellRight
- The right margin to useprotected int getCellRight()
protected void setCellWidth(int cellWidth)
cellWidth
- The cell width to useprotected int getCellWidth()
protected int getCellpadding()
protected PatchRtfBorderGroup getBorders()
public void setBorders(PatchRtfBorderGroup borderGroup)
borderGroup
- The PatchRtfBorderGroup to use as bordersprotected com.lowagie.text.rtf.style.RtfColor getRtfBackgroundColor()
protected void setCellMergeChild(PatchRtfCell mergeParent)
mergeParent
- The PatchRtfCell to merge withpublic void setRtfDocument(com.lowagie.text.rtf.document.RtfDocument doc)
setRtfDocument
in interface com.lowagie.text.rtf.RtfBasicElement
doc
- The RtfDocument to usepublic void setInTable(boolean inTable)
setInTable
in interface com.lowagie.text.rtf.RtfBasicElement
inTable
- public void setInHeader(boolean inHeader)
setInHeader
in interface com.lowagie.text.rtf.RtfBasicElement
inHeader
- True
if this PatchRtfCell is in a header, false
otherwisepublic boolean isInHeader()
PatchRtfCell
is in a headerTrue
if this PatchRtfCell
is in a header, false
otherwisepublic boolean isDeleted()
True
if this PatchRtfCell is deleted, false
otherwise.public float getMinimumHeight()
public void setMinimumHeight(float minimumHeight)
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.