|
||||||||||
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.FibBaseAbstractType
@Internal public abstract class FibBaseAbstractType
Base part of the File information Block (FibBase). Holds the core part of the FIB, from the first 32 bytes.
Class and fields descriptions are quoted from Microsoft Office Word 97-2007 Binary File Format and [MS-DOC] - v20110608 Word (.doc) Binary File Format
NOTE: This source is automatically generated please do not modify this file. Either subclass or remove the record in src/types/definitions.
This class is internal. It content or properties may change without notice due to changes in our knowledge of internal Microsoft Word binary structures.
Field Summary | |
---|---|
protected int |
field_1_wIdent
|
protected byte |
field_10_flags2
|
protected short |
field_11_Chs
Deprecated. |
protected short |
field_12_chsTables
Deprecated. |
protected int |
field_13_fcMin
Deprecated. |
protected int |
field_14_fcMac
Deprecated. |
protected int |
field_2_nFib
|
protected int |
field_3_unused
|
protected int |
field_4_lid
|
protected int |
field_5_pnNext
|
protected short |
field_6_flags1
|
protected int |
field_7_nFibBack
|
protected int |
field_8_lKey
|
protected byte |
field_9_envr
Deprecated. |
Constructor Summary | |
---|---|
protected |
FibBaseAbstractType()
|
Method Summary | |
---|---|
protected void |
fillFields(byte[] data,
int offset)
|
short |
getChs()
This value MUST be 0 and MUST be ignored. |
short |
getChsTables()
This value MUST be 0 and MUST be ignored. |
byte |
getCQuickSaves()
An unsigned integer. |
byte |
getEnvr()
This value MUST be 0, and MUST be ignored. |
int |
getFcMac()
This value is undefined and MUST be ignored. |
int |
getFcMin()
This value is undefined and MUST be ignored. |
short |
getFlags1()
Get the flags1 field for the FibBase record. |
byte |
getFlags2()
Get the flags2 field for the FibBase record. |
byte |
getFSpare0()
Deprecated. This field should not be used according to specification |
int |
getLid()
A LID that specifies the install language of the application that is producing the document. |
int |
getLKey()
If fEncryption is 1 and fObfuscation is 1, this value specifies the XOR obfuscation password verifier. |
int |
getNFib()
An unsigned integer that specifies the version number of the file format used. |
int |
getNFibBack()
This value SHOULD be 0x00BF. |
int |
getPnNext()
An unsigned integer that specifies the offset in the WordDocument stream of the FIB for the document which contains all the AutoText items. |
static int |
getSize()
Size of record |
int |
getUnused()
This value is undefined and MUST be ignored. |
int |
getWIdent()
An unsigned integer that specifies that this is a Word Binary File. |
boolean |
isFComplex()
Specifies that the last save operation that was performed on this document was an incremental save operation |
boolean |
isFDot()
Specifies whether this is a document template |
boolean |
isFEmptySpecial()
Deprecated. This field should not be used according to specification |
boolean |
isFEncrypted()
Specifies whether the document is encrypted or obfuscated as specified in Encryption and Obfuscation |
boolean |
isFExtChar()
This value MUST be 1 |
boolean |
isFFarEast()
Specifies whether the installation language of the application that created the document was an East Asian language |
boolean |
isFGlsy()
Specifies whether this is a document that contains only AutoText items |
boolean |
isFHasPic()
When set to 0, there SHOULD be no pictures in the document |
boolean |
isFLoadOverride()
Specifies whether to override the language information and font that are specified in the paragraph style at istd 0 (the normal style) with the defaults that are appropriate for the installation language of the application |
boolean |
isFLoadOverridePage()
Specifies whether to override the section properties for page size, orientation, and margins with the defaults that are appropriate for the installation language of the application |
boolean |
isFMac()
Deprecated. This field should not be used according to specification |
boolean |
isFObfuscated()
If fEncrypted is 1, this bit specifies whether the document is obfuscated by using XOR obfuscation; otherwise, this bit MUST be ignored |
boolean |
isFReadOnlyRecommended()
Specifies whether the document author recommended that the document be opened in read-only mode |
boolean |
isFWhichTblStm()
Specifies the Table stream to which the FIB refers. |
boolean |
isFWriteReservation()
Specifies whether the document has a write-reservation password |
boolean |
isReserved1()
Deprecated. This field should not be used according to specification |
boolean |
isReserved2()
Deprecated. This field should not be used according to specification |
byte[] |
serialize()
|
void |
serialize(byte[] data,
int offset)
|
void |
setChs(short field_11_Chs)
This value MUST be 0 and MUST be ignored. |
void |
setChsTables(short field_12_chsTables)
This value MUST be 0 and MUST be ignored. |
void |
setCQuickSaves(byte value)
Sets the cQuickSaves field value. |
void |
setEnvr(byte field_9_envr)
This value MUST be 0, and MUST be ignored. |
void |
setFcMac(int field_14_fcMac)
This value is undefined and MUST be ignored. |
void |
setFcMin(int field_13_fcMin)
This value is undefined and MUST be ignored. |
void |
setFComplex(boolean value)
Sets the fComplex field value. |
void |
setFDot(boolean value)
Sets the fDot field value. |
void |
setFEmptySpecial(boolean value)
Sets the fEmptySpecial field value. |
void |
setFEncrypted(boolean value)
Sets the fEncrypted field value. |
void |
setFExtChar(boolean value)
Sets the fExtChar field value. |
void |
setFFarEast(boolean value)
Sets the fFarEast field value. |
void |
setFGlsy(boolean value)
Sets the fGlsy field value. |
void |
setFHasPic(boolean value)
Sets the fHasPic field value. |
void |
setFlags1(short field_6_flags1)
Set the flags1 field for the FibBase record. |
void |
setFlags2(byte field_10_flags2)
Set the flags2 field for the FibBase record. |
void |
setFLoadOverride(boolean value)
Sets the fLoadOverride field value. |
void |
setFLoadOverridePage(boolean value)
Sets the fLoadOverridePage field value. |
void |
setFMac(boolean value)
Sets the fMac field value. |
void |
setFObfuscated(boolean value)
Sets the fObfuscated field value. |
void |
setFReadOnlyRecommended(boolean value)
Sets the fReadOnlyRecommended field value. |
void |
setFSpare0(byte value)
Sets the fSpare0 field value. |
void |
setFWhichTblStm(boolean value)
Sets the fWhichTblStm field value. |
void |
setFWriteReservation(boolean value)
Sets the fWriteReservation field value. |
void |
setLid(int field_4_lid)
A LID that specifies the install language of the application that is producing the document. |
void |
setLKey(int field_8_lKey)
If fEncryption is 1 and fObfuscation is 1, this value specifies the XOR obfuscation password verifier. |
void |
setNFib(int field_2_nFib)
An unsigned integer that specifies the version number of the file format used. |
void |
setNFibBack(int field_7_nFibBack)
This value SHOULD be 0x00BF. |
void |
setPnNext(int field_5_pnNext)
An unsigned integer that specifies the offset in the WordDocument stream of the FIB for the document which contains all the AutoText items. |
void |
setReserved1(boolean value)
Sets the reserved1 field value. |
void |
setReserved2(boolean value)
Sets the reserved2 field value. |
void |
setUnused(int field_3_unused)
This value is undefined and MUST be ignored. |
void |
setWIdent(int field_1_wIdent)
An unsigned integer that specifies that this is a Word Binary File. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int field_1_wIdent
protected int field_2_nFib
protected int field_3_unused
protected int field_4_lid
protected int field_5_pnNext
protected short field_6_flags1
protected int field_7_nFibBack
protected int field_8_lKey
@Deprecated protected byte field_9_envr
protected byte field_10_flags2
@Deprecated protected short field_11_Chs
@Deprecated protected short field_12_chsTables
@Deprecated protected int field_13_fcMin
@Deprecated protected int field_14_fcMac
Constructor Detail |
---|
protected FibBaseAbstractType()
Method Detail |
---|
protected void fillFields(byte[] data, int offset)
public void serialize(byte[] data, int offset)
public byte[] serialize()
public static int getSize()
public java.lang.String toString()
toString
in class java.lang.Object
@Internal public int getWIdent()
@Internal public void setWIdent(int field_1_wIdent)
@Internal public int getNFib()
@Internal public void setNFib(int field_2_nFib)
@Internal public int getUnused()
@Internal public void setUnused(int field_3_unused)
@Internal public int getLid()
@Internal public void setLid(int field_4_lid)
@Internal public int getPnNext()
@Internal public void setPnNext(int field_5_pnNext)
@Internal public short getFlags1()
@Internal public void setFlags1(short field_6_flags1)
@Internal public int getNFibBack()
@Internal public void setNFibBack(int field_7_nFibBack)
@Internal public int getLKey()
@Internal public void setLKey(int field_8_lKey)
@Internal public byte getEnvr()
@Internal public void setEnvr(byte field_9_envr)
@Internal public byte getFlags2()
@Internal public void setFlags2(byte field_10_flags2)
@Internal public short getChs()
@Internal public void setChs(short field_11_Chs)
@Internal public short getChsTables()
@Internal public void setChsTables(short field_12_chsTables)
@Internal public int getFcMin()
@Internal public void setFcMin(int field_13_fcMin)
@Internal public int getFcMac()
@Internal public void setFcMac(int field_14_fcMac)
@Internal public void setFDot(boolean value)
@Internal public boolean isFDot()
@Internal public void setFGlsy(boolean value)
@Internal public boolean isFGlsy()
@Internal public void setFComplex(boolean value)
@Internal public boolean isFComplex()
@Internal public void setFHasPic(boolean value)
@Internal public boolean isFHasPic()
@Internal public void setCQuickSaves(byte value)
@Internal public byte getCQuickSaves()
@Internal public void setFEncrypted(boolean value)
@Internal public boolean isFEncrypted()
@Internal public void setFWhichTblStm(boolean value)
@Internal public boolean isFWhichTblStm()
@Internal public void setFReadOnlyRecommended(boolean value)
@Internal public boolean isFReadOnlyRecommended()
@Internal public void setFWriteReservation(boolean value)
@Internal public boolean isFWriteReservation()
@Internal public void setFExtChar(boolean value)
@Internal public boolean isFExtChar()
@Internal public void setFLoadOverride(boolean value)
@Internal public boolean isFLoadOverride()
@Internal public void setFFarEast(boolean value)
@Internal public boolean isFFarEast()
@Internal public void setFObfuscated(boolean value)
@Internal public boolean isFObfuscated()
@Internal public void setFMac(boolean value)
@Internal @Deprecated public boolean isFMac()
@Internal public void setFEmptySpecial(boolean value)
@Internal @Deprecated public boolean isFEmptySpecial()
@Internal public void setFLoadOverridePage(boolean value)
@Internal public boolean isFLoadOverridePage()
@Internal public void setReserved1(boolean value)
@Internal @Deprecated public boolean isReserved1()
@Internal public void setReserved2(boolean value)
@Internal @Deprecated public boolean isReserved2()
@Internal public void setFSpare0(byte value)
@Internal @Deprecated public byte getFSpare0()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |