Package org.apache.poi.hwpf.model.types
Class LFOLVLBaseAbstractType
- java.lang.Object
-
- org.apache.poi.hwpf.model.types.LFOLVLBaseAbstractType
-
-
Field Summary
Fields Modifier and Type Field Description protected intfield_1_iStartAtprotected intfield_2_flags
-
Constructor Summary
Constructors Modifier Constructor Description protectedLFOLVLBaseAbstractType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)protected voidfillFields(byte[] data, int offset)intgetFlags()Get the flags field for the LFOLVLBase record.shortgetGrfhic()A grfhic that specifies the HTML incompatibilities of the overriding level formattingbytegetILvl()An unsigned integer that specifies the zero-based level of the list that this overrides.intgetIStartAt()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 intgetSize()Size of recordshortgetUnused1()Deprecated.This field should not be used according to specificationbytegetUnused2()Deprecated.This field should not be used according to specificationinthashCode()booleanisFFormatting()A bit that specifies whether lvl is an LVL that overrides the corresponding LVLbooleanisFStartAt()A bit that specifies whether this LFOLVL overrides the start-at value of the level.byte[]serialize()voidserialize(byte[] data, int offset)voidsetFFormatting(boolean value)Sets the fFormatting field value.voidsetFlags(int field_2_flags)Set the flags field for the LFOLVLBase record.voidsetFStartAt(boolean value)Sets the fStartAt field value.voidsetGrfhic(short value)Sets the grfhic field value.voidsetILvl(byte value)Sets the iLvl field value.voidsetIStartAt(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.voidsetUnused1(short value)Sets the unused1 field value.voidsetUnused2(byte value)Sets the unused2 field value.StringtoString()
-
-
-
Method Detail
-
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
-
getIStartAt
@Internal public int 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
@Internal public 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. 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
@Internal public int getFlags()
Get the flags field for the LFOLVLBase record.
-
setFlags
@Internal public void setFlags(int field_2_flags)
Set the flags field for the LFOLVLBase record.
-
setILvl
@Internal public void setILvl(byte value)
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
@Internal public byte 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
@Internal public void setFStartAt(boolean value)
Sets the fStartAt field value. A bit that specifies whether this LFOLVL overrides the start-at value of the level.
-
isFStartAt
@Internal public boolean isFStartAt()
A bit that specifies whether this LFOLVL overrides the start-at value of the level.- Returns:
- the fStartAt field value.
-
setFFormatting
@Internal public void setFFormatting(boolean value)
Sets the fFormatting field value. A bit that specifies whether lvl is an LVL that overrides the corresponding LVL
-
isFFormatting
@Internal public boolean isFFormatting()
A bit that specifies whether lvl is an LVL that overrides the corresponding LVL- Returns:
- the fFormatting field value.
-
setGrfhic
@Internal public void setGrfhic(short value)
Sets the grfhic field value. A grfhic that specifies the HTML incompatibilities of the overriding level formatting
-
getGrfhic
@Internal public short getGrfhic()
A grfhic that specifies the HTML incompatibilities of the overriding level formatting- Returns:
- the grfhic field value.
-
setUnused1
@Internal public void setUnused1(short value)
Sets the unused1 field value. This MUST be ignored
-
getUnused1
@Internal @Deprecated public short getUnused1()
Deprecated.This field should not be used according to specificationThis MUST be ignored- Returns:
- the unused1 field value.
-
setUnused2
@Internal public void setUnused2(byte value)
Sets the unused2 field value. This MUST be ignored
-
getUnused2
@Internal @Deprecated public byte getUnused2()
Deprecated.This field should not be used according to specificationThis MUST be ignored- Returns:
- the unused2 field value.
-
-