Package org.apache.poi.hwpf.model.types
Class TLPAbstractType
- java.lang.Object
-
- org.apache.poi.hwpf.model.types.TLPAbstractType
-
- Direct Known Subclasses:
TableAutoformatLookSpecifier
@Internal public abstract class TLPAbstractType extends java.lang.Object
Table Autoformat Look sPecifier (TLP).
-
-
Constructor Summary
Constructors Constructor Description TLPAbstractType()TLPAbstractType(TLPAbstractType other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description shortgetItl()Get the itl field for the TLP record.intgetSize()Size of record (exluding 4 byte header)bytegetTlp_flags()Get the tlp_flags field for the TLP record.booleanisFBestFit()When == 1, do best fit from the selected table lookbooleanisFBorders()When == 1, use the border properties from the selected table lookbooleanisFColor()When == 1, use the color from the selected table lookbooleanisFFont()When == 1, use the font from the selected table lookbooleanisFHdrRows()When == 1, apply properties from the selected table look to the header rows in the tablebooleanisFLastRow()When == 1, apply properties from the selected table look to the last row in the tablebooleanisFShading()When == 1, use the shading properties from the selected table lookvoidserialize(byte[] data, int offset)voidsetFBestFit(boolean value)Sets the fBestFit field value.voidsetFBorders(boolean value)Sets the fBorders field value.voidsetFColor(boolean value)Sets the fColor field value.voidsetFFont(boolean value)Sets the fFont field value.voidsetFHdrRows(boolean value)Sets the fHdrRows field value.voidsetFLastRow(boolean value)Sets the fLastRow field value.voidsetFShading(boolean value)Sets the fShading field value.voidsetItl(short field_1_itl)Set the itl field for the TLP record.voidsetTlp_flags(byte field_2_tlp_flags)Set the tlp_flags field for the TLP record.java.lang.StringtoString()
-
-
-
Constructor Detail
-
TLPAbstractType
public TLPAbstractType()
-
TLPAbstractType
public TLPAbstractType(TLPAbstractType other)
-
-
Method Detail
-
serialize
public void serialize(byte[] data, int offset)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
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.
-
-