Package org.apache.poi.hwpf.model.types
Class StshifAbstractType
- java.lang.Object
-
- org.apache.poi.hwpf.model.types.StshifAbstractType
-
-
Field Summary
Fields Modifier and Type Field Description protected intfield_1_cstdprotected intfield_2_cbSTDBaseInFileprotected intfield_3_info3protected intfield_4_stiMaxWhenSavedprotected intfield_5_istdMaxFixedWhenSavedprotected intfield_6_nVerBuiltInNamesWhenSavedprotected shortfield_7_ftcAsciprotected shortfield_8_ftcFEprotected shortfield_9_ftcOther
-
Constructor Summary
Constructors Modifier Constructor Description protectedStshifAbstractType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfillFields(byte[] data, int offset)intgetCbSTDBaseInFile()An unsigned integer that specifies the size, in bytes, of the Stdf structure.intgetCstd()An unsigned integer that specifies the count of elements in STSH.rglpstd.shortgetFReserved()This value MUST be zero and MUST be ignoredshortgetFtcAsci()A signed integer that specifies an operand value for the sprmCRgFtc0 for default document formatting.shortgetFtcFE()A signed integer that specifies an operand value for the sprmCRgFtc1 for default document formatting, as defined in the section Determining Formatting Properties.shortgetFtcOther()A signed integer that specifies an operand value for the sprmCRgFtc2 for default document formatting, as defined in the section Determining Formatting Properties.intgetInfo3()Get the info3 field for the Stshif record.intgetIstdMaxFixedWhenSaved()An unsigned integer that specifies the count of elements at the start of STSH.rglpstd that are reserved for fixed-index application-defined styles.intgetNVerBuiltInNamesWhenSaved()An unsigned integer that specifies the version number of the style names as defined by the application that writes the file.static intgetSize()Size of recordintgetStiMaxWhenSaved()An unsigned integer that specifies a value that is 1 larger than the largest StdfBase.sti index of any application-defined style.booleanisFHasOriginalStyle()This value MUST be 1 and MUST be ignoredvoidserialize(byte[] data, int offset)voidsetCbSTDBaseInFile(int field_2_cbSTDBaseInFile)An unsigned integer that specifies the size, in bytes, of the Stdf structure.voidsetCstd(int field_1_cstd)An unsigned integer that specifies the count of elements in STSH.rglpstd.voidsetFHasOriginalStyle(boolean value)Sets the fHasOriginalStyle field value.voidsetFReserved(short value)Sets the fReserved field value.voidsetFtcAsci(short field_7_ftcAsci)A signed integer that specifies an operand value for the sprmCRgFtc0 for default document formatting.voidsetFtcFE(short field_8_ftcFE)A signed integer that specifies an operand value for the sprmCRgFtc1 for default document formatting, as defined in the section Determining Formatting Properties.voidsetFtcOther(short field_9_ftcOther)A signed integer that specifies an operand value for the sprmCRgFtc2 for default document formatting, as defined in the section Determining Formatting Properties.voidsetInfo3(int field_3_info3)Set the info3 field for the Stshif record.voidsetIstdMaxFixedWhenSaved(int field_5_istdMaxFixedWhenSaved)An unsigned integer that specifies the count of elements at the start of STSH.rglpstd that are reserved for fixed-index application-defined styles.voidsetNVerBuiltInNamesWhenSaved(int field_6_nVerBuiltInNamesWhenSaved)An unsigned integer that specifies the version number of the style names as defined by the application that writes the file.voidsetStiMaxWhenSaved(int field_4_stiMaxWhenSaved)An unsigned integer that specifies a value that is 1 larger than the largest StdfBase.sti index of any application-defined style.StringtoString()
-
-
-
Field Detail
-
field_1_cstd
protected int field_1_cstd
-
field_2_cbSTDBaseInFile
protected int field_2_cbSTDBaseInFile
-
field_3_info3
protected int field_3_info3
-
field_4_stiMaxWhenSaved
protected int field_4_stiMaxWhenSaved
-
field_5_istdMaxFixedWhenSaved
protected int field_5_istdMaxFixedWhenSaved
-
field_6_nVerBuiltInNamesWhenSaved
protected int field_6_nVerBuiltInNamesWhenSaved
-
field_7_ftcAsci
protected short field_7_ftcAsci
-
field_8_ftcFE
protected short field_8_ftcFE
-
field_9_ftcOther
protected short field_9_ftcOther
-
-
Method Detail
-
fillFields
protected void fillFields(byte[] data, int offset)
-
serialize
public void serialize(byte[] data, int offset)
-
getSize
public static int getSize()
Size of record
-
getCstd
@Internal public int getCstd()
An unsigned integer that specifies the count of elements in STSH.rglpstd. This value MUST be equal to or greater than 0x000F, and MUST be less than 0x0FFE.
-
setCstd
@Internal public void setCstd(int field_1_cstd)
An unsigned integer that specifies the count of elements in STSH.rglpstd. This value MUST be equal to or greater than 0x000F, and MUST be less than 0x0FFE.
-
getCbSTDBaseInFile
@Internal public int getCbSTDBaseInFile()
An unsigned integer that specifies the size, in bytes, of the Stdf structure. The Stdf structure contains an StdfBase structure that is followed by a StdfPost2000OrNone structure which contains an optional StdfPost2000 structure. This value MUST be 0x000A when the Stdf structure does not contain an StdfPost2000 structure and MUST be 0x0012 when the Stdf structure does contain an StdfPost2000 structure..
-
setCbSTDBaseInFile
@Internal public void setCbSTDBaseInFile(int field_2_cbSTDBaseInFile)
An unsigned integer that specifies the size, in bytes, of the Stdf structure. The Stdf structure contains an StdfBase structure that is followed by a StdfPost2000OrNone structure which contains an optional StdfPost2000 structure. This value MUST be 0x000A when the Stdf structure does not contain an StdfPost2000 structure and MUST be 0x0012 when the Stdf structure does contain an StdfPost2000 structure..
-
getInfo3
@Internal public int getInfo3()
Get the info3 field for the Stshif record.
-
setInfo3
@Internal public void setInfo3(int field_3_info3)
Set the info3 field for the Stshif record.
-
getStiMaxWhenSaved
@Internal public int getStiMaxWhenSaved()
An unsigned integer that specifies a value that is 1 larger than the largest StdfBase.sti index of any application-defined style. This SHOULD be equal to the largest sti index that is defined in the application, incremented by 1.
-
setStiMaxWhenSaved
@Internal public void setStiMaxWhenSaved(int field_4_stiMaxWhenSaved)
An unsigned integer that specifies a value that is 1 larger than the largest StdfBase.sti index of any application-defined style. This SHOULD be equal to the largest sti index that is defined in the application, incremented by 1.
-
getIstdMaxFixedWhenSaved
@Internal public int getIstdMaxFixedWhenSaved()
An unsigned integer that specifies the count of elements at the start of STSH.rglpstd that are reserved for fixed-index application-defined styles. This value MUST be 0x000F.
-
setIstdMaxFixedWhenSaved
@Internal public void setIstdMaxFixedWhenSaved(int field_5_istdMaxFixedWhenSaved)
An unsigned integer that specifies the count of elements at the start of STSH.rglpstd that are reserved for fixed-index application-defined styles. This value MUST be 0x000F.
-
getNVerBuiltInNamesWhenSaved
@Internal public int getNVerBuiltInNamesWhenSaved()
An unsigned integer that specifies the version number of the style names as defined by the application that writes the file.
-
setNVerBuiltInNamesWhenSaved
@Internal public void setNVerBuiltInNamesWhenSaved(int field_6_nVerBuiltInNamesWhenSaved)
An unsigned integer that specifies the version number of the style names as defined by the application that writes the file.
-
getFtcAsci
@Internal public short getFtcAsci()
A signed integer that specifies an operand value for the sprmCRgFtc0 for default document formatting.
-
setFtcAsci
@Internal public void setFtcAsci(short field_7_ftcAsci)
A signed integer that specifies an operand value for the sprmCRgFtc0 for default document formatting.
-
getFtcFE
@Internal public short getFtcFE()
A signed integer that specifies an operand value for the sprmCRgFtc1 for default document formatting, as defined in the section Determining Formatting Properties.
-
setFtcFE
@Internal public void setFtcFE(short field_8_ftcFE)
A signed integer that specifies an operand value for the sprmCRgFtc1 for default document formatting, as defined in the section Determining Formatting Properties.
-
getFtcOther
@Internal public short getFtcOther()
A signed integer that specifies an operand value for the sprmCRgFtc2 for default document formatting, as defined in the section Determining Formatting Properties.
-
setFtcOther
@Internal public void setFtcOther(short field_9_ftcOther)
A signed integer that specifies an operand value for the sprmCRgFtc2 for default document formatting, as defined in the section Determining Formatting Properties.
-
setFHasOriginalStyle
@Internal public void setFHasOriginalStyle(boolean value)
Sets the fHasOriginalStyle field value. This value MUST be 1 and MUST be ignored
-
isFHasOriginalStyle
@Internal public boolean isFHasOriginalStyle()
This value MUST be 1 and MUST be ignored- Returns:
- the fHasOriginalStyle field value.
-
setFReserved
@Internal public void setFReserved(short value)
Sets the fReserved field value. This value MUST be zero and MUST be ignored
-
getFReserved
@Internal public short getFReserved()
This value MUST be zero and MUST be ignored- Returns:
- the fReserved field value.
-
-