org.apache.poi.hwpf.model.types
Class TCAbstractType

java.lang.Object
  extended by org.apache.poi.hwpf.model.types.TCAbstractType
All Implemented Interfaces:
org.apache.poi.hdf.model.hdftypes.HDFType
Direct Known Subclasses:
TableCellDescriptor

@Internal
public abstract class TCAbstractType
extends java.lang.Object
implements org.apache.poi.hdf.model.hdftypes.HDFType

Table Cell Descriptor. NOTE: This source is automatically generated please do not modify this file. Either subclass or remove the record in src/records/definitions.

Author:
S. Ryan Ackley

Field Summary
protected  short field_1_rgf
           
protected  byte field_10_ftsCellPaddingRight
           
protected  short field_11_wCellSpacingLeft
           
protected  short field_12_wCellSpacingTop
           
protected  short field_13_wCellSpacingBottom
           
protected  short field_14_wCellSpacingRight
           
protected  byte field_15_ftsCellSpacingLeft
           
protected  byte field_16_ftsCellSpacingTop
           
protected  byte field_17_ftsCellSpacingBottom
           
protected  byte field_18_ftsCellSpacingRight
           
protected  BorderCode field_19_brcTop
           
protected  short field_2_wWidth
           
protected  BorderCode field_20_brcLeft
           
protected  BorderCode field_21_brcBottom
           
protected  BorderCode field_22_brcRight
           
protected  short field_3_wCellPaddingLeft
           
protected  short field_4_wCellPaddingTop
           
protected  short field_5_wCellPaddingBottom
           
protected  short field_6_wCellPaddingRight
           
protected  byte field_7_ftsCellPaddingLeft
           
protected  byte field_8_ftsCellPaddingTop
           
protected  byte field_9_ftsCellPaddingBottom
           
 
Constructor Summary
TCAbstractType()
           
 
Method Summary
 BorderCode getBrcBottom()
          Get the brcBottom field for the TC record.
 BorderCode getBrcLeft()
          Get the brcLeft field for the TC record.
 BorderCode getBrcRight()
          Get the brcRight field for the TC record.
 BorderCode getBrcTop()
          Get the brcTop field for the TC record.
 byte getFtsCellPaddingBottom()
          Get the ftsCellPaddingBottom field for the TC record.
 byte getFtsCellPaddingLeft()
          Get the ftsCellPaddingLeft field for the TC record.
 byte getFtsCellPaddingRight()
          Get the ftsCellPaddingRight field for the TC record.
 byte getFtsCellPaddingTop()
          Get the ftsCellPaddingTop field for the TC record.
 byte getFtsCellSpacingBottom()
          Get the ftsCellSpacingBottom field for the TC record.
 byte getFtsCellSpacingLeft()
          Get the ftsCellSpacingLeft field for the TC record.
 byte getFtsCellSpacingRight()
          Get the ftsCellSpacingRight field for the TC record.
 byte getFtsCellSpacingTop()
          Get the ftsCellSpacingTop field for the TC record.
 byte getFtsWidth()
           
 byte getFUnused()
           
 short getRgf()
          Get the rgf field for the TC record.
 int getSize()
          Size of record (exluding 4 byte header)
 byte getVertAlign()
           
 short getWCellPaddingBottom()
          Get the wCellPaddingBottom field for the TC record.
 short getWCellPaddingLeft()
          Get the wCellPaddingLeft field for the TC record.
 short getWCellPaddingRight()
          Get the wCellPaddingRight field for the TC record.
 short getWCellPaddingTop()
          Get the wCellPaddingTop field for the TC record.
 short getWCellSpacingBottom()
          Get the wCellSpacingBottom field for the TC record.
 short getWCellSpacingLeft()
          Get the wCellSpacingLeft field for the TC record.
 short getWCellSpacingRight()
          Get the wCellSpacingRight field for the TC record.
 short getWCellSpacingTop()
          Get the wCellSpacingTop field for the TC record.
 short getWWidth()
          Get the wWidth field for the TC record.
 boolean isFBackward()
           
 boolean isFFirstMerged()
           
 boolean isFFitText()
           
 boolean isFMerged()
           
 boolean isFNoWrap()
           
 boolean isFRotateFont()
           
 boolean isFVertical()
           
 boolean isFVertMerge()
           
 boolean isFVertRestart()
           
 void setBrcBottom(BorderCode field_21_brcBottom)
          Set the brcBottom field for the TC record.
 void setBrcLeft(BorderCode field_20_brcLeft)
          Set the brcLeft field for the TC record.
 void setBrcRight(BorderCode field_22_brcRight)
          Set the brcRight field for the TC record.
 void setBrcTop(BorderCode field_19_brcTop)
          Set the brcTop field for the TC record.
 void setFBackward(boolean value)
          Sets the fBackward field value.
 void setFFirstMerged(boolean value)
          Sets the fFirstMerged field value.
 void setFFitText(boolean value)
          Sets the fFitText field value.
 void setFMerged(boolean value)
          Sets the fMerged field value.
 void setFNoWrap(boolean value)
          Sets the fNoWrap field value.
 void setFRotateFont(boolean value)
          Sets the fRotateFont field value.
 void setFtsCellPaddingBottom(byte field_9_ftsCellPaddingBottom)
          Set the ftsCellPaddingBottom field for the TC record.
 void setFtsCellPaddingLeft(byte field_7_ftsCellPaddingLeft)
          Set the ftsCellPaddingLeft field for the TC record.
 void setFtsCellPaddingRight(byte field_10_ftsCellPaddingRight)
          Set the ftsCellPaddingRight field for the TC record.
 void setFtsCellPaddingTop(byte field_8_ftsCellPaddingTop)
          Set the ftsCellPaddingTop field for the TC record.
 void setFtsCellSpacingBottom(byte field_17_ftsCellSpacingBottom)
          Set the ftsCellSpacingBottom field for the TC record.
 void setFtsCellSpacingLeft(byte field_15_ftsCellSpacingLeft)
          Set the ftsCellSpacingLeft field for the TC record.
 void setFtsCellSpacingRight(byte field_18_ftsCellSpacingRight)
          Set the ftsCellSpacingRight field for the TC record.
 void setFtsCellSpacingTop(byte field_16_ftsCellSpacingTop)
          Set the ftsCellSpacingTop field for the TC record.
 void setFtsWidth(byte value)
          Sets the ftsWidth field value.
 void setFUnused(byte value)
          Sets the fUnused field value.
 void setFVertical(boolean value)
          Sets the fVertical field value.
 void setFVertMerge(boolean value)
          Sets the fVertMerge field value.
 void setFVertRestart(boolean value)
          Sets the fVertRestart field value.
 void setRgf(short field_1_rgf)
          Set the rgf field for the TC record.
 void setVertAlign(byte value)
          Sets the vertAlign field value.
 void setWCellPaddingBottom(short field_5_wCellPaddingBottom)
          Set the wCellPaddingBottom field for the TC record.
 void setWCellPaddingLeft(short field_3_wCellPaddingLeft)
          Set the wCellPaddingLeft field for the TC record.
 void setWCellPaddingRight(short field_6_wCellPaddingRight)
          Set the wCellPaddingRight field for the TC record.
 void setWCellPaddingTop(short field_4_wCellPaddingTop)
          Set the wCellPaddingTop field for the TC record.
 void setWCellSpacingBottom(short field_13_wCellSpacingBottom)
          Set the wCellSpacingBottom field for the TC record.
 void setWCellSpacingLeft(short field_11_wCellSpacingLeft)
          Set the wCellSpacingLeft field for the TC record.
 void setWCellSpacingRight(short field_14_wCellSpacingRight)
          Set the wCellSpacingRight field for the TC record.
 void setWCellSpacingTop(short field_12_wCellSpacingTop)
          Set the wCellSpacingTop field for the TC record.
 void setWWidth(short field_2_wWidth)
          Set the wWidth field for the TC record.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

field_1_rgf

protected short field_1_rgf

field_2_wWidth

protected short field_2_wWidth

field_3_wCellPaddingLeft

protected short field_3_wCellPaddingLeft

field_4_wCellPaddingTop

protected short field_4_wCellPaddingTop

field_5_wCellPaddingBottom

protected short field_5_wCellPaddingBottom

field_6_wCellPaddingRight

protected short field_6_wCellPaddingRight

field_7_ftsCellPaddingLeft

protected byte field_7_ftsCellPaddingLeft

field_8_ftsCellPaddingTop

protected byte field_8_ftsCellPaddingTop

field_9_ftsCellPaddingBottom

protected byte field_9_ftsCellPaddingBottom

field_10_ftsCellPaddingRight

protected byte field_10_ftsCellPaddingRight

field_11_wCellSpacingLeft

protected short field_11_wCellSpacingLeft

field_12_wCellSpacingTop

protected short field_12_wCellSpacingTop

field_13_wCellSpacingBottom

protected short field_13_wCellSpacingBottom

field_14_wCellSpacingRight

protected short field_14_wCellSpacingRight

field_15_ftsCellSpacingLeft

protected byte field_15_ftsCellSpacingLeft

field_16_ftsCellSpacingTop

protected byte field_16_ftsCellSpacingTop

field_17_ftsCellSpacingBottom

protected byte field_17_ftsCellSpacingBottom

field_18_ftsCellSpacingRight

protected byte field_18_ftsCellSpacingRight

field_19_brcTop

protected BorderCode field_19_brcTop

field_20_brcLeft

protected BorderCode field_20_brcLeft

field_21_brcBottom

protected BorderCode field_21_brcBottom

field_22_brcRight

protected BorderCode field_22_brcRight
Constructor Detail

TCAbstractType

public TCAbstractType()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getSize

public int getSize()
Size of record (exluding 4 byte header)


getRgf

public short getRgf()
Get the rgf field for the TC record.


setRgf

public void setRgf(short field_1_rgf)
Set the rgf field for the TC record.


getWWidth

public short getWWidth()
Get the wWidth field for the TC record.


setWWidth

public void setWWidth(short field_2_wWidth)
Set the wWidth field for the TC record.


getWCellPaddingLeft

public short getWCellPaddingLeft()
Get the wCellPaddingLeft field for the TC record.


setWCellPaddingLeft

public void setWCellPaddingLeft(short field_3_wCellPaddingLeft)
Set the wCellPaddingLeft field for the TC record.


getWCellPaddingTop

public short getWCellPaddingTop()
Get the wCellPaddingTop field for the TC record.


setWCellPaddingTop

public void setWCellPaddingTop(short field_4_wCellPaddingTop)
Set the wCellPaddingTop field for the TC record.


getWCellPaddingBottom

public short getWCellPaddingBottom()
Get the wCellPaddingBottom field for the TC record.


setWCellPaddingBottom

public void setWCellPaddingBottom(short field_5_wCellPaddingBottom)
Set the wCellPaddingBottom field for the TC record.


getWCellPaddingRight

public short getWCellPaddingRight()
Get the wCellPaddingRight field for the TC record.


setWCellPaddingRight

public void setWCellPaddingRight(short field_6_wCellPaddingRight)
Set the wCellPaddingRight field for the TC record.


getFtsCellPaddingLeft

public byte getFtsCellPaddingLeft()
Get the ftsCellPaddingLeft field for the TC record.


setFtsCellPaddingLeft

public void setFtsCellPaddingLeft(byte field_7_ftsCellPaddingLeft)
Set the ftsCellPaddingLeft field for the TC record.


getFtsCellPaddingTop

public byte getFtsCellPaddingTop()
Get the ftsCellPaddingTop field for the TC record.


setFtsCellPaddingTop

public void setFtsCellPaddingTop(byte field_8_ftsCellPaddingTop)
Set the ftsCellPaddingTop field for the TC record.


getFtsCellPaddingBottom

public byte getFtsCellPaddingBottom()
Get the ftsCellPaddingBottom field for the TC record.


setFtsCellPaddingBottom

public void setFtsCellPaddingBottom(byte field_9_ftsCellPaddingBottom)
Set the ftsCellPaddingBottom field for the TC record.


getFtsCellPaddingRight

public byte getFtsCellPaddingRight()
Get the ftsCellPaddingRight field for the TC record.


setFtsCellPaddingRight

public void setFtsCellPaddingRight(byte field_10_ftsCellPaddingRight)
Set the ftsCellPaddingRight field for the TC record.


getWCellSpacingLeft

public short getWCellSpacingLeft()
Get the wCellSpacingLeft field for the TC record.


setWCellSpacingLeft

public void setWCellSpacingLeft(short field_11_wCellSpacingLeft)
Set the wCellSpacingLeft field for the TC record.


getWCellSpacingTop

public short getWCellSpacingTop()
Get the wCellSpacingTop field for the TC record.


setWCellSpacingTop

public void setWCellSpacingTop(short field_12_wCellSpacingTop)
Set the wCellSpacingTop field for the TC record.


getWCellSpacingBottom

public short getWCellSpacingBottom()
Get the wCellSpacingBottom field for the TC record.


setWCellSpacingBottom

public void setWCellSpacingBottom(short field_13_wCellSpacingBottom)
Set the wCellSpacingBottom field for the TC record.


getWCellSpacingRight

public short getWCellSpacingRight()
Get the wCellSpacingRight field for the TC record.


setWCellSpacingRight

public void setWCellSpacingRight(short field_14_wCellSpacingRight)
Set the wCellSpacingRight field for the TC record.


getFtsCellSpacingLeft

public byte getFtsCellSpacingLeft()
Get the ftsCellSpacingLeft field for the TC record.


setFtsCellSpacingLeft

public void setFtsCellSpacingLeft(byte field_15_ftsCellSpacingLeft)
Set the ftsCellSpacingLeft field for the TC record.


getFtsCellSpacingTop

public byte getFtsCellSpacingTop()
Get the ftsCellSpacingTop field for the TC record.


setFtsCellSpacingTop

public void setFtsCellSpacingTop(byte field_16_ftsCellSpacingTop)
Set the ftsCellSpacingTop field for the TC record.


getFtsCellSpacingBottom

public byte getFtsCellSpacingBottom()
Get the ftsCellSpacingBottom field for the TC record.


setFtsCellSpacingBottom

public void setFtsCellSpacingBottom(byte field_17_ftsCellSpacingBottom)
Set the ftsCellSpacingBottom field for the TC record.


getFtsCellSpacingRight

public byte getFtsCellSpacingRight()
Get the ftsCellSpacingRight field for the TC record.


setFtsCellSpacingRight

public void setFtsCellSpacingRight(byte field_18_ftsCellSpacingRight)
Set the ftsCellSpacingRight field for the TC record.


getBrcTop

public BorderCode getBrcTop()
Get the brcTop field for the TC record.


setBrcTop

public void setBrcTop(BorderCode field_19_brcTop)
Set the brcTop field for the TC record.


getBrcLeft

public BorderCode getBrcLeft()
Get the brcLeft field for the TC record.


setBrcLeft

public void setBrcLeft(BorderCode field_20_brcLeft)
Set the brcLeft field for the TC record.


getBrcBottom

public BorderCode getBrcBottom()
Get the brcBottom field for the TC record.


setBrcBottom

public void setBrcBottom(BorderCode field_21_brcBottom)
Set the brcBottom field for the TC record.


getBrcRight

public BorderCode getBrcRight()
Get the brcRight field for the TC record.


setBrcRight

public void setBrcRight(BorderCode field_22_brcRight)
Set the brcRight field for the TC record.


setFFirstMerged

public void setFFirstMerged(boolean value)
Sets the fFirstMerged field value.


isFFirstMerged

public boolean isFFirstMerged()
Returns:
the fFirstMerged field value.

setFMerged

public void setFMerged(boolean value)
Sets the fMerged field value.


isFMerged

public boolean isFMerged()
Returns:
the fMerged field value.

setFVertical

public void setFVertical(boolean value)
Sets the fVertical field value.


isFVertical

public boolean isFVertical()
Returns:
the fVertical field value.

setFBackward

public void setFBackward(boolean value)
Sets the fBackward field value.


isFBackward

public boolean isFBackward()
Returns:
the fBackward field value.

setFRotateFont

public void setFRotateFont(boolean value)
Sets the fRotateFont field value.


isFRotateFont

public boolean isFRotateFont()
Returns:
the fRotateFont field value.

setFVertMerge

public void setFVertMerge(boolean value)
Sets the fVertMerge field value.


isFVertMerge

public boolean isFVertMerge()
Returns:
the fVertMerge field value.

setFVertRestart

public void setFVertRestart(boolean value)
Sets the fVertRestart field value.


isFVertRestart

public boolean isFVertRestart()
Returns:
the fVertRestart field value.

setVertAlign

public void setVertAlign(byte value)
Sets the vertAlign field value.


getVertAlign

public byte getVertAlign()
Returns:
the vertAlign field value.

setFtsWidth

public void setFtsWidth(byte value)
Sets the ftsWidth field value.


getFtsWidth

public byte getFtsWidth()
Returns:
the ftsWidth field value.

setFFitText

public void setFFitText(boolean value)
Sets the fFitText field value.


isFFitText

public boolean isFFitText()
Returns:
the fFitText field value.

setFNoWrap

public void setFNoWrap(boolean value)
Sets the fNoWrap field value.


isFNoWrap

public boolean isFNoWrap()
Returns:
the fNoWrap field value.

setFUnused

public void setFUnused(byte value)
Sets the fUnused field value.


getFUnused

public byte getFUnused()
Returns:
the fUnused field value.


Copyright 2011 The Apache Software Foundation or its licensors, as applicable.