Package org.apache.poi.hwpf.model.types
Class TLPAbstractType
java.lang.Object
org.apache.poi.hwpf.model.types.TLPAbstractType
- Direct Known Subclasses:
TableAutoformatLookSpecifier
Table Autoformat Look sPecifier (TLP).
Class and fields descriptions are quoted from Microsoft Office Word 97-2007 Binary File Format NOTE: This source is automatically generated please do not modify this file. Either subclass or remove the record in src/records/definitions.
- Author:
- Sergey Vladimirov; according to Microsoft Office Word 97-2007 Binary File Format Specification [*.doc]
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
fillFields
(byte[] data, int offset) short
getItl()
Get the itl field for the TLP record.int
getSize()
Size of record (exluding 4 byte header)byte
Get the tlp_flags field for the TLP record.boolean
When == 1, do best fit from the selected table lookboolean
When == 1, use the border properties from the selected table lookboolean
isFColor()
When == 1, use the color from the selected table lookboolean
isFFont()
When == 1, use the font from the selected table lookboolean
When == 1, apply properties from the selected table look to the header rows in the tableboolean
When == 1, apply properties from the selected table look to the last row in the tableboolean
When == 1, use the shading properties from the selected table lookvoid
serialize
(byte[] data, int offset) void
setFBestFit
(boolean value) Sets the fBestFit field value.void
setFBorders
(boolean value) Sets the fBorders field value.void
setFColor
(boolean value) Sets the fColor field value.void
setFFont
(boolean value) Sets the fFont field value.void
setFHdrRows
(boolean value) Sets the fHdrRows field value.void
setFLastRow
(boolean value) Sets the fLastRow field value.void
setFShading
(boolean value) Sets the fShading field value.void
setItl
(short field_1_itl) Set the itl field for the TLP record.void
setTlp_flags
(byte field_2_tlp_flags) Set the tlp_flags field for the TLP record.toString()
-
Field Details
-
field_1_itl
protected short field_1_itl -
field_2_tlp_flags
protected byte field_2_tlp_flags
-
-
Constructor Details
-
TLPAbstractType
public TLPAbstractType()
-
-
Method Details
-
fillFields
protected void fillFields(byte[] data, int offset) -
serialize
public void serialize(byte[] data, int offset) -
toString
-
getSize
public int getSize()Size of record (exluding 4 byte header) -
getItl
public short getItl()Get the itl field for the TLP record. -
setItl
public void setItl(short field_1_itl) Set the itl field for the TLP record. -
getTlp_flags
public byte getTlp_flags()Get the tlp_flags field for the TLP record. -
setTlp_flags
public void setTlp_flags(byte field_2_tlp_flags) Set the tlp_flags field for the TLP record. -
setFBorders
public void setFBorders(boolean value) Sets the fBorders field value. When == 1, use the border properties from the selected table look -
isFBorders
public boolean isFBorders()When == 1, use the border properties from the selected table look- Returns:
- the fBorders field value.
-
setFShading
public void setFShading(boolean value) Sets the fShading field value. When == 1, use the shading properties from the selected table look -
isFShading
public boolean isFShading()When == 1, use the shading properties from the selected table look- Returns:
- the fShading field value.
-
setFFont
public void setFFont(boolean value) Sets the fFont field value. When == 1, use the font from the selected table look -
isFFont
public boolean isFFont()When == 1, use the font from the selected table look- Returns:
- the fFont field value.
-
setFColor
public void setFColor(boolean value) Sets the fColor field value. When == 1, use the color from the selected table look -
isFColor
public boolean isFColor()When == 1, use the color from the selected table look- Returns:
- the fColor field value.
-
setFBestFit
public void setFBestFit(boolean value) Sets the fBestFit field value. When == 1, do best fit from the selected table look -
isFBestFit
public boolean isFBestFit()When == 1, do best fit from the selected table look- Returns:
- the fBestFit field value.
-
setFHdrRows
public void setFHdrRows(boolean value) Sets the fHdrRows field value. When == 1, apply properties from the selected table look to the header rows in the table -
isFHdrRows
public boolean isFHdrRows()When == 1, apply properties from the selected table look to the header rows in the table- Returns:
- the fHdrRows field value.
-
setFLastRow
public void setFLastRow(boolean value) Sets the fLastRow field value. When == 1, apply properties from the selected table look to the last row in the table -
isFLastRow
public boolean isFLastRow()When == 1, apply properties from the selected table look to the last row in the table- Returns:
- the fLastRow field value.
-