public final class CFRuleRecord extends StandardRecord
Modifier and Type | Class and Description |
---|---|
static class |
CFRuleRecord.ComparisonOperator |
Modifier and Type | Field and Description |
---|---|
static byte |
CONDITION_TYPE_CELL_VALUE_IS |
static byte |
CONDITION_TYPE_FORMULA |
static short |
sid |
Constructor and Description |
---|
CFRuleRecord(RecordInputStream in) |
getRecordSize, serialize
cloneViaReserialise, serialize
public static final short sid
public static final byte CONDITION_TYPE_CELL_VALUE_IS
public static final byte CONDITION_TYPE_FORMULA
public CFRuleRecord(RecordInputStream in)
public static CFRuleRecord create(HSSFSheet sheet, String formulaText)
public static CFRuleRecord create(HSSFSheet sheet, byte comparisonOperation, String formulaText1, String formulaText2)
public byte getConditionType()
public boolean containsFontFormattingBlock()
public void setFontFormatting(FontFormatting fontFormatting)
public FontFormatting getFontFormatting()
public boolean containsAlignFormattingBlock()
public void setAlignFormattingUnchanged()
public boolean containsBorderFormattingBlock()
public void setBorderFormatting(BorderFormatting borderFormatting)
public BorderFormatting getBorderFormatting()
public boolean containsPatternFormattingBlock()
public void setPatternFormatting(PatternFormatting patternFormatting)
public PatternFormatting getPatternFormatting()
public boolean containsProtectionFormattingBlock()
public void setProtectionFormattingUnchanged()
public void setComparisonOperation(byte operation)
public byte getComparisonOperation()
public int getOptions()
public boolean isLeftBorderModified()
public void setLeftBorderModified(boolean modified)
public boolean isRightBorderModified()
public void setRightBorderModified(boolean modified)
public boolean isTopBorderModified()
public void setTopBorderModified(boolean modified)
public boolean isBottomBorderModified()
public void setBottomBorderModified(boolean modified)
public boolean isTopLeftBottomRightBorderModified()
public void setTopLeftBottomRightBorderModified(boolean modified)
public boolean isBottomLeftTopRightBorderModified()
public void setBottomLeftTopRightBorderModified(boolean modified)
public boolean isPatternStyleModified()
public void setPatternStyleModified(boolean modified)
public boolean isPatternColorModified()
public void setPatternColorModified(boolean modified)
public boolean isPatternBackgroundColorModified()
public void setPatternBackgroundColorModified(boolean modified)
public Ptg[] getParsedExpression1()
public void setParsedExpression1(Ptg[] ptgs)
public Ptg[] getParsedExpression2()
Ptg
s, possibly null
public void setParsedExpression2(Ptg[] ptgs)
public short getSid()
Record
public void serialize(LittleEndianOutput out)
serialize
in class StandardRecord
out
- the stream to write toprotected int getDataSize()
getDataSize
in class StandardRecord
public String toString()
Record
Copyright © 2020. All rights reserved.