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

NameTypeAccessDescription
bordersBorderCollectionReadGets the collection of default cell borders for the row.
heightdoubleRead/WriteGets or sets the height of the table row in points.
heightRuleintRead/WriteGets or sets the rule for determining the height of the table row.
allowBreakAcrossPagesbooleanRead/WriteTrue if the text in a table row is allowed to split across a page break.
headingFormatbooleanRead/WriteTrue if the row is repeated as a table heading on every page when the table spans more than one page.

Methods

SignatureDescription
clearFormatting()Resets to default row formatting.
getBorders() → BorderCollectionGets the collection of default cell borders for the row.
getHeight() → doubleGets or sets the height of the table row in points.
setHeight(value: double)Sets the height value.
getHeightRule() → intGets or sets the rule for determining the height of the table row.
setHeightRule(value: int)Sets the height rule value.
getAllowBreakAcrossPages() → booleanTrue 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() → booleanTrue 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.

See Also