public abstract class CFHeaderBase extends StandardRecord
CFHeaderRecord
and
CFHeader12Record
.
(条件格式标题记录的父级,CFHeaderRecord 和 CFHeader12Record。)
Modifier | Constructor and Description |
---|---|
protected |
CFHeaderBase() |
protected |
CFHeaderBase(CellRangeAddress[] regions, int nRules) |
protected |
CFHeaderBase(CFHeaderBase other) |
Modifier and Type | Method and Description |
---|---|
abstract CFHeaderBase |
copy() |
protected void |
createEmpty() |
CellRangeAddress[] |
getCellRanges() |
protected int |
getDataSize() |
CellRangeAddress |
getEnclosingCellRange() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
int |
getID() |
boolean |
getNeedRecalculation() |
int |
getNumberOfConditionalFormats() |
protected abstract java.lang.String |
getRecordName() |
protected void |
read(RecordInputStream in) |
void |
serialize(LittleEndianOutput out)
Write the data content of this BIFF record.
(写入此 BIFF 记录的数据内容。)
|
void |
setCellRanges(CellRangeAddress[] cellRanges)
Set cell ranges list to a single cell range and modify the enclosing cell range accordingly.
(将单元格范围列表设置为单个单元格范围并相应地修改封闭的单元格范围。)
|
void |
setEnclosingCellRange(CellRangeAddress cr) |
void |
setID(int id) |
void |
setNeedRecalculation(boolean b) |
void |
setNumberOfConditionalFormats(int n) |
getRecordSize, serialize
cloneViaReserialise, getGenericRecordType, getSid, serialize, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGenericChildren
protected CFHeaderBase()
protected CFHeaderBase(CFHeaderBase other)
protected CFHeaderBase(CellRangeAddress[] regions, int nRules)
protected void createEmpty()
protected void read(RecordInputStream in)
public int getNumberOfConditionalFormats()
public void setNumberOfConditionalFormats(int n)
public boolean getNeedRecalculation()
public void setNeedRecalculation(boolean b)
public int getID()
public void setID(int id)
public CellRangeAddress getEnclosingCellRange()
public void setEnclosingCellRange(CellRangeAddress cr)
public void setCellRanges(CellRangeAddress[] cellRanges)
cellRanges
- - list of CellRange objects
(cellRanges - - CellRange 对象列表)
public CellRangeAddress[] getCellRanges()
protected abstract java.lang.String getRecordName()
protected int getDataSize()
getDataSize
in class
StandardRecord
(类 StandardRecord 中的 getDataSize)
public void serialize(LittleEndianOutput out)
StandardRecord
The number of bytes written must equal the record size reported by RecordBase.getRecordSize()
} minus four ( record header consisting of a 'ushort sid' and 'ushort reclength' has already been written by their superclass).
serialize
in class
StandardRecord
(在 StandardRecord 类中序列化)
out
- the output object
(out - 输出对象)
public abstract CFHeaderBase copy()
copy
in interface
Duplicatable
(复制到界面 Duplicatable)
copy
in class
StandardRecord
(在 StandardRecord 类中复制)
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.