diff --git a/src/documentation/content/xdocs/status.xml b/src/documentation/content/xdocs/status.xml index 9cb0bccc23..23f60da20b 100644 --- a/src/documentation/content/xdocs/status.xml +++ b/src/documentation/content/xdocs/status.xml @@ -34,6 +34,9 @@ + Added NPOIFS constructors to most POIDocument classes and their extractors, and more widely deprecated the Document(DirectoryNode, POIFSFileSystem) constructor in favour of the more general Document(DirectoryNode) one + Fixed NPOIFS handling of new and empty Document Nodes + Fixed NPOIFS access to Document Nodes not in the top level directory 50841 - Improved SpreadSheet DataFormatter to handle scientific notation, invalid dates and format spacers 49381 - Correct createFreezePane in XSSF, so that the left row/column matches the documentation + HSSF 49253 - When setting repeating rows and columns for XSSF, don't break the print settings if they were already there diff --git a/src/scratchpad/src/org/apache/poi/hpbf/extractor/PublisherTextExtractor.java b/src/scratchpad/src/org/apache/poi/hpbf/extractor/PublisherTextExtractor.java index e0db9df379..be238b6f30 100644 --- a/src/scratchpad/src/org/apache/poi/hpbf/extractor/PublisherTextExtractor.java +++ b/src/scratchpad/src/org/apache/poi/hpbf/extractor/PublisherTextExtractor.java @@ -27,6 +27,7 @@ import org.apache.poi.hpbf.model.qcbits.QCBit; import org.apache.poi.hpbf.model.qcbits.QCTextBit; import org.apache.poi.hpbf.model.qcbits.QCPLCBit.Type12; import org.apache.poi.poifs.filesystem.DirectoryNode; +import org.apache.poi.poifs.filesystem.NPOIFSFileSystem; import org.apache.poi.poifs.filesystem.POIFSFileSystem; /** @@ -46,6 +47,9 @@ public final class PublisherTextExtractor extends POIOLE2TextExtractor { public PublisherTextExtractor(POIFSFileSystem fs) throws IOException { this(new HPBFDocument(fs)); } + public PublisherTextExtractor(NPOIFSFileSystem fs) throws IOException { + this(new HPBFDocument(fs)); + } public PublisherTextExtractor(InputStream is) throws IOException { this(new POIFSFileSystem(is)); }