git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085501 13f79535-47bb-0310-9956-ffa450edef68tags/REL_3_8_BETA2
@@ -34,6 +34,9 @@ | |||
<changes> | |||
<release version="3.8-beta2" date="2011-??-??"> | |||
<action dev="poi-developers" type="add">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</action> | |||
<action dev="poi-developers" type="fix">Fixed NPOIFS handling of new and empty Document Nodes</action> | |||
<action dev="poi-developers" type="fix">Fixed NPOIFS access to Document Nodes not in the top level directory</action> | |||
<action dev="poi-developers" type="fix">50841 - Improved SpreadSheet DataFormatter to handle scientific notation, invalid dates and format spacers</action> | |||
<action dev="poi-developers" type="fix">49381 - Correct createFreezePane in XSSF, so that the left row/column matches the documentation + HSSF</action> | |||
<action dev="poi-developers" type="fix">49253 - When setting repeating rows and columns for XSSF, don't break the print settings if they were already there</action> |
@@ -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)); | |||
} |