| Modifier and Type | Method and Description |
|---|---|
| public BorderFormatting | Returns: - border formatting object, never returnsnull.Create a new border formatting structure if it does not exist, otherwise just return existing object. |
| public FontFormatting | Returns: - font formatting object, never returnsnull.Create a new font formatting structure if it does not exist, otherwise just return existing object. |
| public PatternFormatting | Returns: - pattern formatting object, never returnsnull.Create a new pattern formatting structure if it does not exist, otherwise just return existing object. |
| public BorderFormatting | Returns: - border formatting object if defined,null otherwiseRedeclares org.
|
| public ColorScaleFormatting | Returns: color scale / color grate formatting object if defined,null otherwise
|
| public byte | Returns: the conditional format operatorThe comparison function used when the type of conditional formatting is set to
MUST be a constant from |
| public ConditionFilterType | Returns: filter type for filter rules, or null if not a filter rule.This is null if
This is always |
| public ConditionType | |
| public DataBarFormatting | |
| public ConditionFilterData | Returns: the Filter Configuration Data, or null if there isn't anyThis is null if
This means it is always null for HSSF, which does not define the extended condition types. |
| public FontFormatting | Returns: - font formatting object if defined,null otherwiseRedeclares org.
|
| public String | Returns: the first formulaThe formula used to evaluate the first operand for the conditional formatting rule. |
| public String | Returns: the second formulaThe formula used to evaluate the second operand of the comparison when
comparison type is |
| public IconMultiStateFormatting | |
| public ExcelNumberFormat | Returns: number format defined for this rule, or null if the cell default should be usedRedeclares org.
|
| public PatternFormatting | Returns: - pattern formatting object if defined,null otherwiseRedeclares org.
|
| public int | |
| public boolean | Returns: true if conditional formatting rule processing stops when this one is true, false if notAlways true for HSSF rules, optional flag for XSSF rules. |
| public String | Returns: condition text if it exists, or nullXSSF rules store textual condition values as an attribute and also as a formula that needs shifting. |
| createBorderFormatting | back to summary |
|---|---|
| public BorderFormatting createBorderFormatting() Create a new border formatting structure if it does not exist, otherwise just return existing object.
| |
| createFontFormatting | back to summary |
|---|---|
| public FontFormatting createFontFormatting() Create a new font formatting structure if it does not exist, otherwise just return existing object.
| |
| createPatternFormatting | back to summary |
|---|---|
| public PatternFormatting createPatternFormatting() Create a new pattern formatting structure if it does not exist, otherwise just return existing object.
| |
| getBorderFormatting | back to summary |
|---|---|
| public BorderFormatting getBorderFormatting() Redeclares org.
| |
| getColorScaleFormatting | back to summary |
|---|---|
public ColorScaleFormatting getColorScaleFormatting()
| |
| getComparisonOperation | back to summary |
|---|---|
| public byte getComparisonOperation() The comparison function used when the type of conditional formatting is set to
MUST be a constant from
| |
| getConditionFilterType | back to summary |
|---|---|
| public ConditionFilterType getConditionFilterType() This is null if
This is always For XSSF filter rules, this will indicate the specific type of filter.
| |
| getConditionType | back to summary |
|---|---|
| public ConditionType getConditionType() Type of conditional formatting rule.
| |
| getDataBarFormatting | back to summary |
|---|---|
public DataBarFormatting getDataBarFormatting()
| |
| getFilterConfiguration | back to summary |
|---|---|
| public ConditionFilterData getFilterConfiguration() This is null if
This means it is always null for HSSF, which does not define the extended condition types. This object contains the additional configuration information for XSSF filter conditions.
| |
| getFontFormatting | back to summary |
|---|---|
| public FontFormatting getFontFormatting() Redeclares org.
| |
| getFormula1 | back to summary |
|---|---|
| public String getFormula1() The formula used to evaluate the first operand for the conditional formatting rule.
If the condition type is
If comparison type is
| |
| getFormula2 | back to summary |
|---|---|
| public String getFormula2() The formula used to evaluate the second operand of the comparison when
comparison type is
| |
| getMultiStateFormatting | back to summary |
|---|---|
public IconMultiStateFormatting getMultiStateFormatting()
| |
| getNumberFormat | back to summary |
|---|---|
| public ExcelNumberFormat getNumberFormat() Redeclares org.
| |
| getPatternFormatting | back to summary |
|---|---|
| public PatternFormatting getPatternFormatting() Redeclares org.
| |
| getPriority | back to summary |
|---|---|
| public int getPriority() The priority of the rule, if defined, otherwise 0. If priority is 0, just use definition order, as that's how older HSSF rules are evaluated. For XSSF, this should always be set. For HSSF, only newer style rules have this set, older ones will return 0. If a rule is created but not yet added to a sheet, this value may not be valid.
| |
| getStopIfTrue | back to summary |
|---|---|
| public boolean getStopIfTrue() Always true for HSSF rules, optional flag for XSSF rules. See Excel help for more.
| |
| getText | back to summary |
|---|---|
| public String getText() XSSF rules store textual condition values as an attribute and also as a formula that needs shifting. Using the attribute is simpler/faster. HSSF rules don't have this and return null. We can fall back on the formula for those (AFAIK).
| |