exposed TableCellDescriptor in HWPF TableCell, also removed unused private fields in BorderCode, see Bugzilla 47355 and 47356

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@786511 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yegor Kozlov 2009-06-19 14:01:37 +00:00
parent 6ce1ef7d06
commit 2ef203cac9
3 changed files with 7 additions and 6 deletions

View 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>

View 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()
{

View File

@ -104,4 +104,9 @@ public final class TableCell
return _width;
}
/** Returns the TableCellDescriptor for this cell.*/
public TableCellDescriptor getDescriptor(){
return _tcd;
}
}