ConditionalStyleCollection
Overview
ConditionalStyleCollection is a class in Aspose.Words FOSS for Java.
Inherits from: Iterable<ConditionalStyle>.
Represents a collection of ConditionalStyle objects.
Edition status of its 30 listed members (a property and its accessor methods are listed separately, overloads once): 30 not yet exercised by a verified example.
This class declares 17 methods for ConditionalStyleCollection objects in Java programs.
Available methods include: clearFormatting, get, getBottomLeftCell, getBottomRightCell, getByConditionalStyleType, getCount, getEvenColumnBanding, getEvenRowBanding, getFirstColumn, getFirstRow, getLastColumn, getLastRow, and 5 additional methods.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: bottomLeftCell, bottomRightCell, count, evenColumnBanding, evenRowBanding, firstColumn, and 7 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Gets the number of conditional styles in the collection. |
firstRow | ConditionalStyle | Read | Gets the first row style. |
firstColumn | ConditionalStyle | Read | Gets the first column style. |
lastRow | ConditionalStyle | Read | Gets the last row style. |
lastColumn | ConditionalStyle | Read | Gets the last column style. |
oddRowBanding | ConditionalStyle | Read | Gets the odd row banding style. |
oddColumnBanding | ConditionalStyle | Read | Gets the odd column banding style. |
evenRowBanding | ConditionalStyle | Read | Gets the even row banding style. |
evenColumnBanding | ConditionalStyle | Read | Gets the even column banding style. |
topLeftCell | ConditionalStyle | Read | Gets the top left cell style. |
topRightCell | ConditionalStyle | Read | Gets the top right cell style. |
bottomLeftCell | ConditionalStyle | Read | Gets the bottom left cell style. |
bottomRightCell | ConditionalStyle | Read | Gets the bottom right cell style. |
Methods
| Signature | Description |
|---|---|
clearFormatting() | Clears all conditional styles of the table style. |
iterator() → Iterator<ConditionalStyle> | Returns an enumerator object that can be used to iterate over all conditional styles in the collection. |
getByConditionalStyleType(conditionalStyleType: int) → ConditionalStyle | Retrieves a ConditionalStyle object by conditional style type. |
get(index: int) → ConditionalStyle | Retrieves a ConditionalStyle object by index. |
getCount() → int | Gets the number of conditional styles in the collection. |
getFirstRow() → ConditionalStyle | Gets the first row style. |
getFirstColumn() → ConditionalStyle | Gets the first column style. |
getLastRow() → ConditionalStyle | Gets the last row style. |
getLastColumn() → ConditionalStyle | Gets the last column style. |
getOddRowBanding() → ConditionalStyle | Gets the odd row banding style. |
getOddColumnBanding() → ConditionalStyle | Gets the odd column banding style. |
getEvenRowBanding() → ConditionalStyle | Gets the even row banding style. |
getEvenColumnBanding() → ConditionalStyle | Gets the even column banding style. |
getTopLeftCell() → ConditionalStyle | Gets the top left cell style. |
getTopRightCell() → ConditionalStyle | Gets the top right cell style. |
getBottomLeftCell() → ConditionalStyle | Gets the bottom left cell style. |
getBottomRightCell() → ConditionalStyle | Gets the bottom right cell style. |