| Modifier and Type | Field and Description |
|---|---|
| private static final byte | |
| private final CFRuleBase | |
| private final HSSFSheet | |
| private final HSSFWorkbook |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public HSSFBorderFormatting | Returns: - border formatting object, never returnsnull.Implements org. create a new border formatting structure if it does not exist, otherwise just return existing object. |
| public HSSFColorScaleFormatting | createColorScaleFormatting()
create a new color scale / gradient formatting object if it does not exist, otherwise just return the existing object. |
| public HSSFDataBarFormatting | createDataBarFormatting()
create a new databar / data-bar formatting object if it does not exist, otherwise just return the existing object. |
| public HSSFFontFormatting | Returns: - font formatting object, never returnsnull.Implements org. create a new font formatting structure if it does not exist, otherwise just return existing object. |
| public HSSFIconMultiStateFormatting | createMultiStateFormatting()
create a new icon / multi-state formatting object if it does not exist, otherwise just return the existing object. |
| public HSSFPatternFormatting | Returns: - pattern formatting object, never returnsnull.Implements org. create a new pattern formatting structure if it does not exist, otherwise just return existing object. |
| private HSSFBorderFormatting | |
| public HSSFBorderFormatting | Returns: - border formatting object if defined,null otherwiseImplements org.
|
| private CFRule12Record | |
| pack-priv CFRuleBase | |
| private HSSFColorScaleFormatting | |
| public HSSFColorScaleFormatting | Returns: color scale / gradient formatting object if defined,null otherwiseImplements org.
|
| public byte | Returns: - the comparisionoperatation for the cfruleImplements org. The comparison function used when the type of conditional formatting is set to
MUST be a constant from |
| public ConditionFilterType | getConditionFilterType()
Implements org. always null (not a filter condition) or |
| public ConditionType | Returns: - the conditiontype for the cfruleImplements org. Type of conditional formatting rule. |
| private HSSFDataBarFormatting | |
| public HSSFDataBarFormatting | Returns: databar / data-bar formatting object if defined,null otherwiseImplements org.
|
| public ConditionFilterData | getFilterConfiguration()
Implements org. This is null if
This means it is always null for HSSF, which does not define the extended condition types. |
| private HSSFFontFormatting | |
| public HSSFFontFormatting | Returns: - font formatting object if defined,null otherwiseImplements org.
|
| public String | getFormula1()
Implements org. The formula used to evaluate the first operand for the conditional formatting rule. |
| public String | getFormula2()
Implements org. The formula used to evaluate the second operand of the comparison when
comparison type is |
| private HSSFIconMultiStateFormatting | |
| public HSSFIconMultiStateFormatting | Returns: icon / multi-state formatting object if defined,null otherwiseImplements org.
|
| public ExcelNumberFormat | getNumberFormat()
Implements org. Always null for HSSF records, until someone figures out where to find it |
| private HSSFPatternFormatting | |
| public HSSFPatternFormatting | Returns: - pattern formatting object if defined,null otherwiseImplements org.
|
| public int | getPriority()
Implements org. Only newer style formatting rules have priorities. |
| public boolean | getStopIfTrue()
Implements org. Always true for HSSF files, per Microsoft Excel documentation |
| public int | getStripeSize()
Implements org. Conditional format rules don't define stripes, so always 0 |
| public String | getText()
Implements org. XSSF rules store textual condition values as an attribute and also as a formula that needs shifting. |
| pack-priv String | |
| pack-priv static String |
| CELL_COMPARISON | back to summary |
|---|---|
| private static final byte CELL_COMPARISON | |
| cfRuleRecord | back to summary |
|---|---|
| private final CFRuleBase cfRuleRecord | |
| sheet | back to summary |
|---|---|
| private final HSSFSheet sheet | |
| workbook | back to summary |
|---|---|
| private final HSSFWorkbook workbook | |
| HSSFConditionalFormattingRule | back to summary |
|---|---|
| pack-priv HSSFConditionalFormattingRule(HSSFSheet pSheet, CFRuleBase pRuleRecord) | |
| createBorderFormatting | back to summary |
|---|---|
| public HSSFBorderFormatting createBorderFormatting() Implements org. create a new border formatting structure if it does not exist, otherwise just return existing object.
| |
| createColorScaleFormatting | back to summary |
|---|---|
| public HSSFColorScaleFormatting createColorScaleFormatting() create a new color scale / gradient formatting object if it does not exist, otherwise just return the existing object. | |
| createDataBarFormatting | back to summary |
|---|---|
| public HSSFDataBarFormatting createDataBarFormatting() create a new databar / data-bar formatting object if it does not exist, otherwise just return the existing object. | |
| createFontFormatting | back to summary |
|---|---|
| public HSSFFontFormatting createFontFormatting() Implements org. create a new font formatting structure if it does not exist, otherwise just return existing object.
| |
| createMultiStateFormatting | back to summary |
|---|---|
| public HSSFIconMultiStateFormatting createMultiStateFormatting() create a new icon / multi-state formatting object if it does not exist, otherwise just return the existing object. | |
| createPatternFormatting | back to summary |
|---|---|
| public HSSFPatternFormatting createPatternFormatting() Implements org. create a new pattern formatting structure if it does not exist, otherwise just return existing object.
| |
| getBorderFormatting | back to summary |
|---|---|
| private HSSFBorderFormatting getBorderFormatting(boolean create) | |
| getBorderFormatting | back to summary |
|---|---|
| public HSSFBorderFormatting getBorderFormatting() Implements org.
| |
| getCFRule12Record | back to summary |
|---|---|
| private CFRule12Record getCFRule12Record(boolean create) | |
| getCfRuleRecord | back to summary |
|---|---|
| pack-priv CFRuleBase getCfRuleRecord() | |
| getColorScaleFormatting | back to summary |
|---|---|
| private HSSFColorScaleFormatting getColorScaleFormatting(boolean create) | |
| getColorScaleFormatting | back to summary |
|---|---|
| public HSSFColorScaleFormatting getColorScaleFormatting() Implements org.
| |
| getComparisonOperation | back to summary |
|---|---|
| public byte getComparisonOperation() Implements org. Doc from org. 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() Implements org. always null (not a filter condition) or
| |
| getConditionType | back to summary |
|---|---|
| public ConditionType getConditionType() Implements org. Doc from org. Type of conditional formatting rule.
| |
| getDataBarFormatting | back to summary |
|---|---|
| private HSSFDataBarFormatting getDataBarFormatting(boolean create) | |
| getDataBarFormatting | back to summary |
|---|---|
| public HSSFDataBarFormatting getDataBarFormatting() Implements org.
| |
| getFilterConfiguration | back to summary |
|---|---|
| public ConditionFilterData getFilterConfiguration() Implements org. Doc from org. 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 |
|---|---|
| private HSSFFontFormatting getFontFormatting(boolean create) | |
| getFontFormatting | back to summary |
|---|---|
| public HSSFFontFormatting getFontFormatting() Implements org.
| |
| getFormula1 | back to summary |
|---|---|
| public String getFormula1() Implements org. Doc from org. 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() Implements org. Doc from org. The formula used to evaluate the second operand of the comparison when
comparison type is | |
| getMultiStateFormatting | back to summary |
|---|---|
| private HSSFIconMultiStateFormatting getMultiStateFormatting(boolean create) | |
| getMultiStateFormatting | back to summary |
|---|---|
| public HSSFIconMultiStateFormatting getMultiStateFormatting() Implements org.
| |
| getNumberFormat | back to summary |
|---|---|
| public ExcelNumberFormat getNumberFormat() Implements org. Always null for HSSF records, until someone figures out where to find it
| |
| getPatternFormatting | back to summary |
|---|---|
| private HSSFPatternFormatting getPatternFormatting(boolean create) | |
| getPatternFormatting | back to summary |
|---|---|
| public HSSFPatternFormatting getPatternFormatting() Implements org.
| |
| getPriority | back to summary |
|---|---|
| public int getPriority() Implements org. Only newer style formatting rules have priorities. For older ones, we don't know priority for these, other than definition/model order, which appears to be what Excel uses.
| |
| getStopIfTrue | back to summary |
|---|---|
| public boolean getStopIfTrue() Implements org. Always true for HSSF files, per Microsoft Excel documentation
| |
| getStripeSize | back to summary |
|---|---|
| public int getStripeSize() Implements org. Conditional format rules don't define stripes, so always 0
| |
| getText | back to summary |
|---|---|
| public String getText() Implements org. Doc from org. 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). | |
| toFormulaString | back to summary |
|---|---|
| pack-priv String toFormulaString(Ptg[] parsedExpression) | |
| toFormulaString | back to summary |
|---|---|
| pack-priv static String toFormulaString(Ptg[] parsedExpression, HSSFWorkbook workbook) | |