|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hssf.record.RecordBase org.apache.poi.hssf.record.Record org.apache.poi.hssf.record.StandardRecord org.apache.poi.hssf.record.CFHeaderBase
public abstract class CFHeaderBase
Parent of Conditional Formatting Header records,
CFHeaderRecord
and CFHeader12Record
.
Constructor Summary | |
---|---|
protected |
CFHeaderBase()
Creates new CFHeaderBase |
protected |
CFHeaderBase(CellRangeAddress[] regions,
int nRules)
|
Method Summary | |
---|---|
abstract CFHeaderBase |
clone()
|
protected void |
copyTo(CFHeaderBase result)
|
protected void |
createEmpty()
|
CellRangeAddress[] |
getCellRanges()
|
protected int |
getDataSize()
|
CellRangeAddress |
getEnclosingCellRange()
|
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. |
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)
|
java.lang.String |
toString()
get a string representation of the record (for biffview/debugging) |
Methods inherited from class org.apache.poi.hssf.record.StandardRecord |
---|
getRecordSize, serialize |
Methods inherited from class org.apache.poi.hssf.record.Record |
---|
cloneViaReserialise, getSid, serialize |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected CFHeaderBase()
protected CFHeaderBase(CellRangeAddress[] regions, int nRules)
Method Detail |
---|
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 objectspublic CellRangeAddress[] getCellRanges()
protected abstract java.lang.String getRecordName()
public java.lang.String toString()
Record
toString
in class Record
protected int getDataSize()
getDataSize
in class StandardRecord
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
out
- the output objectprotected void copyTo(CFHeaderBase result)
public abstract CFHeaderBase clone()
clone
in class Record
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |