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
| Name | Type | Access | Description |
|---|---|---|---|
paragraphFormat | ParagraphFormat | Read | Gets the paragraph formatting of the conditional style. |
font | Font | Read | Gets the character formatting of the conditional style. |
shading | Shading | Read | Gets a Shading object that refers to the shading formatting for this conditional style. |
borders | BorderCollection | Read | Gets the collection of default cell borders for the conditional style. |
leftPadding | double | Read/Write | Gets or sets the amount of space (in points) to add to the left of the contents of table cells. |
rightPadding | double | Read/Write | Gets or sets the amount of space (in points) to add to the right of the contents of table cells. |
topPadding | double | Read/Write | Gets or sets the amount of space (in points) to add above the contents of table cells. |
bottomPadding | double | Read/Write | Gets or sets the amount of space (in points) to add below the contents of table cells. |
type | int | Read | Gets table area to which this conditional style relates. |
Methods
| Signature | Description |
|---|---|
clearFormatting() | Clears formatting of this conditional style. |
equals(obj: Object) → boolean | Compares this conditional style with the specified object. |
hashCode() → int | Calculates hash code for this object. |
getParagraphFormat() → ParagraphFormat | Gets the paragraph formatting of the conditional style. |
getFont() → Font | Gets the character formatting of the conditional style. |
getShading() → Shading | Gets a Shading object that refers to the shading formatting for this conditional style. |
getBorders() → BorderCollection | Gets the collection of default cell borders for the conditional style. |
getLeftPadding() → double | Gets 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() → double | Gets 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() → double | Gets 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() → double | Gets 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() → int | Gets table area to which this conditional style relates. |