You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ye...@apache.org on 2009/06/19 16:01:38 UTC

svn commit: r786511 - in /poi/trunk/src: documentation/content/xdocs/status.xml scratchpad/src/org/apache/poi/hwpf/usermodel/BorderCode.java scratchpad/src/org/apache/poi/hwpf/usermodel/TableCell.java

Author: yegor
Date: Fri Jun 19 14:01:37 2009
New Revision: 786511

URL: http://svn.apache.org/viewvc?rev=786511&view=rev
Log:
exposed TableCellDescriptor in HWPF TableCell, also removed unused private fields in BorderCode, see Bugzilla 47355 and 47356 

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

Modified: poi/trunk/src/documentation/content/xdocs/status.xml
URL: http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/status.xml?rev=786511&r1=786510&r2=786511&view=diff
==============================================================================
--- poi/trunk/src/documentation/content/xdocs/status.xml (original)
+++ poi/trunk/src/documentation/content/xdocs/status.xml Fri Jun 19 14:01:37 2009
@@ -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>

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/BorderCode.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/BorderCode.java?rev=786511&r1=786510&r2=786511&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/BorderCode.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/BorderCode.java Fri Jun 19 14:01:37 2009
@@ -26,13 +26,7 @@
 {
   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()
   {

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/TableCell.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/TableCell.java?rev=786511&r1=786510&r2=786511&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/TableCell.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hwpf/usermodel/TableCell.java Fri Jun 19 14:01:37 2009
@@ -104,4 +104,9 @@
     return _width;
   }
 
+  /** Returns the TableCellDescriptor for this cell.*/
+  public TableCellDescriptor getDescriptor(){
+  	return _tcd;
+  }
+
 }



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