]> source.dussan.org Git - poi.git/commitdiff
exposed TableCellDescriptor in HWPF TableCell, also removed unused private fields...
authorYegor Kozlov <yegor@apache.org>
Fri, 19 Jun 2009 14:01:37 +0000 (14:01 +0000)
committerYegor Kozlov <yegor@apache.org>
Fri, 19 Jun 2009 14:01:37 +0000 (14:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@786511 13f79535-47bb-0310-9956-ffa450edef68

src/documentation/content/xdocs/status.xml
src/scratchpad/src/org/apache/poi/hwpf/usermodel/BorderCode.java
src/scratchpad/src/org/apache/poi/hwpf/usermodel/TableCell.java

index bf8b7bd95bf96dd0dd3002095a92840a13c5584f..c4762c7537967c917df864734e5434b2813b8093 100644 (file)
@@ -33,6 +33,8 @@
 
     <changes>
         <release version="3.5-beta7" date="2009-??-??">
+           <action dev="POI-DEVELOPERS" type="add">47356 - removed unused private fields in HWPF BorderCode</action>
+           <action dev="POI-DEVELOPERS" type="add">47355 - Improved  HWPF TableCell to expose TableCellDescriptor</action>
            <action dev="POI-DEVELOPERS" type="fix">46610 - Improved HWPF to better handle unicode</action>
            <action dev="POI-DEVELOPERS" type="fix">47261 - Fixed SlideShow#removeSlide to remove references to Notes</action>
            <action dev="POI-DEVELOPERS" type="fix">47375 - Fixed HSSFHyperlink to correctly set inter-sheet and file links</action>
index 63e534581ff6f2b408e621ec963d3c73d7975b0e..ff5191e781dadf4e36c7e5457ae1b4daa76cfa0a 100644 (file)
@@ -26,13 +26,7 @@ public final class BorderCode
 {
   public static final int SIZE = 4;
   private short _info;
-    private final static BitField _dptLineWidth = BitFieldFactory.getInstance(0xff);
-    private final static BitField _brcType = BitFieldFactory.getInstance(0xff00);
   private short _info2;
-    private final static BitField _ico = BitFieldFactory.getInstance(0xff);
-    private final static BitField _dptDpace = BitFieldFactory.getInstance(0x1f00);
-    private final static BitField _fShadow = BitFieldFactory.getInstance(0x2000);
-    private final static BitField _fFrame = BitFieldFactory.getInstance(0x4000);
 
   public BorderCode()
   {
index 19c0f7d064aa8f69cb4a8bb14874c1acb18e0f4a..ec8425c3e615dc866eac5a43fc8fcd62748979e1 100644 (file)
@@ -104,4 +104,9 @@ public final class TableCell
     return _width;
   }
 
+  /** Returns the TableCellDescriptor for this cell.*/
+  public TableCellDescriptor getDescriptor(){
+       return _tcd;
+  }
+
 }