Package org.apache.poi.hwpf.model.types
Class LFOLVLBaseAbstractType
java.lang.Object
org.apache.poi.hwpf.model.types.LFOLVLBaseAbstractType
The LFOLVL structure contains information that is used to override the formatting
information of a corresponding LVL.
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.
- Author:
- Sergey Vladimirov; according to Microsoft Office Word 97-2007 Binary File Format Specification [*.doc] and [MS-DOC] - v20110608 Word (.doc) Binary File Format
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
protected void
fillFields
(byte[] data, int offset) int
getFlags()
Get the flags field for the LFOLVLBase record.short
A grfhic that specifies the HTML incompatibilities of the overriding level formattingbyte
getILvl()
An unsigned integer that specifies the zero-based level of the list that this overrides.int
If fStartAt is set to 0x1, this is a signed integer that specifies the start-at value that overrides lvlf.iStartAt of the corresponding LVL.static int
getSize()
Size of recordshort
Deprecated.This field should not be used according to specificationbyte
Deprecated.This field should not be used according to specificationint
hashCode()
boolean
A bit that specifies whether lvl is an LVL that overrides the corresponding LVLboolean
A bit that specifies whether this LFOLVL overrides the start-at value of the level.byte[]
void
serialize
(byte[] data, int offset) void
setFFormatting
(boolean value) Sets the fFormatting field value.void
setFlags
(int field_2_flags) Set the flags field for the LFOLVLBase record.void
setFStartAt
(boolean value) Sets the fStartAt field value.void
setGrfhic
(short value) Sets the grfhic field value.void
setILvl
(byte value) Sets the iLvl field value.void
setIStartAt
(int field_1_iStartAt) If fStartAt is set to 0x1, this is a signed integer that specifies the start-at value that overrides lvlf.iStartAt of the corresponding LVL.void
setUnused1
(short value) Sets the unused1 field value.void
setUnused2
(byte value) Sets the unused2 field value.toString()
-
Field Details
-
field_1_iStartAt
protected int field_1_iStartAt -
field_2_flags
protected int field_2_flags
-
-
Constructor Details
-
LFOLVLBaseAbstractType
protected LFOLVLBaseAbstractType()
-
-
Method Details
-
fillFields
protected void fillFields(byte[] data, int offset) -
serialize
public void serialize(byte[] data, int offset) -
serialize
public byte[] serialize() -
getSize
public static int getSize()Size of record -
equals
-
hashCode
public int hashCode() -
toString
-
getIStartAt
If fStartAt is set to 0x1, this is a signed integer that specifies the start-at value that overrides lvlf.iStartAt of the corresponding LVL. This value MUST be less than or equal to 0x7FFF and MUST be greater than or equal to zero. If both fStartAt and fFormatting are set to 0x1, or if fStartAt is set to 0x0, this value is undefined and MUST be ignored. -
setIStartAt
If fStartAt is set to 0x1, this is a signed integer that specifies the start-at value that overrides lvlf.iStartAt of the corresponding LVL. This value MUST be less than or equal to 0x7FFF and MUST be greater than or equal to zero. If both fStartAt and fFormatting are set to 0x1, or if fStartAt is set to 0x0, this value is undefined and MUST be ignored. -
getFlags
Get the flags field for the LFOLVLBase record. -
setFlags
Set the flags field for the LFOLVLBase record. -
setILvl
Sets the iLvl field value. An unsigned integer that specifies the zero-based level of the list that this overrides. This LFOLVL overrides the LVL that specifies the level formatting of this level of the LSTF that is specified by the lsid field of the LFO to which this LFOLVL corresponds. This value MUST be less than or equal to 0x08 -
getILvl
An unsigned integer that specifies the zero-based level of the list that this overrides. This LFOLVL overrides the LVL that specifies the level formatting of this level of the LSTF that is specified by the lsid field of the LFO to which this LFOLVL corresponds. This value MUST be less than or equal to 0x08- Returns:
- the iLvl field value.
-
setFStartAt
Sets the fStartAt field value. A bit that specifies whether this LFOLVL overrides the start-at value of the level. -
isFStartAt
A bit that specifies whether this LFOLVL overrides the start-at value of the level.- Returns:
- the fStartAt field value.
-
setFFormatting
Sets the fFormatting field value. A bit that specifies whether lvl is an LVL that overrides the corresponding LVL -
isFFormatting
A bit that specifies whether lvl is an LVL that overrides the corresponding LVL- Returns:
- the fFormatting field value.
-
setGrfhic
Sets the grfhic field value. A grfhic that specifies the HTML incompatibilities of the overriding level formatting -
getGrfhic
A grfhic that specifies the HTML incompatibilities of the overriding level formatting- Returns:
- the grfhic field value.
-
setUnused1
Sets the unused1 field value. This MUST be ignored -
getUnused1
Deprecated.This field should not be used according to specificationThis MUST be ignored- Returns:
- the unused1 field value.
-
setUnused2
Sets the unused2 field value. This MUST be ignored -
getUnused2
Deprecated.This field should not be used according to specificationThis MUST be ignored- Returns:
- the unused2 field value.
-