Java Doc for PdfPCell.java in » PDF » pdf-itext » com » lowagie » text » pdf » Java Source Code / Java DocumentationJava Source Code and Java Documentation
setRightIndent(float indent) Sets the right paragraph lines indent.
public void
setRotation(int rotation) Sets the rotation of the cell.
public void
setRunDirection(int runDirection) Sets the run direction of the text content in the cell (PdfWriter.RUN_DIRECTION_DEFAULT, PdfWriter.RUN_DIRECTION_NO_BIDI, PdfWriter.RUN_DIRECTION_LTR or PdfWriter.RUN_DIRECTION_RTL).
public void
setSpaceCharRatio(float spaceCharRatio) Sets the ratio between the extra word spacing and the extra character spacing
when the text is fully justified.
Constructs a PdfPCell with an Image.
The default padding is 0.25 for a border width of 0.5.
Parameters: image - the Image Parameters: fit - true to fit the image to the cell
Gets the effective bottom padding. This will include
the bottom border width if
PdfPCell.isUseBorderPadding() is true.
effective value of property paddingBottom.
Gets the effective left padding. This will include
the left border width if
PdfPCell.isUseBorderPadding() is true.
effective value of property paddingLeft.
Gets the effective right padding. This will include
the right border width if
PdfPCell.isUseBorderPadding() is true.
effective value of property paddingRight.
Gets the effective top padding. This will include
the top border width if
PdfPCell.isUseBorderPadding() is true.
effective value of property paddingTop.
Gets the run direction of the text content in the cell
One of the following values: PdfWriter.RUN_DIRECTION_DEFAULT, PdfWriter.RUN_DIRECTION_NO_BIDI, PdfWriter.RUN_DIRECTION_LTR or PdfWriter.RUN_DIRECTION_RTL.
Sets the first paragraph line indent.
Parameters: indent - the indent
setLeading
public void setLeading(float fixedLeading, float multipliedLeading)(Code)
Sets the leading fixed and variable. The resultant leading will be
fixedLeading+multipliedLeading*maxFontSize where maxFontSize is the
size of the bigest font in the line.
Parameters: fixedLeading - the fixed leading Parameters: multipliedLeading - the variable leading
setMinimumHeight
public void setMinimumHeight(float minimumHeight)(Code)
Setter for property minimumHeight.
Parameters: minimumHeight - New value of property minimumHeight.
Sets the rotation of the cell. Possible values are
0, 90, 180 and 270.
Parameters: rotation - the rotation of the cell
setRunDirection
public void setRunDirection(int runDirection)(Code)
Sets the run direction of the text content in the cell (PdfWriter.RUN_DIRECTION_DEFAULT, PdfWriter.RUN_DIRECTION_NO_BIDI, PdfWriter.RUN_DIRECTION_LTR or PdfWriter.RUN_DIRECTION_RTL).
Parameters: runDirection -
setSpaceCharRatio
public void setSpaceCharRatio(float spaceCharRatio)(Code)
Sets the ratio between the extra word spacing and the extra character spacing
when the text is fully justified.
Extra word spacing will grow spaceCharRatio times more than extra character spacing.
If the ratio is PdfWriter.NO_SPACE_CHAR_RATIO then the extra character spacing
will be zero.
Parameters: spaceCharRatio - the ratio between the extra word spacing and the extra character spacing