@Internal public abstract class FFDataBaseAbstractType extends java.lang.Object
Class and fields descriptions are quoted from [MS-DOC] -- v20121003 Word (.doc) Binary File Format; Copyright (c) 2012 Microsoft Corporation; Release: October 8, 2012
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.
(FFData 结构为文本框、复选框或下拉列表框指定表单字段数据。类和字段描述引用自 [MS-DOC] -- v20121003 Word (.doc) 二进制文件格式;版权所有 (c) 2012 Microsoft Corporation;发布时间:2012 年 10 月 8 日 注意:此源是自动生成的,请勿修改此文件。子类化或删除 src/types/definitions 中的记录。这个类是内部的。由于我们对内部 Microsoft Word 二进制结构的了解发生变化,其内容或属性可能会发生变化,恕不另行通知。)Modifier and Type | Field and Description |
---|---|
protected long |
field_1_version |
protected short |
field_2_bits |
protected int |
field_3_cch |
protected int |
field_4_hps |
static byte |
ITYPE_CHCK
Specifies that the form field is a checkbox.
(指定表单域是一个复选框。)
|
static byte |
ITYPE_DROP
Specifies that the form field is a dropdown list box.
(指定表单域是一个下拉列表框。)
|
static byte |
ITYPE_TEXT
Specifies that the form field is a textbox.
(指定表单域是一个文本框。)
|
protected static byte |
ITYPETXT_CALC
Specifies that the textbox value is calculated from an expression.
(指定文本框值是根据表达式计算的。)
|
static byte |
ITYPETXT_CURDATE
Specifies that the textbox value is the current date.
(指定文本框值是当前日期。)
|
static byte |
ITYPETXT_CURTIME
Specifies that the textbox value is the current time.
(指定文本框值为当前时间。)
|
static byte |
ITYPETXT_DATE
Specifies that the textbox value is a date or time.
(指定文本框值是日期或时间。)
|
static byte |
ITYPETXT_NUM
Specifies that the textbox value is a number.
(指定文本框值是一个数字。)
|
static byte |
ITYPETXT_REG
Specifies that the textbox value is regular text.
(指定文本框值是常规文本。)
|
Modifier | Constructor and Description |
---|---|
protected |
FFDataBaseAbstractType() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
protected void |
fillFields(byte[] data, int offset) |
short |
getBits()
An FFDataBits that specifies the type and state of this form field.
(一个 FFDataBits,指定此表单域的类型和状态。)
|
int |
getCch()
An unsigned integer that specifies the maximum length, in characters, of the value of the textbox.
(一个无符号整数,指定文本框值的最大长度(以字符为单位)。)
|
int |
getHps()
An unsigned integer.
(一个无符号整数。)
|
byte |
getIRes()
An unsigned integer.
(一个无符号整数。)
|
byte |
getIType()
An unsigned integer that specifies the type of the form field.
(一个无符号整数,指定表单域的类型。)
|
byte |
getITypeTxt()
An unsigned integer that specifies the type of the textbox.
(指定文本框类型的无符号整数。)
|
static int |
getSize()
Size of record
(记录大小)
|
long |
getVersion()
An unsigned integer that MUST be 0xFFFFFFFF.
(必须为 0xFFFFFFFF 的无符号整数。)
|
int |
hashCode() |
boolean |
isFHasListBox()
A bit that specifies that the form field has a list box.
(指定表单域具有列表框的位。)
|
boolean |
isFOwnHelp()
A bit that specifies whether the form field has custom help text in FFData.xstzHelpText.
(指定表单域是否在 FFData.xstzHelpText 中有自定义帮助文本的位。)
|
boolean |
isFOwnStat()
A bit that specifies whether the form field has custom status bar text in FFData.xstzStatText.
(一个位,指定表单域是否在 FFData.xstzStatText 中具有自定义状态栏文本。)
|
boolean |
isFProt()
A bit that specifies whether the form field is protected and its value cannot be changed.
(指定表单域是否受保护且其值不能更改的位。)
|
boolean |
isFRecalc()
A bit that specifies whether the value of the field is automatically calculated after the field is modified.
(指定字段修改后是否自动计算字段值的位。)
|
boolean |
isISize()
A bit that specifies whether the size of a checkbox is automatically determined by the text size where the checkbox is located.
(一个位,指定复选框的大小是否由复选框所在的文本大小自动确定。)
|
byte[] |
serialize() |
void |
serialize(byte[] data, int offset) |
void |
setBits(short field_2_bits)
An FFDataBits that specifies the type and state of this form field.
(一个 FFDataBits,指定此表单域的类型和状态。)
|
void |
setCch(int field_3_cch)
An unsigned integer that specifies the maximum length, in characters, of the value of the textbox.
(一个无符号整数,指定文本框值的最大长度(以字符为单位)。)
|
void |
setFHasListBox(boolean value)
Sets the fHasListBox field value.
(设置 fHasListBox 字段值。)
|
void |
setFOwnHelp(boolean value)
Sets the fOwnHelp field value.
(设置 fOwnHelp 字段值。)
|
void |
setFOwnStat(boolean value)
Sets the fOwnStat field value.
(设置 fOwnStat 字段值。)
|
void |
setFProt(boolean value)
Sets the fProt field value.
(设置 fProt 字段值。)
|
void |
setFRecalc(boolean value)
Sets the fRecalc field value.
(设置 fRecalc 字段值。)
|
void |
setHps(int field_4_hps)
An unsigned integer.
(一个无符号整数。)
|
void |
setIRes(byte value)
Sets the iRes field value.
(设置 iRes 字段值。)
|
void |
setISize(boolean value)
Sets the iSize field value.
(设置 iSize 字段值。)
|
void |
setIType(byte value)
Sets the iType field value.
(设置 iType 字段值。)
|
void |
setITypeTxt(byte value)
Sets the iTypeTxt field value.
(设置 iTypeTxt 字段值。)
|
void |
setVersion(long field_1_version)
An unsigned integer that MUST be 0xFFFFFFFF.
(必须为 0xFFFFFFFF 的无符号整数。)
|
java.lang.String |
toString() |
protected long field_1_version
protected short field_2_bits
public static final byte ITYPE_TEXT
public static final byte ITYPE_CHCK
public static final byte ITYPE_DROP
public static final byte ITYPETXT_REG
public static final byte ITYPETXT_NUM
public static final byte ITYPETXT_DATE
public static final byte ITYPETXT_CURDATE
public static final byte ITYPETXT_CURTIME
protected static final byte ITYPETXT_CALC
protected int field_3_cch
protected int field_4_hps
protected void fillFields(byte[] data, int offset)
public void serialize(byte[] data, int offset)
public byte[] serialize()
public static int getSize()
public boolean equals(java.lang.Object obj)
equals
in class
java.lang.Object
public int hashCode()
hashCode
in class
java.lang.Object
public java.lang.String toString()
toString
in class
java.lang.Object
@Internal public long getVersion()
@Internal public void setVersion(long field_1_version)
@Internal public short getBits()
@Internal public void setBits(short field_2_bits)
@Internal public int getCch()
@Internal public void setCch(int field_3_cch)
@Internal public int getHps()
@Internal public void setHps(int field_4_hps)
@Internal public void setIType(byte value)
@Internal public byte getIType()
@Internal public void setIRes(byte value)
@Internal public byte getIRes()
@Internal public void setFOwnHelp(boolean value)
@Internal public boolean isFOwnHelp()
@Internal public void setFOwnStat(boolean value)
@Internal public boolean isFOwnStat()
@Internal public void setFProt(boolean value)
@Internal public boolean isFProt()
@Internal public void setISize(boolean value)
@Internal public boolean isISize()
@Internal public void setITypeTxt(byte value)
@Internal public byte getITypeTxt()
@Internal public void setFRecalc(boolean value)
@Internal public boolean isFRecalc()
@Internal public void setFHasListBox(boolean value)
@Internal public boolean isFHasListBox()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.