@Internal public abstract class FibBaseAbstractType extends java.lang.Object
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.
(文件信息块(FibBase)的基础部分。保存 FIB 的核心部分,从前 32 个字节开始。类和字段描述引用自 Microsoft Office Word 97-2007 二进制文件格式和 [MS-DOC] - v20110608 Word (.doc) 二进制文件格式 注意:此源是自动生成的,请勿修改此文件。子类化或删除 src/types/definitions 中的记录。这个类是内部的。由于我们对内部 Microsoft Word 二进制结构的了解发生变化,其内容或属性可能会发生变化,恕不另行通知。)Modifier and Type | Field and Description |
---|---|
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.
(已弃用。)
|
Modifier | Constructor and Description |
---|---|
protected |
FibBaseAbstractType() |
Modifier and Type | Method and Description |
---|---|
protected void |
fillFields(byte[] data, int offset) |
short |
getChs()
This value MUST be 0 and MUST be ignored.
(该值必须为 0 并且必须被忽略。)
|
short |
getChsTables()
This value MUST be 0 and MUST be ignored.
(该值必须为 0 并且必须被忽略。)
|
byte |
getCQuickSaves()
An unsigned integer.
(一个无符号整数。)
|
byte |
getEnvr()
This value MUST be 0, and MUST be ignored.
(该值必须为 0,并且必须被忽略。)
|
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.
(获取 FibBase 记录的 flags1 字段。)
|
byte |
getFlags2()
Get the flags2 field for the FibBase record.
(获取 FibBase 记录的 flags2 字段。)
|
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.
(一个 LID,指定生成文档的应用程序的安装语言。)
|
int |
getLKey()
If fEncryption is 1 and fObfuscation is 1, this value specifies the XOR obfuscation password verifier.
(如果 fEncryption 为 1 且 fObfuscation 为 1,则此值指定 XOR 混淆密码验证器。)
|
int |
getNFib()
An unsigned integer that specifies the version number of the file format used.
(一个无符号整数,指定使用的文件格式的版本号。)
|
int |
getNFibBack()
This value SHOULD be 0x00BF.
(这个值应该是 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.
(一个无符号整数,它为包含所有自动图文集项的文档指定 FIB 的 WordDocument 流中的偏移量。)
|
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.
(一个无符号整数,指定这是一个 Word 二进制文件。)
|
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
(此值必须为 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
(设置为0时,文档中应该没有图片)
|
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
(指定是否使用适用于应用程序安装语言的默认值覆盖在 istd 0 的段落样式(普通样式)中指定的语言信息和字体)
|
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
(如果 fEncrypted 为 1,该位指定是否使用 XOR 混淆对文档进行混淆;否则,该位必须被忽略)
|
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.
(指定 FIB 引用的表流。)
|
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.
(该值必须为 0 并且必须被忽略。)
|
void |
setChsTables(short field_12_chsTables)
This value MUST be 0 and MUST be ignored.
(该值必须为 0 并且必须被忽略。)
|
void |
setCQuickSaves(byte value)
Sets the cQuickSaves field value.
(设置 cQuickSaves 字段值。)
|
void |
setEnvr(byte field_9_envr)
This value MUST be 0, and MUST be ignored.
(该值必须为 0,并且必须被忽略。)
|
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.
(设置 fComplex 字段值。)
|
void |
setFDot(boolean value)
Sets the fDot field value.
(设置 fDot 字段值。)
|
void |
setFEmptySpecial(boolean value)
Sets the fEmptySpecial field value.
(设置 fEmptySpecial 字段值。)
|
void |
setFEncrypted(boolean value)
Sets the fEncrypted field value.
(设置 fEncrypted 字段值。)
|
void |
setFExtChar(boolean value)
Sets the fExtChar field value.
(设置 fExtChar 字段值。)
|
void |
setFFarEast(boolean value)
Sets the fFarEast field value.
(设置远东字段值。)
|
void |
setFGlsy(boolean value)
Sets the fGlsy field value.
(设置 fGlsy 字段值。)
|
void |
setFHasPic(boolean value)
Sets the fHasPic field value.
(设置 fHasPic 字段值。)
|
void |
setFlags1(short field_6_flags1)
Set the flags1 field for the FibBase record.
(为 FibBase 记录设置 flags1 字段。)
|
void |
setFlags2(byte field_10_flags2)
Set the flags2 field for the FibBase record.
(为 FibBase 记录设置 flags2 字段。)
|
void |
setFLoadOverride(boolean value)
Sets the fLoadOverride field value.
(设置 fLoadOverride 字段值。)
|
void |
setFLoadOverridePage(boolean value)
Sets the fLoadOverridePage field value.
(设置 fLoadOverridePage 字段值。)
|
void |
setFMac(boolean value)
Sets the fMac field value.
(设置 fMac 字段值。)
|
void |
setFObfuscated(boolean value)
Sets the fObfuscated field value.
(设置 fObfuscated 字段值。)
|
void |
setFReadOnlyRecommended(boolean value)
Sets the fReadOnlyRecommended field value.
(设置 fReadOnlyRecommended 字段值。)
|
void |
setFSpare0(byte value)
Sets the fSpare0 field value.
(设置 fSpare0 字段值。)
|
void |
setFWhichTblStm(boolean value)
Sets the fWhichTblStm field value.
(设置 fWhichTblStm 字段值。)
|
void |
setFWriteReservation(boolean value)
Sets the fWriteReservation field value.
(设置 fWriteReservation 字段值。)
|
void |
setLid(int field_4_lid)
A LID that specifies the install language of the application that is producing the document.
(一个 LID,指定生成文档的应用程序的安装语言。)
|
void |
setLKey(int field_8_lKey)
If fEncryption is 1 and fObfuscation is 1, this value specifies the XOR obfuscation password verifier.
(如果 fEncryption 为 1 且 fObfuscation 为 1,则此值指定 XOR 混淆密码验证器。)
|
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.
(这个值应该是 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.
(一个无符号整数,它为包含所有自动图文集项的文档指定 FIB 的 WordDocument 流中的偏移量。)
|
void |
setReserved1(boolean value)
Sets the reserved1 field value.
(设置 reserved1 字段值。)
|
void |
setReserved2(boolean value)
Sets the reserved2 field value.
(设置 reserved2 字段值。)
|
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.
(一个无符号整数,指定这是一个 Word 二进制文件。)
|
java.lang.String |
toString() |
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
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()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.