This is for newer-style Excel conditional formattings, from Excel 2007 onwards.
CFRuleRecord is used where the condition type is
CONDITION_TYPE_CELL_VALUE_IS or CONDITION_TYPE_FORMULA,
this is only used for the other types
| Modifier and Type | Field and Description |
|---|---|
| private ColorGradientFormatting | |
| private DataBarFormatting | |
| private byte[] | |
| private int | |
| private byte | |
| private byte[] | |
| private Formula | |
| private FtrHeader | |
| private IconMultiStateFormatting | |
| private int | |
| public static final short | |
| private byte | |
| private byte[] | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| private | |
| private | CFRule12Record(byte conditionType, byte comparisonOperation, Ptg[] formula1, Ptg[] formula2, Ptg[] formulaScale)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | |
| public boolean | |
| public CFRule12Record | copy()
Implements abstract org. Implements org.
|
| public static CFRule12Record | |
| public static CFRule12Record | |
| public static CFRule12Record | Returns: a new comparison operation rulethe sheet sheet, byte the comparison operation comparisonOperation, String the first formula text formulaText1, String the second formula text formulaText2, String the scale to apply for the comparison formulaTextScale)Creates a new comparison operation rule |
| public static CFRule12Record | Returns: a new Data Bar formattingthe sheet sheet, ExtendedColor the data bar color color)Creates a new Data Bar formatting |
| public static CFRule12Record | Returns: a new Icon Set / Multi-State formattingthe sheet sheet, IconMultiStateFormatting.the icon set iconSetCreates a new Icon Set / Multi-State formatting |
| public ColorGradientFormatting | |
| public static CFRule12Record | Returns: a new Color Scale / Color Gradient formattingthe sheet sheet)Creates a new Color Scale / Color Gradient formatting |
| public DataBarFormatting | |
| public IconMultiStateFormatting | |
| public CellRangeAddress | |
| public ColorGradientFormatting | |
| public DataBarFormatting | |
| protected int | |
| public FtrHeader | |
| public short | |
| public Map | |
| public HSSFRecordTypes | getGenericRecordType()
Overrides default org. Implements abstract org.
|
| public IconMultiStateFormatting | |
| public Ptg[] | Returns: list of tokens (casts stack to a list and returns it!) this method can return null is we are unable to create Ptgs from existing excel file callers should check for null!get the stack of the scale expression as a list |
| public int | |
| public short | getSid()
Implements abstract org. return the non static version of the id for this record. |
| public void | serialize(LittleEndianOutput
the stream to write to out)Implements abstract org. called by the class that is responsible for writing this sucker. |
| private void | |
| public void | |
| public void |
| color_gradient | back to summary |
|---|---|
| private ColorGradientFormatting color_gradient | |
| data_bar | back to summary |
|---|---|
| private DataBarFormatting data_bar | |
| ext_formatting_data | back to summary |
|---|---|
| private byte[] ext_formatting_data | |
| ext_formatting_length | back to summary |
|---|---|
| private int ext_formatting_length | |
| ext_opts | back to summary |
|---|---|
| private byte ext_opts | |
| filter_data | back to summary |
|---|---|
| private byte[] filter_data | |
| formula_scale | back to summary |
|---|---|
| private Formula formula_scale | |
| futureHeader | back to summary |
|---|---|
| private FtrHeader futureHeader | |
| multistate | back to summary |
|---|---|
| private IconMultiStateFormatting multistate | |
| priority | back to summary |
|---|---|
| private int priority | |
| sid | back to summary |
|---|---|
| public static final short sid | |
| template_param_length | back to summary |
|---|---|
| private byte template_param_length | |
| template_params | back to summary |
|---|---|
| private byte[] template_params | |
| template_type | back to summary |
|---|---|
| private int template_type | |
| CFRule12Record | back to summary |
|---|---|
| public CFRule12Record(CFRule12Record other) | |
| CFRule12Record | back to summary |
|---|---|
| private CFRule12Record(byte conditionType, byte comparisonOperation) | |
| CFRule12Record | back to summary |
|---|---|
| private CFRule12Record(byte conditionType, byte comparisonOperation, Ptg[] formula1, Ptg[] formula2, Ptg[] formulaScale) | |
| CFRule12Record | back to summary |
|---|---|
| public CFRule12Record(RecordInputStream in) | |
| containsColorGradientBlock | back to summary |
|---|---|
| public boolean containsColorGradientBlock() | |
| containsDataBarBlock | back to summary |
|---|---|
| public boolean containsDataBarBlock() | |
| containsMultiStateBlock | back to summary |
|---|---|
| public boolean containsMultiStateBlock() | |
| copy | back to summary |
|---|---|
| public CFRule12Record copy() Implements abstract org. Implements org.
| |
| create | back to summary |
|---|---|
| public static CFRule12Record create(HSSFSheet sheet, String formulaText) Creates a new comparison operation rule
| |
| create | back to summary |
|---|---|
| public static CFRule12Record create(HSSFSheet sheet, byte comparisonOperation, String formulaText1, String formulaText2) Creates a new comparison operation rule
| |
| create | back to summary |
|---|---|
| public static CFRule12Record create(HSSFSheet sheet, byte comparisonOperation, String formulaText1, String formulaText2, String formulaTextScale) Creates a new comparison operation rule
| |
| create | back to summary |
|---|---|
| public static CFRule12Record create(HSSFSheet sheet, ExtendedColor color) Creates a new Data Bar formatting
| |
| create | back to summary |
|---|---|
| public static CFRule12Record create(HSSFSheet sheet, IconMultiStateFormatting. Creates a new Icon Set / Multi-State formatting
| |
| createColorGradientFormatting | back to summary |
|---|---|
| public ColorGradientFormatting createColorGradientFormatting() | |
| createColorScale | back to summary |
|---|---|
| public static CFRule12Record createColorScale(HSSFSheet sheet) Creates a new Color Scale / Color Gradient formatting
| |
| createDataBarFormatting | back to summary |
|---|---|
| public DataBarFormatting createDataBarFormatting() | |
| createMultiStateFormatting | back to summary |
|---|---|
| public IconMultiStateFormatting createMultiStateFormatting() | |
| getAssociatedRange | back to summary |
|---|---|
| public CellRangeAddress getAssociatedRange() Implements org. | |
| getColorGradientFormatting | back to summary |
|---|---|
| public ColorGradientFormatting getColorGradientFormatting() | |
| getDataBarFormatting | back to summary |
|---|---|
| public DataBarFormatting getDataBarFormatting() | |
| getDataSize | back to summary |
|---|---|
| protected int getDataSize() Implements abstract org. | |
| getFutureHeader | back to summary |
|---|---|
| public FtrHeader getFutureHeader() Implements org. | |
| getFutureRecordType | back to summary |
|---|---|
| public short getFutureRecordType() Implements org. | |
| getGenericProperties | back to summary |
|---|---|
| public Map Overrides org. Implements org.
| |
| getGenericRecordType | back to summary |
|---|---|
| public HSSFRecordTypes getGenericRecordType() Overrides default org. Implements abstract org.
| |
| getMultiStateFormatting | back to summary |
|---|---|
| public IconMultiStateFormatting getMultiStateFormatting() | |
| getParsedExpressionScale | back to summary |
|---|---|
| public Ptg[] getParsedExpressionScale() get the stack of the scale expression as a list
| |
| getPriority | back to summary |
|---|---|
| public int getPriority() | |
| getSid | back to summary |
|---|---|
| public short getSid() Implements abstract org. Doc from org. return the non static version of the id for this record.
| |
| serialize | back to summary |
|---|---|
| public void serialize(LittleEndianOutput out) Implements abstract org. called by the class that is responsible for writing this sucker. Subclasses should implement this so that their data is passed back in a byte array.
| |
| setDefaults | back to summary |
|---|---|
| private void setDefaults() | |
| setParsedExpressionScale | back to summary |
|---|---|
| public void setParsedExpressionScale(Ptg[] ptgs) | |
| setPriority | back to summary |
|---|---|
| public void setPriority(int priority) | |