]> source.dussan.org Git - poi.git/commitdiff
Include the sheet number in the output of XLS2CSVmra
authorNick Burch <nick@apache.org>
Wed, 12 Nov 2008 15:25:36 +0000 (15:25 +0000)
committerNick Burch <nick@apache.org>
Wed, 12 Nov 2008 15:25:36 +0000 (15:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713398 13f79535-47bb-0310-9956-ffa450edef68

src/documentation/content/xdocs/changes.xml
src/documentation/content/xdocs/status.xml
src/examples/src/org/apache/poi/hssf/eventusermodel/examples/XLS2CSVmra.java

index 04202047df2b59bdb80134c41e1c11fa51d57f2f..a641b9f4de187514de548b5dc1a71ea5bef853c8 100644 (file)
@@ -37,6 +37,7 @@
 
                <!-- Don't forget to update status.xml too! -->
         <release version="3.5-beta4" date="2008-??-??">
+           <action dev="POI-DEVELOPERS" type="add">Include the sheet number in the output of XLS2CSVmra</action>
            <action dev="POI-DEVELOPERS" type="fix">46043 - correctly write out HPSF properties with HWPF</action>
            <action dev="POI-DEVELOPERS" type="add">45973 - added CreationHelper.createFormulaEvaluator(), implemeted both for HSSF and XSSF</action>
            <action dev="POI-DEVELOPERS" type="fix">46182 - fixed Slideshow.readPictures() to skip pictures with invalid headers</action>
index 429496784340647d78924b770d8f2f2a20950cec..803d9cd6ead2ca13895f4aa8fc5e32a2d394629d 100644 (file)
@@ -34,6 +34,7 @@
        <!-- Don't forget to update changes.xml too! -->
     <changes>
         <release version="3.5-beta4" date="2008-??-??">
+           <action dev="POI-DEVELOPERS" type="add">Include the sheet number in the output of XLS2CSVmra</action>
            <action dev="POI-DEVELOPERS" type="fix">46043 - correctly write out HPSF properties with HWPF</action>
            <action dev="POI-DEVELOPERS" type="add">45973 - added CreationHelper.createFormulaEvaluator(), implemeted both for HSSF and XSSF</action>
            <action dev="POI-DEVELOPERS" type="fix">46182 - fixed Slideshow.readPictures() to skip pictures with invalid headers</action>
index 2bf618749827b54c6dc52423751ad8dc1f5b2fe2..4c1119137e1d3385c7b52cf9d2274897c8068426 100644 (file)
@@ -159,7 +159,10 @@ public class XLS2CSVmra implements HSSFListener {
                                        orderedBSRs = BoundSheetRecord.orderByBofPosition(boundSheetRecords);
                                }
                                output.println();
-                               output.println(orderedBSRs[sheetIndex].getSheetname() + ":");
+                               output.println( 
+                                               orderedBSRs[sheetIndex].getSheetname() +
+                                               " [" + (sheetIndex+1) + "]:"
+                               );
                        }
                        break;