diff --git a/src/documentation/content/xdocs/status.xml b/src/documentation/content/xdocs/status.xml index bf8b7bd95..c4762c753 100644 --- a/src/documentation/content/xdocs/status.xml +++ b/src/documentation/content/xdocs/status.xml @@ -33,6 +33,8 @@ + 47356 - removed unused private fields in HWPF BorderCode + 47355 - Improved HWPF TableCell to expose TableCellDescriptor 46610 - Improved HWPF to better handle unicode 47261 - Fixed SlideShow#removeSlide to remove references to Notes 47375 - Fixed HSSFHyperlink to correctly set inter-sheet and file links diff --git a/src/scratchpad/src/org/apache/poi/hwpf/usermodel/BorderCode.java b/src/scratchpad/src/org/apache/poi/hwpf/usermodel/BorderCode.java index 63e534581..ff5191e78 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/usermodel/BorderCode.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/usermodel/BorderCode.java @@ -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() { diff --git a/src/scratchpad/src/org/apache/poi/hwpf/usermodel/TableCell.java b/src/scratchpad/src/org/apache/poi/hwpf/usermodel/TableCell.java index 19c0f7d06..ec8425c3e 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/usermodel/TableCell.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/usermodel/TableCell.java @@ -104,4 +104,9 @@ public final class TableCell return _width; } + /** Returns the TableCellDescriptor for this cell.*/ + public TableCellDescriptor getDescriptor(){ + return _tcd; + } + }