public class RowFormat
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
clearFormatting()
Resets to default row formatting.
|
java.lang.Object |
fetchInheritedBorderAttr(int key) |
boolean |
getAllowBreakAcrossPages()
True if the text in a table row is allowed to split across a page break.
|
BorderCollection |
getBorders()
Gets the collection of default cell borders for the row.
|
java.lang.Object |
getDirectBorderAttr(int key) |
boolean |
getHeadingFormat()
True if the row is repeated as a table heading on every page when the table spans more than one page.
|
double |
getHeight()
Gets the height of the table row in points.
|
int |
getHeightRule()
Gets the rule for determining the height of the table row.
|
void |
setAllowBreakAcrossPages(boolean value)
True if the text in a table row is allowed to split across a page break.
|
void |
setBorderAttr(int key,
java.lang.Object value) |
void |
setHeadingFormat(boolean value)
True if the row is repeated as a table heading on every page when the table spans more than one page.
|
void |
setHeight(double value)
Sets the height of the table row in points.
|
void |
setHeightRule(int value)
Sets the rule for determining the height of the table row.
|
public void clearFormatting()
throws java.lang.Exception
java.lang.Exceptionpublic BorderCollection getBorders()
public double getHeight()
public void setHeight(double value)
value - The height of the table row in points.public int getHeightRule()
HeightRule constants.public void setHeightRule(int value)
value - The rule for determining the height of the table row. The value must be one of HeightRule constants.public boolean getAllowBreakAcrossPages()
boolean value.public void setAllowBreakAcrossPages(boolean value)
value - The corresponding boolean value.public boolean getHeadingFormat()
boolean value.public void setHeadingFormat(boolean value)
value - The corresponding boolean value.public java.lang.Object getDirectBorderAttr(int key)
public java.lang.Object fetchInheritedBorderAttr(int key)
public void setBorderAttr(int key,
java.lang.Object value)