ConditionalStyle

ConditionalStyle

Overview

ConditionalStyle is a class in Aspose.Words FOSS for Java. Inherits from: IBorderAttrSource, IShadingAttrSource, IParaAttrSource, and 2 more.

Represents special formatting applied to some area of a table with assigned table style.

Edition status of its 25 listed members (a property and its accessor methods are listed separately, overloads once): 25 not yet exercised by a verified example.

This class declares 16 methods for ConditionalStyle objects in Java programs. Available methods include: clearFormatting, equals, getBorders, getBottomPadding, getFont, getLeftPadding, getParagraphFormat, getRightPadding, getShading, getTopPadding, getType, hashCode, and 4 additional methods. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: borders, bottomPadding, font, leftPadding, paragraphFormat, rightPadding, and 3 more.

Properties

NameTypeAccessDescription
paragraphFormatParagraphFormatReadGets the paragraph formatting of the conditional style.
fontFontReadGets the character formatting of the conditional style.
shadingShadingReadGets a Shading object that refers to the shading formatting for this conditional style.
bordersBorderCollectionReadGets the collection of default cell borders for the conditional style.
leftPaddingdoubleRead/WriteGets or sets the amount of space (in points) to add to the left of the contents of table cells.
rightPaddingdoubleRead/WriteGets or sets the amount of space (in points) to add to the right of the contents of table cells.
topPaddingdoubleRead/WriteGets or sets the amount of space (in points) to add above the contents of table cells.
bottomPaddingdoubleRead/WriteGets or sets the amount of space (in points) to add below the contents of table cells.
typeintReadGets table area to which this conditional style relates.

Methods

SignatureDescription
clearFormatting()Clears formatting of this conditional style.
equals(obj: Object) → booleanCompares this conditional style with the specified object.
hashCode() → intCalculates hash code for this object.
getParagraphFormat() → ParagraphFormatGets the paragraph formatting of the conditional style.
getFont() → FontGets the character formatting of the conditional style.
getShading() → ShadingGets a Shading object that refers to the shading formatting for this conditional style.
getBorders() → BorderCollectionGets the collection of default cell borders for the conditional style.
getLeftPadding() → doubleGets or sets the amount of space (in points) to add to the left of the contents of table cells.
setLeftPadding(value: double)Sets the left padding value.
getRightPadding() → doubleGets or sets the amount of space (in points) to add to the right of the contents of table cells.
setRightPadding(value: double)Sets the right padding value.
getTopPadding() → doubleGets or sets the amount of space (in points) to add above the contents of table cells.
setTopPadding(value: double)Sets the top padding value.
getBottomPadding() → doubleGets or sets the amount of space (in points) to add below the contents of table cells.
setBottomPadding(value: double)Sets the bottom padding value.
getType() → intGets table area to which this conditional style relates.

See Also