@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.
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.
|
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.
|
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.
|
boolean |
isFOwnStat()
A bit that specifies whether the form field has custom status bar text in 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.
|
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.
|
void |
setFOwnHelp(boolean value)
Sets the fOwnHelp field value.
|
void |
setFOwnStat(boolean value)
Sets the fOwnStat field value.
|
void |
setFProt(boolean value)
Sets the fProt field value.
|
void |
setFRecalc(boolean value)
Sets the fRecalc field value.
|
void |
setHps(int field_4_hps)
An unsigned integer.
|
void |
setIRes(byte value)
Sets the iRes field value.
|
void |
setISize(boolean value)
Sets the iSize field value.
|
void |
setIType(byte value)
Sets the iType field value.
|
void |
setITypeTxt(byte value)
Sets the iTypeTxt field value.
|
void |
setVersion(long field_1_version)
An unsigned integer that MUST be 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.