Author: nick
Date: Fri Mar 25 18:17:45 2011
New Revision: 1085501
URL: http://svn.apache.org/viewvc?rev=1085501&view=rev
Log:
More NPOIFS constructors, and document recent fixes
Modified:
poi/trunk/src/documentation/content/xdocs/status.xml
poi/trunk/src/scratchpad/src/org/apache/poi/hpbf/extractor/PublisherTextExtractor.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=1085501&r1=1085500&r2=1085501&view=diff
==============================================================================
--- poi/trunk/src/documentation/content/xdocs/status.xml (original)
+++ poi/trunk/src/documentation/content/xdocs/status.xml Fri Mar 25 18:17:45
2011
@@ -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>
Modified:
poi/trunk/src/scratchpad/src/org/apache/poi/hpbf/extractor/PublisherTextExtractor.java
URL:
http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hpbf/extractor/PublisherTextExtractor.java?rev=1085501&r1=1085500&r2=1085501&view=diff
==============================================================================
---
poi/trunk/src/scratchpad/src/org/apache/poi/hpbf/extractor/PublisherTextExtractor.java
(original)
+++
poi/trunk/src/scratchpad/src/org/apache/poi/hpbf/extractor/PublisherTextExtractor.java
Fri Mar 25 18:17:45 2011
@@ -27,6 +27,7 @@ import org.apache.poi.hpbf.model.qcbits.
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 PublisherTextExtracto
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));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]