|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hwpf.model.types.FIBAbstractType org.apache.poi.hwpf.model.FileInformationBlock
public final class FileInformationBlock
The File Information Block (FIB). Holds pointers
to various bits of the file, and lots of flags which
specify properties of the document.
The parent class, FIBAbstractType
, holds the
first 32 bytes, which make up the FibBase.
The next part, the fibRgW / FibRgW97, is handled
by FIBShortHandler
.
The next part, the fibRgLw / The FibRgLw97, is
handled by the FIBLongHandler
.
Finally, the rest of the fields are handled by
the FIBFieldHandler
.
Field Summary |
---|
Fields inherited from class org.apache.poi.hwpf.model.types.FIBAbstractType |
---|
field_1_wIdent, field_10_history, field_11_chs, field_12_chsTables, field_13_fcMin, field_14_fcMac, field_2_nFib, field_3_nProduct, field_4_lid, field_5_pnNext, field_6_options, field_7_nFibBack, field_8_lKey, field_9_envr |
Constructor Summary | |
---|---|
FileInformationBlock(byte[] mainDocument)
Creates a new instance of FileInformationBlock |
Method Summary | |
---|---|
void |
clearOffsetsSizes()
|
void |
fillVariableFields(byte[] mainDocument,
byte[] tableStream)
|
int |
getCbMac()
How many bytes of the main stream contain real data. |
int |
getCcpAtn()
The count of CPs in the comments (atn) subdocument |
int |
getCcpCommentAtn()
|
int |
getCcpEdn()
The count of CPs in the end note subdocument |
int |
getCcpFtn()
The count of CPs in the footnote subdocument |
int |
getCcpHdd()
The count of CPs in the header story subdocument |
int |
getCcpHdrTxtBx()
The count of CPs in the header textboxes |
int |
getCcpText()
The count of CPs in the main document |
int |
getCcpTxtBx()
The count of CPs in the main document textboxes |
int |
getFcClx()
|
int |
getFcDggInfo()
|
int |
getFcDop()
|
int |
getFcPlcfbteChpx()
|
int |
getFcPlcfbtePapx()
|
int |
getFcPlcffldMom()
|
int |
getFcPlcfLst()
|
int |
getFcPlcfsed()
|
int |
getFcPlcspaMom()
|
int |
getFcPlfLfo()
|
int |
getFcStshf()
|
int |
getFcSttbfffn()
|
int |
getFcSttbfRMark()
|
int |
getFcSttbSavedBy()
|
int |
getLcbClx()
|
int |
getLcbDggInfo()
|
int |
getLcbDop()
|
int |
getLcbPlcfbteChpx()
|
int |
getLcbPlcfbtePapx()
|
int |
getLcbPlcffldMom()
|
int |
getLcbPlcfLst()
|
int |
getLcbPlcfsed()
|
int |
getLcbPlcspaMom()
|
int |
getLcbPlfLfo()
|
int |
getLcbStshf()
|
int |
getLcbSttbfffn()
|
int |
getLcbSttbfRMark()
|
int |
getLcbSttbSavedBy()
|
int |
getModifiedHigh()
|
int |
getModifiedLow()
|
int |
getPlcfHddOffset()
Return the offset to the PlcfHdd, in the table stream, i.e. |
int |
getPlcfHddSize()
Return the size of the PlcfHdd, in the table stream, i.e. |
int |
getSize()
Size of record (exluding 4 byte header) |
void |
setCbMac(int cbMac)
Updates the count of the number of bytes in the main stream which contain real data |
void |
setCcpAtn(int ccpAtn)
Updates the count of CPs in the comments (atn) story subdocument |
void |
setCcpEdn(int ccpEdn)
Updates the count of CPs in the end note subdocument |
void |
setCcpFtn(int ccpFtn)
Updates the count of CPs in the footnote subdocument |
void |
setCcpHdd(int ccpHdd)
Updates the count of CPs in the header story subdocument |
void |
setCcpHdrTxtBx(int ccpTxtBx)
Updates the count of CPs in the header textboxes |
void |
setCcpText(int ccpText)
Updates the count of CPs in the main document |
void |
setCcpTxtBx(int ccpTxtBx)
Updates the count of CPs in the main document textboxes |
void |
setFcClx(int fcClx)
|
void |
setFcDop(int fcDop)
|
void |
setFcPlcfbteChpx(int fcPlcfBteChpx)
|
void |
setFcPlcfbtePapx(int fcPlcfBtePapx)
|
void |
setFcPlcfLst(int fcPlcfLst)
|
void |
setFcPlcfsed(int fcPlcfSed)
|
void |
setFcPlfLfo(int fcPlfLfo)
|
void |
setFcStshf(int fcStshf)
|
void |
setFcSttbfffn(int fcSttbFffn)
|
void |
setFcSttbfRMark(int fcSttbfRMark)
|
void |
setFcSttbSavedBy(int fcSttbSavedBy)
|
void |
setLcbClx(int lcbClx)
|
void |
setLcbDop(int lcbDop)
|
void |
setLcbPlcfbteChpx(int lcbPlcfBteChpx)
|
void |
setLcbPlcfbtePapx(int lcbPlcfBtePapx)
|
void |
setLcbPlcfLst(int lcbPlcfLst)
|
void |
setLcbPlcfsed(int lcbPlcfSed)
|
void |
setLcbPlfLfo(int lcbPlfLfo)
|
void |
setLcbStshf(int lcbStshf)
|
void |
setLcbSttbfffn(int lcbSttbFffn)
|
void |
setLcbSttbfRMark(int lcbSttbfRMark)
|
void |
setLcbSttbSavedBy(int fcSttbSavedBy)
|
void |
setModifiedHigh(int modifiedHigh)
|
void |
setModifiedLow(int modifiedLow)
|
void |
setPlcfHddOffset(int fcPlcfHdd)
|
void |
setPlcfHddSize(int lcbPlcfHdd)
|
void |
writeTo(byte[] mainStream,
HWPFOutputStream tableStream)
|
Methods inherited from class org.apache.poi.hwpf.model.types.FIBAbstractType |
---|
fillFields, getChs, getChsTables, getCQuickSaves, getEnvr, getFcMac, getFcMin, getFSpare0, getHistory, getLid, getLKey, getNFib, getNFibBack, getNProduct, getOptions, getPnNext, getWIdent, isFComplex, isFCrypto, isFDot, isFEmptySpecial, isFEncrypted, isFExtChar, isFFarEast, isFFutureSavedUndo, isFGlsy, isFHasPic, isFLoadOverride, isFLoadOverridePage, isFMac, isFReadOnlyRecommended, isFWhichTblStm, isFWord97Saved, isFWriteReservation, serialize, setChs, setChsTables, setCQuickSaves, setEnvr, setFcMac, setFcMin, setFComplex, setFCrypto, setFDot, setFEmptySpecial, setFEncrypted, setFExtChar, setFFarEast, setFFutureSavedUndo, setFGlsy, setFHasPic, setFLoadOverride, setFLoadOverridePage, setFMac, setFReadOnlyRecommended, setFSpare0, setFWhichTblStm, setFWord97Saved, setFWriteReservation, setHistory, setLid, setLKey, setNFib, setNFibBack, setNProduct, setOptions, setPnNext, setWIdent, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FileInformationBlock(byte[] mainDocument)
Method Detail |
---|
public void fillVariableFields(byte[] mainDocument, byte[] tableStream)
public int getFcDop()
public void setFcDop(int fcDop)
public int getLcbDop()
public void setLcbDop(int lcbDop)
public int getFcStshf()
public int getLcbStshf()
public void setFcStshf(int fcStshf)
public void setLcbStshf(int lcbStshf)
public int getFcClx()
public int getLcbClx()
public void setFcClx(int fcClx)
public void setLcbClx(int lcbClx)
public int getFcPlcfbteChpx()
public int getLcbPlcfbteChpx()
public void setFcPlcfbteChpx(int fcPlcfBteChpx)
public void setLcbPlcfbteChpx(int lcbPlcfBteChpx)
public int getFcPlcfbtePapx()
public int getLcbPlcfbtePapx()
public void setFcPlcfbtePapx(int fcPlcfBtePapx)
public void setLcbPlcfbtePapx(int lcbPlcfBtePapx)
public int getFcPlcfsed()
public int getLcbPlcfsed()
public void setFcPlcfsed(int fcPlcfSed)
public void setLcbPlcfsed(int lcbPlcfSed)
public int getFcPlcfLst()
public int getLcbPlcfLst()
public void setFcPlcfLst(int fcPlcfLst)
public void setLcbPlcfLst(int lcbPlcfLst)
public int getFcPlfLfo()
public int getLcbPlfLfo()
public void setFcPlfLfo(int fcPlfLfo)
public void setLcbPlfLfo(int lcbPlfLfo)
public int getFcSttbfffn()
public int getLcbSttbfffn()
public void setFcSttbfffn(int fcSttbFffn)
public void setLcbSttbfffn(int lcbSttbFffn)
public int getFcSttbfRMark()
public int getLcbSttbfRMark()
public void setFcSttbfRMark(int fcSttbfRMark)
public void setLcbSttbfRMark(int lcbSttbfRMark)
public int getPlcfHddOffset()
public int getPlcfHddSize()
public void setPlcfHddOffset(int fcPlcfHdd)
public void setPlcfHddSize(int lcbPlcfHdd)
public int getFcSttbSavedBy()
public int getLcbSttbSavedBy()
public void setFcSttbSavedBy(int fcSttbSavedBy)
public void setLcbSttbSavedBy(int fcSttbSavedBy)
public int getModifiedLow()
public int getModifiedHigh()
public void setModifiedLow(int modifiedLow)
public void setModifiedHigh(int modifiedHigh)
public int getCbMac()
public void setCbMac(int cbMac)
public int getCcpText()
public void setCcpText(int ccpText)
public int getCcpFtn()
public void setCcpFtn(int ccpFtn)
public int getCcpHdd()
public void setCcpHdd(int ccpHdd)
public int getCcpAtn()
public int getCcpCommentAtn()
public void setCcpAtn(int ccpAtn)
public int getCcpEdn()
public void setCcpEdn(int ccpEdn)
public int getCcpTxtBx()
public void setCcpTxtBx(int ccpTxtBx)
public int getCcpHdrTxtBx()
public void setCcpHdrTxtBx(int ccpTxtBx)
public void clearOffsetsSizes()
public int getFcPlcffldMom()
public int getLcbPlcffldMom()
public int getFcPlcspaMom()
public int getLcbPlcspaMom()
public int getFcDggInfo()
public int getLcbDggInfo()
public void writeTo(byte[] mainStream, HWPFOutputStream tableStream) throws java.io.IOException
java.io.IOException
public int getSize()
FIBAbstractType
getSize
in class FIBAbstractType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |