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

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  short field_2_unused
           
protected  BorderCode field_3_brcTop
           
protected  BorderCode field_4_brcLeft
           
protected  BorderCode field_5_brcBottom
           
protected  BorderCode field_6_brcRight
           
 
Constructor Summary
TCAbstractType()
           
 
Method Summary
protected  void fillFields(byte[] data, int offset)
           
 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.
 short getRgf()
          Get the rgf field for the TC record.
 int getSize()
          Size of record (exluding 4 byte header)
 short getUnused()
          Get the unused field for the TC record.
 byte getVertAlign()
           
 boolean isFBackward()
           
 boolean isFFirstMerged()
           
 boolean isFMerged()
           
 boolean isFRotateFont()
           
 boolean isFVertical()
           
 boolean isFVertMerge()
           
 boolean isFVertRestart()
           
 void serialize(byte[] data, int offset)
           
 void setBrcBottom(BorderCode field_5_brcBottom)
          Set the brcBottom field for the TC record.
 void setBrcLeft(BorderCode field_4_brcLeft)
          Set the brcLeft field for the TC record.
 void setBrcRight(BorderCode field_6_brcRight)
          Set the brcRight field for the TC record.
 void setBrcTop(BorderCode field_3_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 setFMerged(boolean value)
          Sets the fMerged field value.
 void setFRotateFont(boolean value)
          Sets the fRotateFont 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 setUnused(short field_2_unused)
          Set the unused field for the TC record.
 void setVertAlign(byte value)
          Sets the vertAlign field value.
 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_unused

protected short field_2_unused

field_3_brcTop

protected BorderCode field_3_brcTop

field_4_brcLeft

protected BorderCode field_4_brcLeft

field_5_brcBottom

protected BorderCode field_5_brcBottom

field_6_brcRight

protected BorderCode field_6_brcRight
Constructor Detail

TCAbstractType

public TCAbstractType()
Method Detail

fillFields

protected void fillFields(byte[] data,
                          int offset)

serialize

public void serialize(byte[] data,
                      int offset)

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.


getUnused

public short getUnused()
Get the unused field for the TC record.


setUnused

public void setUnused(short field_2_unused)
Set the unused field for the TC record.


getBrcTop

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


setBrcTop

public void setBrcTop(BorderCode field_3_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_4_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_5_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_6_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.


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