From: Nick Burch Date: Wed, 12 Nov 2008 15:25:36 +0000 (+0000) Subject: Include the sheet number in the output of XLS2CSVmra X-Git-Tag: REL_3_5_BETA4~32 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0c8139e8bec57539ef9c1fd23ffb2b4fcc1936c8;p=poi.git Include the sheet number in the output of XLS2CSVmra git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@713398 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/documentation/content/xdocs/changes.xml b/src/documentation/content/xdocs/changes.xml index 04202047df..a641b9f4de 100644 --- a/src/documentation/content/xdocs/changes.xml +++ b/src/documentation/content/xdocs/changes.xml @@ -37,6 +37,7 @@ + Include the sheet number in the output of XLS2CSVmra 46043 - correctly write out HPSF properties with HWPF 45973 - added CreationHelper.createFormulaEvaluator(), implemeted both for HSSF and XSSF 46182 - fixed Slideshow.readPictures() to skip pictures with invalid headers diff --git a/src/documentation/content/xdocs/status.xml b/src/documentation/content/xdocs/status.xml index 4294967843..803d9cd6ea 100644 --- a/src/documentation/content/xdocs/status.xml +++ b/src/documentation/content/xdocs/status.xml @@ -34,6 +34,7 @@ + Include the sheet number in the output of XLS2CSVmra 46043 - correctly write out HPSF properties with HWPF 45973 - added CreationHelper.createFormulaEvaluator(), implemeted both for HSSF and XSSF 46182 - fixed Slideshow.readPictures() to skip pictures with invalid headers diff --git a/src/examples/src/org/apache/poi/hssf/eventusermodel/examples/XLS2CSVmra.java b/src/examples/src/org/apache/poi/hssf/eventusermodel/examples/XLS2CSVmra.java index 2bf6187498..4c1119137e 100644 --- a/src/examples/src/org/apache/poi/hssf/eventusermodel/examples/XLS2CSVmra.java +++ b/src/examples/src/org/apache/poi/hssf/eventusermodel/examples/XLS2CSVmra.java @@ -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;