RowFormat
Overview
RowFormat is a class in Aspose.Words FOSS for Java.
Inherits from: IBorderAttrSource.
Represents all formatting for a table row.
Edition status of its 15 listed members (a property and its accessor methods are listed separately, overloads once): 15 not yet exercised by a verified example.
This class declares 10 methods for RowFormat objects in Java programs.
Available methods include: clearFormatting, getAllowBreakAcrossPages, getBorders, getHeadingFormat, getHeight, getHeightRule, setAllowBreakAcrossPages, setHeadingFormat, setHeight, setHeightRule.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: allowBreakAcrossPages, borders, headingFormat, height, heightRule.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
borders | BorderCollection | Read | Gets the collection of default cell borders for the row. |
height | double | Read/Write | Gets or sets the height of the table row in points. |
heightRule | int | Read/Write | Gets or sets the rule for determining the height of the table row. |
allowBreakAcrossPages | boolean | Read/Write | True if the text in a table row is allowed to split across a page break. |
headingFormat | boolean | Read/Write | True if the row is repeated as a table heading on every page when the table spans more than one page. |
Methods
| Signature | Description |
|---|---|
clearFormatting() | Resets to default row formatting. |
getBorders() → BorderCollection | Gets the collection of default cell borders for the row. |
getHeight() → double | Gets or sets the height of the table row in points. |
setHeight(value: double) | Sets the height value. |
getHeightRule() → int | Gets or sets the rule for determining the height of the table row. |
setHeightRule(value: int) | Sets the height rule value. |
getAllowBreakAcrossPages() → boolean | True if the text in a table row is allowed to split across a page break. |
setAllowBreakAcrossPages(value: boolean) | Sets the allow break across pages value. |
getHeadingFormat() → boolean | True if the row is repeated as a table heading on every page when the table spans more than one page. |
setHeadingFormat(value: boolean) | Sets the heading format value. |