You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by se...@apache.org on 2011/09/20 10:52:48 UTC

svn commit: r1173035 - /poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/TCAbstractType.java

Author: sergey
Date: Tue Sep 20 08:52:47 2011
New Revision: 1173035

URL: http://svn.apache.org/viewvc?rev=1173035&view=rev
Log:
update TCAbstractType

Modified:
    poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/TCAbstractType.java

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/TCAbstractType.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/TCAbstractType.java?rev=1173035&r1=1173034&r2=1173035&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/TCAbstractType.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/model/types/TCAbstractType.java Tue Sep 20 08:52:47 2011
@@ -18,167 +18,143 @@
 package org.apache.poi.hwpf.model.types;
 
 
-
-import org.apache.poi.hdf.model.hdftypes.HDFType;
-import org.apache.poi.hwpf.usermodel.BorderCode;
-import org.apache.poi.util.BitField;
-import org.apache.poi.util.Internal;
+import org.apache.poi.hwpf.usermodel.*;
+import org.apache.poi.util.*;
 
 /**
  * Table Cell Descriptor.
+ * <p>
  * 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
+ *       remove the record in src/types/definitions.
+ * <p>
+ * This class is internal. It content or properties may change without notice 
+ * due to changes in our knowledge of internal Microsoft Word binary structures.
+
+ * @author S. Ryan Ackley. Field descriptions are quoted from Microsoft Office Word 97-2007 Binary
+        File Format (.doc) Specification
+    
  */
 @Internal
 public abstract class TCAbstractType
-    implements HDFType
 {
 
-    protected  short field_1_rgf;
-        private static BitField  fFirstMerged = new BitField(0x0001);
-        private static BitField  fMerged = new BitField(0x0002);
-        private static BitField  fVertical = new BitField(0x0004);
-        private static BitField  fBackward = new BitField(0x0008);
-        private static BitField  fRotateFont = new BitField(0x0010);
-        private static BitField  fVertMerge = new BitField(0x0020);
-        private static BitField  fVertRestart = new BitField(0x0040);
-        private static BitField  vertAlign = new BitField(0x0180);
-        private static BitField  ftsWidth = new BitField(0x0E00);
-        private static BitField  fFitText = new BitField(0x1000);
-        private static BitField  fNoWrap = new BitField(0x2000);
-        private static BitField  fUnused = new BitField(0xC000);
-    protected  short field_2_wWidth;
-    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;
-    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  BorderCode field_20_brcLeft;
-    protected  BorderCode field_21_brcBottom;
-    protected  BorderCode field_22_brcRight;
-
-
-    public TCAbstractType()
-    {
-
+    protected short field_1_rgf;
+    /**/private static BitField fFirstMerged = new BitField(0x0001);
+    /**/private static BitField fMerged = new BitField(0x0002);
+    /**/private static BitField fVertical = new BitField(0x0004);
+    /**/private static BitField fBackward = new BitField(0x0008);
+    /**/private static BitField fRotateFont = new BitField(0x0010);
+    /**/private static BitField fVertMerge = new BitField(0x0020);
+    /**/private static BitField fVertRestart = new BitField(0x0040);
+    /**/private static BitField vertAlign = new BitField(0x0180);
+    /**/private static BitField ftsWidth = new BitField(0x0E00);
+    /**/private static BitField fFitText = new BitField(0x1000);
+    /**/private static BitField fNoWrap = new BitField(0x2000);
+    /**/private static BitField fUnused = new BitField(0xC000);
+    protected short field_2_wWidth;
+    protected ShadingDescriptor field_3_shd;
+    protected short field_4_wCellPaddingLeft;
+    protected short field_5_wCellPaddingTop;
+    protected short field_6_wCellPaddingBottom;
+    protected short field_7_wCellPaddingRight;
+    protected byte field_8_ftsCellPaddingLeft;
+    protected byte field_9_ftsCellPaddingTop;
+    protected byte field_10_ftsCellPaddingBottom;
+    protected byte field_11_ftsCellPaddingRight;
+    protected short field_12_wCellSpacingLeft;
+    protected short field_13_wCellSpacingTop;
+    protected short field_14_wCellSpacingBottom;
+    protected short field_15_wCellSpacingRight;
+    protected byte field_16_ftsCellSpacingLeft;
+    protected byte field_17_ftsCellSpacingTop;
+    protected byte field_18_ftsCellSpacingBottom;
+    protected byte field_19_ftsCellSpacingRight;
+    protected BorderCode field_20_brcTop;
+    protected BorderCode field_21_brcLeft;
+    protected BorderCode field_22_brcBottom;
+    protected BorderCode field_23_brcRight;
+
+    protected TCAbstractType()
+    {
+        this.field_3_shd = new ShadingDescriptor();
+        this.field_20_brcTop = new BorderCode();
+        this.field_21_brcLeft = new BorderCode();
+        this.field_22_brcBottom = new BorderCode();
+        this.field_23_brcRight = new BorderCode();
     }
 
 
     public String toString()
     {
-        StringBuffer buffer = new StringBuffer();
-
-        buffer.append("[TC]\n");
-
-        buffer.append("    .rgf                  = ");
-        buffer.append(" (").append(getRgf()).append(" )\n");
-        buffer.append("         .fFirstMerged             = ").append(isFFirstMerged()).append('\n');
-        buffer.append("         .fMerged                  = ").append(isFMerged()).append('\n');
-        buffer.append("         .fVertical                = ").append(isFVertical()).append('\n');
-        buffer.append("         .fBackward                = ").append(isFBackward()).append('\n');
-        buffer.append("         .fRotateFont              = ").append(isFRotateFont()).append('\n');
-        buffer.append("         .fVertMerge               = ").append(isFVertMerge()).append('\n');
-        buffer.append("         .fVertRestart             = ").append(isFVertRestart()).append('\n');
-        buffer.append("         .vertAlign                = ").append(getVertAlign()).append('\n');
-        buffer.append("         .ftsWidth                 = ").append(getFtsWidth()).append('\n');
-        buffer.append("         .fFitText                 = ").append(isFFitText()).append('\n');
-        buffer.append("         .fNoWrap                  = ").append(isFNoWrap()).append('\n');
-        buffer.append("         .fUnused                  = ").append(getFUnused()).append('\n');
-
-        buffer.append("    .wWidth               = ");
-        buffer.append(" (").append(getWWidth()).append(" )\n");
-
-        buffer.append("    .wCellPaddingLeft     = ");
-        buffer.append(" (").append(getWCellPaddingLeft()).append(" )\n");
-
-        buffer.append("    .wCellPaddingTop      = ");
-        buffer.append(" (").append(getWCellPaddingTop()).append(" )\n");
-
-        buffer.append("    .wCellPaddingBottom   = ");
-        buffer.append(" (").append(getWCellPaddingBottom()).append(" )\n");
-
-        buffer.append("    .wCellPaddingRight    = ");
-        buffer.append(" (").append(getWCellPaddingRight()).append(" )\n");
-
-        buffer.append("    .ftsCellPaddingLeft   = ");
-        buffer.append(" (").append(getFtsCellPaddingLeft()).append(" )\n");
-
-        buffer.append("    .ftsCellPaddingTop    = ");
-        buffer.append(" (").append(getFtsCellPaddingTop()).append(" )\n");
-
-        buffer.append("    .ftsCellPaddingBottom = ");
-        buffer.append(" (").append(getFtsCellPaddingBottom()).append(" )\n");
+        StringBuilder builder = new StringBuilder();
+        builder.append("[TC]\n");
+        builder.append("    .rgf                  = ");
+        builder.append(" (").append(getRgf()).append(" )\n");
+        builder.append("         .fFirstMerged             = ").append(isFFirstMerged()).append('\n');
+        builder.append("         .fMerged                  = ").append(isFMerged()).append('\n');
+        builder.append("         .fVertical                = ").append(isFVertical()).append('\n');
+        builder.append("         .fBackward                = ").append(isFBackward()).append('\n');
+        builder.append("         .fRotateFont              = ").append(isFRotateFont()).append('\n');
+        builder.append("         .fVertMerge               = ").append(isFVertMerge()).append('\n');
+        builder.append("         .fVertRestart             = ").append(isFVertRestart()).append('\n');
+        builder.append("         .vertAlign                = ").append(getVertAlign()).append('\n');
+        builder.append("         .ftsWidth                 = ").append(getFtsWidth()).append('\n');
+        builder.append("         .fFitText                 = ").append(isFFitText()).append('\n');
+        builder.append("         .fNoWrap                  = ").append(isFNoWrap()).append('\n');
+        builder.append("         .fUnused                  = ").append(getFUnused()).append('\n');
+        builder.append("    .wWidth               = ");
+        builder.append(" (").append(getWWidth()).append(" )\n");
+        builder.append("    .shd                  = ");
+        builder.append(" (").append(getShd()).append(" )\n");
+        builder.append("    .wCellPaddingLeft     = ");
+        builder.append(" (").append(getWCellPaddingLeft()).append(" )\n");
+        builder.append("    .wCellPaddingTop      = ");
+        builder.append(" (").append(getWCellPaddingTop()).append(" )\n");
+        builder.append("    .wCellPaddingBottom   = ");
+        builder.append(" (").append(getWCellPaddingBottom()).append(" )\n");
+        builder.append("    .wCellPaddingRight    = ");
+        builder.append(" (").append(getWCellPaddingRight()).append(" )\n");
+        builder.append("    .ftsCellPaddingLeft   = ");
+        builder.append(" (").append(getFtsCellPaddingLeft()).append(" )\n");
+        builder.append("    .ftsCellPaddingTop    = ");
+        builder.append(" (").append(getFtsCellPaddingTop()).append(" )\n");
+        builder.append("    .ftsCellPaddingBottom = ");
+        builder.append(" (").append(getFtsCellPaddingBottom()).append(" )\n");
+        builder.append("    .ftsCellPaddingRight  = ");
+        builder.append(" (").append(getFtsCellPaddingRight()).append(" )\n");
+        builder.append("    .wCellSpacingLeft     = ");
+        builder.append(" (").append(getWCellSpacingLeft()).append(" )\n");
+        builder.append("    .wCellSpacingTop      = ");
+        builder.append(" (").append(getWCellSpacingTop()).append(" )\n");
+        builder.append("    .wCellSpacingBottom   = ");
+        builder.append(" (").append(getWCellSpacingBottom()).append(" )\n");
+        builder.append("    .wCellSpacingRight    = ");
+        builder.append(" (").append(getWCellSpacingRight()).append(" )\n");
+        builder.append("    .ftsCellSpacingLeft   = ");
+        builder.append(" (").append(getFtsCellSpacingLeft()).append(" )\n");
+        builder.append("    .ftsCellSpacingTop    = ");
+        builder.append(" (").append(getFtsCellSpacingTop()).append(" )\n");
+        builder.append("    .ftsCellSpacingBottom = ");
+        builder.append(" (").append(getFtsCellSpacingBottom()).append(" )\n");
+        builder.append("    .ftsCellSpacingRight  = ");
+        builder.append(" (").append(getFtsCellSpacingRight()).append(" )\n");
+        builder.append("    .brcTop               = ");
+        builder.append(" (").append(getBrcTop()).append(" )\n");
+        builder.append("    .brcLeft              = ");
+        builder.append(" (").append(getBrcLeft()).append(" )\n");
+        builder.append("    .brcBottom            = ");
+        builder.append(" (").append(getBrcBottom()).append(" )\n");
+        builder.append("    .brcRight             = ");
+        builder.append(" (").append(getBrcRight()).append(" )\n");
 
-        buffer.append("    .ftsCellPaddingRight  = ");
-        buffer.append(" (").append(getFtsCellPaddingRight()).append(" )\n");
-
-        buffer.append("    .wCellSpacingLeft     = ");
-        buffer.append(" (").append(getWCellSpacingLeft()).append(" )\n");
-
-        buffer.append("    .wCellSpacingTop      = ");
-        buffer.append(" (").append(getWCellSpacingTop()).append(" )\n");
-
-        buffer.append("    .wCellSpacingBottom   = ");
-        buffer.append(" (").append(getWCellSpacingBottom()).append(" )\n");
-
-        buffer.append("    .wCellSpacingRight    = ");
-        buffer.append(" (").append(getWCellSpacingRight()).append(" )\n");
-
-        buffer.append("    .ftsCellSpacingLeft   = ");
-        buffer.append(" (").append(getFtsCellSpacingLeft()).append(" )\n");
-
-        buffer.append("    .ftsCellSpacingTop    = ");
-        buffer.append(" (").append(getFtsCellSpacingTop()).append(" )\n");
-
-        buffer.append("    .ftsCellSpacingBottom = ");
-        buffer.append(" (").append(getFtsCellSpacingBottom()).append(" )\n");
-
-        buffer.append("    .ftsCellSpacingRight  = ");
-        buffer.append(" (").append(getFtsCellSpacingRight()).append(" )\n");
-
-        buffer.append("    .brcTop               = ");
-        buffer.append(" (").append(getBrcTop()).append(" )\n");
-
-        buffer.append("    .brcLeft              = ");
-        buffer.append(" (").append(getBrcLeft()).append(" )\n");
-
-        buffer.append("    .brcBottom            = ");
-        buffer.append(" (").append(getBrcBottom()).append(" )\n");
-
-        buffer.append("    .brcRight             = ");
-        buffer.append(" (").append(getBrcRight()).append(" )\n");
-
-        buffer.append("[/TC]\n");
-        return buffer.toString();
+        builder.append("[/TC]\n");
+        return builder.toString();
     }
 
     /**
-     * Size of record (exluding 4 byte header)
-     */
-    public int getSize()
-    {
-        return 4 +  + 2 + 2 + 2 + 2 + 2 + 2 + 1 + 1 + 1 + 1 + 2 + 2 + 2 + 2 + 1 + 1 + 1 + 1 + 4 + 4 + 4 + 4;
-    }
-
-
-
-    /**
      * Get the rgf field for the TC record.
      */
+    @Internal
     public short getRgf()
     {
         return field_1_rgf;
@@ -187,602 +163,646 @@ public abstract class TCAbstractType
     /**
      * Set the rgf field for the TC record.
      */
-    public void setRgf(short field_1_rgf)
+    @Internal
+    public void setRgf( short field_1_rgf )
     {
         this.field_1_rgf = field_1_rgf;
     }
 
     /**
-     * Get the wWidth field for the TC record.
+     * Preferred cell width.
      */
+    @Internal
     public short getWWidth()
     {
         return field_2_wWidth;
     }
 
     /**
-     * Set the wWidth field for the TC record.
+     * Preferred cell width.
      */
-    public void setWWidth(short field_2_wWidth)
+    @Internal
+    public void setWWidth( short field_2_wWidth )
     {
         this.field_2_wWidth = field_2_wWidth;
     }
 
     /**
-     * Get the wCellPaddingLeft field for the TC record.
+     * Cell shading.
+     */
+    @Internal
+    public ShadingDescriptor getShd()
+    {
+        return field_3_shd;
+    }
+
+    /**
+     * Cell shading.
+     */
+    @Internal
+    public void setShd( ShadingDescriptor field_3_shd )
+    {
+        this.field_3_shd = field_3_shd;
+    }
+
+    /**
+     * Left cell margin/padding.
      */
+    @Internal
     public short getWCellPaddingLeft()
     {
-        return field_3_wCellPaddingLeft;
+        return field_4_wCellPaddingLeft;
     }
 
     /**
-     * Set the wCellPaddingLeft field for the TC record.
+     * Left cell margin/padding.
      */
-    public void setWCellPaddingLeft(short field_3_wCellPaddingLeft)
+    @Internal
+    public void setWCellPaddingLeft( short field_4_wCellPaddingLeft )
     {
-        this.field_3_wCellPaddingLeft = field_3_wCellPaddingLeft;
+        this.field_4_wCellPaddingLeft = field_4_wCellPaddingLeft;
     }
 
     /**
-     * Get the wCellPaddingTop field for the TC record.
+     * Top cell margin/padding.
      */
+    @Internal
     public short getWCellPaddingTop()
     {
-        return field_4_wCellPaddingTop;
+        return field_5_wCellPaddingTop;
     }
 
     /**
-     * Set the wCellPaddingTop field for the TC record.
+     * Top cell margin/padding.
      */
-    public void setWCellPaddingTop(short field_4_wCellPaddingTop)
+    @Internal
+    public void setWCellPaddingTop( short field_5_wCellPaddingTop )
     {
-        this.field_4_wCellPaddingTop = field_4_wCellPaddingTop;
+        this.field_5_wCellPaddingTop = field_5_wCellPaddingTop;
     }
 
     /**
-     * Get the wCellPaddingBottom field for the TC record.
+     * Bottom cell margin/padding.
      */
+    @Internal
     public short getWCellPaddingBottom()
     {
-        return field_5_wCellPaddingBottom;
+        return field_6_wCellPaddingBottom;
     }
 
     /**
-     * Set the wCellPaddingBottom field for the TC record.
+     * Bottom cell margin/padding.
      */
-    public void setWCellPaddingBottom(short field_5_wCellPaddingBottom)
+    @Internal
+    public void setWCellPaddingBottom( short field_6_wCellPaddingBottom )
     {
-        this.field_5_wCellPaddingBottom = field_5_wCellPaddingBottom;
+        this.field_6_wCellPaddingBottom = field_6_wCellPaddingBottom;
     }
 
     /**
-     * Get the wCellPaddingRight field for the TC record.
+     * Right cell margin/padding.
      */
+    @Internal
     public short getWCellPaddingRight()
     {
-        return field_6_wCellPaddingRight;
+        return field_7_wCellPaddingRight;
     }
 
     /**
-     * Set the wCellPaddingRight field for the TC record.
+     * Right cell margin/padding.
      */
-    public void setWCellPaddingRight(short field_6_wCellPaddingRight)
+    @Internal
+    public void setWCellPaddingRight( short field_7_wCellPaddingRight )
     {
-        this.field_6_wCellPaddingRight = field_6_wCellPaddingRight;
+        this.field_7_wCellPaddingRight = field_7_wCellPaddingRight;
     }
 
     /**
-     * Get the ftsCellPaddingLeft field for the TC record.
+     * Left cell margin/padding units.
      */
+    @Internal
     public byte getFtsCellPaddingLeft()
     {
-        return field_7_ftsCellPaddingLeft;
+        return field_8_ftsCellPaddingLeft;
     }
 
     /**
-     * Set the ftsCellPaddingLeft field for the TC record.
+     * Left cell margin/padding units.
      */
-    public void setFtsCellPaddingLeft(byte field_7_ftsCellPaddingLeft)
+    @Internal
+    public void setFtsCellPaddingLeft( byte field_8_ftsCellPaddingLeft )
     {
-        this.field_7_ftsCellPaddingLeft = field_7_ftsCellPaddingLeft;
+        this.field_8_ftsCellPaddingLeft = field_8_ftsCellPaddingLeft;
     }
 
     /**
-     * Get the ftsCellPaddingTop field for the TC record.
+     * Top cell margin/padding units.
      */
+    @Internal
     public byte getFtsCellPaddingTop()
     {
-        return field_8_ftsCellPaddingTop;
+        return field_9_ftsCellPaddingTop;
     }
 
     /**
-     * Set the ftsCellPaddingTop field for the TC record.
+     * Top cell margin/padding units.
      */
-    public void setFtsCellPaddingTop(byte field_8_ftsCellPaddingTop)
+    @Internal
+    public void setFtsCellPaddingTop( byte field_9_ftsCellPaddingTop )
     {
-        this.field_8_ftsCellPaddingTop = field_8_ftsCellPaddingTop;
+        this.field_9_ftsCellPaddingTop = field_9_ftsCellPaddingTop;
     }
 
     /**
-     * Get the ftsCellPaddingBottom field for the TC record.
+     * Bottom cell margin/padding units.
      */
+    @Internal
     public byte getFtsCellPaddingBottom()
     {
-        return field_9_ftsCellPaddingBottom;
+        return field_10_ftsCellPaddingBottom;
     }
 
     /**
-     * Set the ftsCellPaddingBottom field for the TC record.
+     * Bottom cell margin/padding units.
      */
-    public void setFtsCellPaddingBottom(byte field_9_ftsCellPaddingBottom)
+    @Internal
+    public void setFtsCellPaddingBottom( byte field_10_ftsCellPaddingBottom )
     {
-        this.field_9_ftsCellPaddingBottom = field_9_ftsCellPaddingBottom;
+        this.field_10_ftsCellPaddingBottom = field_10_ftsCellPaddingBottom;
     }
 
     /**
-     * Get the ftsCellPaddingRight field for the TC record.
+     * Right cell margin/padding units.
      */
+    @Internal
     public byte getFtsCellPaddingRight()
     {
-        return field_10_ftsCellPaddingRight;
+        return field_11_ftsCellPaddingRight;
     }
 
     /**
-     * Set the ftsCellPaddingRight field for the TC record.
+     * Right cell margin/padding units.
      */
-    public void setFtsCellPaddingRight(byte field_10_ftsCellPaddingRight)
+    @Internal
+    public void setFtsCellPaddingRight( byte field_11_ftsCellPaddingRight )
     {
-        this.field_10_ftsCellPaddingRight = field_10_ftsCellPaddingRight;
+        this.field_11_ftsCellPaddingRight = field_11_ftsCellPaddingRight;
     }
 
     /**
-     * Get the wCellSpacingLeft field for the TC record.
+     * Left cell spacing.
      */
+    @Internal
     public short getWCellSpacingLeft()
     {
-        return field_11_wCellSpacingLeft;
+        return field_12_wCellSpacingLeft;
     }
 
     /**
-     * Set the wCellSpacingLeft field for the TC record.
+     * Left cell spacing.
      */
-    public void setWCellSpacingLeft(short field_11_wCellSpacingLeft)
+    @Internal
+    public void setWCellSpacingLeft( short field_12_wCellSpacingLeft )
     {
-        this.field_11_wCellSpacingLeft = field_11_wCellSpacingLeft;
+        this.field_12_wCellSpacingLeft = field_12_wCellSpacingLeft;
     }
 
     /**
-     * Get the wCellSpacingTop field for the TC record.
+     * Top cell spacing.
      */
+    @Internal
     public short getWCellSpacingTop()
     {
-        return field_12_wCellSpacingTop;
+        return field_13_wCellSpacingTop;
     }
 
     /**
-     * Set the wCellSpacingTop field for the TC record.
+     * Top cell spacing.
      */
-    public void setWCellSpacingTop(short field_12_wCellSpacingTop)
+    @Internal
+    public void setWCellSpacingTop( short field_13_wCellSpacingTop )
     {
-        this.field_12_wCellSpacingTop = field_12_wCellSpacingTop;
+        this.field_13_wCellSpacingTop = field_13_wCellSpacingTop;
     }
 
     /**
-     * Get the wCellSpacingBottom field for the TC record.
+     * Bottom cell spacing.
      */
+    @Internal
     public short getWCellSpacingBottom()
     {
-        return field_13_wCellSpacingBottom;
+        return field_14_wCellSpacingBottom;
     }
 
     /**
-     * Set the wCellSpacingBottom field for the TC record.
+     * Bottom cell spacing.
      */
-    public void setWCellSpacingBottom(short field_13_wCellSpacingBottom)
+    @Internal
+    public void setWCellSpacingBottom( short field_14_wCellSpacingBottom )
     {
-        this.field_13_wCellSpacingBottom = field_13_wCellSpacingBottom;
+        this.field_14_wCellSpacingBottom = field_14_wCellSpacingBottom;
     }
 
     /**
-     * Get the wCellSpacingRight field for the TC record.
+     * Right cell spacing.
      */
+    @Internal
     public short getWCellSpacingRight()
     {
-        return field_14_wCellSpacingRight;
+        return field_15_wCellSpacingRight;
     }
 
     /**
-     * Set the wCellSpacingRight field for the TC record.
+     * Right cell spacing.
      */
-    public void setWCellSpacingRight(short field_14_wCellSpacingRight)
+    @Internal
+    public void setWCellSpacingRight( short field_15_wCellSpacingRight )
     {
-        this.field_14_wCellSpacingRight = field_14_wCellSpacingRight;
+        this.field_15_wCellSpacingRight = field_15_wCellSpacingRight;
     }
 
     /**
-     * Get the ftsCellSpacingLeft field for the TC record.
+     * Left cell spacing units.
      */
+    @Internal
     public byte getFtsCellSpacingLeft()
     {
-        return field_15_ftsCellSpacingLeft;
+        return field_16_ftsCellSpacingLeft;
     }
 
     /**
-     * Set the ftsCellSpacingLeft field for the TC record.
+     * Left cell spacing units.
      */
-    public void setFtsCellSpacingLeft(byte field_15_ftsCellSpacingLeft)
+    @Internal
+    public void setFtsCellSpacingLeft( byte field_16_ftsCellSpacingLeft )
     {
-        this.field_15_ftsCellSpacingLeft = field_15_ftsCellSpacingLeft;
+        this.field_16_ftsCellSpacingLeft = field_16_ftsCellSpacingLeft;
     }
 
     /**
-     * Get the ftsCellSpacingTop field for the TC record.
+     * Top cell spacing units.
      */
+    @Internal
     public byte getFtsCellSpacingTop()
     {
-        return field_16_ftsCellSpacingTop;
+        return field_17_ftsCellSpacingTop;
     }
 
     /**
-     * Set the ftsCellSpacingTop field for the TC record.
+     * Top cell spacing units.
      */
-    public void setFtsCellSpacingTop(byte field_16_ftsCellSpacingTop)
+    @Internal
+    public void setFtsCellSpacingTop( byte field_17_ftsCellSpacingTop )
     {
-        this.field_16_ftsCellSpacingTop = field_16_ftsCellSpacingTop;
+        this.field_17_ftsCellSpacingTop = field_17_ftsCellSpacingTop;
     }
 
     /**
-     * Get the ftsCellSpacingBottom field for the TC record.
+     * Bottom cell spacing units.
      */
+    @Internal
     public byte getFtsCellSpacingBottom()
     {
-        return field_17_ftsCellSpacingBottom;
+        return field_18_ftsCellSpacingBottom;
     }
 
     /**
-     * Set the ftsCellSpacingBottom field for the TC record.
+     * Bottom cell spacing units.
      */
-    public void setFtsCellSpacingBottom(byte field_17_ftsCellSpacingBottom)
+    @Internal
+    public void setFtsCellSpacingBottom( byte field_18_ftsCellSpacingBottom )
     {
-        this.field_17_ftsCellSpacingBottom = field_17_ftsCellSpacingBottom;
+        this.field_18_ftsCellSpacingBottom = field_18_ftsCellSpacingBottom;
     }
 
     /**
-     * Get the ftsCellSpacingRight field for the TC record.
+     * Right cell spacing units.
      */
+    @Internal
     public byte getFtsCellSpacingRight()
     {
-        return field_18_ftsCellSpacingRight;
+        return field_19_ftsCellSpacingRight;
     }
 
     /**
-     * Set the ftsCellSpacingRight field for the TC record.
+     * Right cell spacing units.
      */
-    public void setFtsCellSpacingRight(byte field_18_ftsCellSpacingRight)
+    @Internal
+    public void setFtsCellSpacingRight( byte field_19_ftsCellSpacingRight )
     {
-        this.field_18_ftsCellSpacingRight = field_18_ftsCellSpacingRight;
+        this.field_19_ftsCellSpacingRight = field_19_ftsCellSpacingRight;
     }
 
     /**
-     * Get the brcTop field for the TC record.
+     * Top border.
      */
+    @Internal
     public BorderCode getBrcTop()
     {
-        return field_19_brcTop;
+        return field_20_brcTop;
     }
 
     /**
-     * Set the brcTop field for the TC record.
+     * Top border.
      */
-    public void setBrcTop(BorderCode field_19_brcTop)
+    @Internal
+    public void setBrcTop( BorderCode field_20_brcTop )
     {
-        this.field_19_brcTop = field_19_brcTop;
+        this.field_20_brcTop = field_20_brcTop;
     }
 
     /**
-     * Get the brcLeft field for the TC record.
+     * Left border.
      */
+    @Internal
     public BorderCode getBrcLeft()
     {
-        return field_20_brcLeft;
+        return field_21_brcLeft;
     }
 
     /**
-     * Set the brcLeft field for the TC record.
+     * Left border.
      */
-    public void setBrcLeft(BorderCode field_20_brcLeft)
+    @Internal
+    public void setBrcLeft( BorderCode field_21_brcLeft )
     {
-        this.field_20_brcLeft = field_20_brcLeft;
+        this.field_21_brcLeft = field_21_brcLeft;
     }
 
     /**
-     * Get the brcBottom field for the TC record.
+     * Bottom border.
      */
+    @Internal
     public BorderCode getBrcBottom()
     {
-        return field_21_brcBottom;
+        return field_22_brcBottom;
     }
 
     /**
-     * Set the brcBottom field for the TC record.
+     * Bottom border.
      */
-    public void setBrcBottom(BorderCode field_21_brcBottom)
+    @Internal
+    public void setBrcBottom( BorderCode field_22_brcBottom )
     {
-        this.field_21_brcBottom = field_21_brcBottom;
+        this.field_22_brcBottom = field_22_brcBottom;
     }
 
     /**
-     * Get the brcRight field for the TC record.
+     * Right border.
      */
+    @Internal
     public BorderCode getBrcRight()
     {
-        return field_22_brcRight;
+        return field_23_brcRight;
     }
 
     /**
-     * Set the brcRight field for the TC record.
+     * Right border.
      */
-    public void setBrcRight(BorderCode field_22_brcRight)
+    @Internal
+    public void setBrcRight( BorderCode field_23_brcRight )
     {
-        this.field_22_brcRight = field_22_brcRight;
+        this.field_23_brcRight = field_23_brcRight;
     }
 
     /**
      * Sets the fFirstMerged field value.
-     * 
+     * When 1, cell is first cell of a range of cells that have been merged. When a cell is merged, the display areas of the merged cells are consolidated and the text within the cells is interpreted as belonging to one text stream for purposes of calculating line breaks.
      */
-    public void setFFirstMerged(boolean value)
+    @Internal
+    public void setFFirstMerged( boolean value )
     {
         field_1_rgf = (short)fFirstMerged.setBoolean(field_1_rgf, value);
-
-        
     }
 
     /**
-     * 
+     * When 1, cell is first cell of a range of cells that have been merged. When a cell is merged, the display areas of the merged cells are consolidated and the text within the cells is interpreted as belonging to one text stream for purposes of calculating line breaks.
      * @return  the fFirstMerged field value.
      */
+    @Internal
     public boolean isFFirstMerged()
     {
         return fFirstMerged.isSet(field_1_rgf);
-        
     }
 
     /**
      * Sets the fMerged field value.
-     * 
+     * When 1, cell has been merged with preceding cell
      */
-    public void setFMerged(boolean value)
+    @Internal
+    public void setFMerged( boolean value )
     {
         field_1_rgf = (short)fMerged.setBoolean(field_1_rgf, value);
-
-        
     }
 
     /**
-     * 
+     * When 1, cell has been merged with preceding cell
      * @return  the fMerged field value.
      */
+    @Internal
     public boolean isFMerged()
     {
         return fMerged.isSet(field_1_rgf);
-        
     }
 
     /**
      * Sets the fVertical field value.
-     * 
+     * When 1, cell has vertical text flow
      */
-    public void setFVertical(boolean value)
+    @Internal
+    public void setFVertical( boolean value )
     {
         field_1_rgf = (short)fVertical.setBoolean(field_1_rgf, value);
-
-        
     }
 
     /**
-     * 
+     * When 1, cell has vertical text flow
      * @return  the fVertical field value.
      */
+    @Internal
     public boolean isFVertical()
     {
         return fVertical.isSet(field_1_rgf);
-        
     }
 
     /**
      * Sets the fBackward field value.
-     * 
+     * For a vertical table cell, text flow is bottom to top when 1 and is bottom to top when 0
      */
-    public void setFBackward(boolean value)
+    @Internal
+    public void setFBackward( boolean value )
     {
         field_1_rgf = (short)fBackward.setBoolean(field_1_rgf, value);
-
-        
     }
 
     /**
-     * 
+     * For a vertical table cell, text flow is bottom to top when 1 and is bottom to top when 0
      * @return  the fBackward field value.
      */
+    @Internal
     public boolean isFBackward()
     {
         return fBackward.isSet(field_1_rgf);
-        
     }
 
     /**
      * Sets the fRotateFont field value.
-     * 
+     * When 1, cell has rotated characters (i.e. uses @font)
      */
-    public void setFRotateFont(boolean value)
+    @Internal
+    public void setFRotateFont( boolean value )
     {
         field_1_rgf = (short)fRotateFont.setBoolean(field_1_rgf, value);
-
-        
     }
 
     /**
-     * 
+     * When 1, cell has rotated characters (i.e. uses @font)
      * @return  the fRotateFont field value.
      */
+    @Internal
     public boolean isFRotateFont()
     {
         return fRotateFont.isSet(field_1_rgf);
-        
     }
 
     /**
      * Sets the fVertMerge field value.
-     * 
+     * When 1, cell is vertically merged with the cell(s) above and/or below. When cells are vertically merged, the display area of the merged cells are consolidated. The consolidated area is used to display the contents of the first vertically merged cell (the cell with fVertRestart set to 1), and all other vertically merged cells (those with fVertRestart set to 0) must be empty. Cells can only be merged vertically if their left and right boundaries are (nearly) identical (i.e. if corresponding entries in rgdxaCenter of the table rows differ by at most 3).
      */
-    public void setFVertMerge(boolean value)
+    @Internal
+    public void setFVertMerge( boolean value )
     {
         field_1_rgf = (short)fVertMerge.setBoolean(field_1_rgf, value);
-
-        
     }
 
     /**
-     * 
+     * When 1, cell is vertically merged with the cell(s) above and/or below. When cells are vertically merged, the display area of the merged cells are consolidated. The consolidated area is used to display the contents of the first vertically merged cell (the cell with fVertRestart set to 1), and all other vertically merged cells (those with fVertRestart set to 0) must be empty. Cells can only be merged vertically if their left and right boundaries are (nearly) identical (i.e. if corresponding entries in rgdxaCenter of the table rows differ by at most 3).
      * @return  the fVertMerge field value.
      */
+    @Internal
     public boolean isFVertMerge()
     {
         return fVertMerge.isSet(field_1_rgf);
-        
     }
 
     /**
      * Sets the fVertRestart field value.
-     * 
+     * When 1, the cell is the first of a set of vertically merged cells. The contents of a cell with fVertStart set to 1 are displayed in the consolidated area belonging to the entire set of vertically merged cells. Vertically merged cells with fVertRestart set to 0 must be empty.
      */
-    public void setFVertRestart(boolean value)
+    @Internal
+    public void setFVertRestart( boolean value )
     {
         field_1_rgf = (short)fVertRestart.setBoolean(field_1_rgf, value);
-
-        
     }
 
     /**
-     * 
+     * When 1, the cell is the first of a set of vertically merged cells. The contents of a cell with fVertStart set to 1 are displayed in the consolidated area belonging to the entire set of vertically merged cells. Vertically merged cells with fVertRestart set to 0 must be empty.
      * @return  the fVertRestart field value.
      */
+    @Internal
     public boolean isFVertRestart()
     {
         return fVertRestart.isSet(field_1_rgf);
-        
     }
 
     /**
      * Sets the vertAlign field value.
-     * 
+     * Specifies the alignment of the cell contents relative to text flow (e.g. in a cell with bottom to top text flow and bottom vertical alignment, the text is shifted horizontally to match the cell's right boundary)
      */
-    public void setVertAlign(byte value)
+    @Internal
+    public void setVertAlign( byte value )
     {
         field_1_rgf = (short)vertAlign.setValue(field_1_rgf, value);
-
-        
     }
 
     /**
-     * 
+     * Specifies the alignment of the cell contents relative to text flow (e.g. in a cell with bottom to top text flow and bottom vertical alignment, the text is shifted horizontally to match the cell's right boundary)
      * @return  the vertAlign field value.
      */
+    @Internal
     public byte getVertAlign()
     {
         return ( byte )vertAlign.getValue(field_1_rgf);
-        
     }
 
     /**
      * Sets the ftsWidth field value.
-     * 
+     * Units for wWidth
      */
-    public void setFtsWidth(byte value)
+    @Internal
+    public void setFtsWidth( byte value )
     {
         field_1_rgf = (short)ftsWidth.setValue(field_1_rgf, value);
-
-        
     }
 
     /**
-     * 
+     * Units for wWidth
      * @return  the ftsWidth field value.
      */
+    @Internal
     public byte getFtsWidth()
     {
         return ( byte )ftsWidth.getValue(field_1_rgf);
-        
     }
 
     /**
      * Sets the fFitText field value.
-     * 
+     * When 1, make the text fit the table cell
      */
-    public void setFFitText(boolean value)
+    @Internal
+    public void setFFitText( boolean value )
     {
         field_1_rgf = (short)fFitText.setBoolean(field_1_rgf, value);
-
-        
     }
 
     /**
-     * 
+     * When 1, make the text fit the table cell
      * @return  the fFitText field value.
      */
+    @Internal
     public boolean isFFitText()
     {
         return fFitText.isSet(field_1_rgf);
-        
     }
 
     /**
      * Sets the fNoWrap field value.
-     * 
+     * When 1, do not allow text to wrap in the table cell
      */
-    public void setFNoWrap(boolean value)
+    @Internal
+    public void setFNoWrap( boolean value )
     {
         field_1_rgf = (short)fNoWrap.setBoolean(field_1_rgf, value);
-
-        
     }
 
     /**
-     * 
+     * When 1, do not allow text to wrap in the table cell
      * @return  the fNoWrap field value.
      */
+    @Internal
     public boolean isFNoWrap()
     {
         return fNoWrap.isSet(field_1_rgf);
-        
     }
 
     /**
      * Sets the fUnused field value.
-     * 
+     * Not used
      */
-    public void setFUnused(byte value)
+    @Internal
+    public void setFUnused( byte value )
     {
         field_1_rgf = (short)fUnused.setValue(field_1_rgf, value);
-
-        
     }
 
     /**
-     * 
+     * Not used
      * @return  the fUnused field value.
      */
+    @Internal
     public byte getFUnused()
     {
         return ( byte )fUnused.getValue(field_1_rgf);
-        
     }
 
-
 }  // END OF CLASS
-
-
-
-



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org