You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ni...@apache.org on 2015/04/30 12:30:06 UTC
svn commit: r1676950 - in /poi/site: publish/spreadsheet/how-to.html
src/documentation/content/xdocs/spreadsheet/how-to.xml
Author: nick
Date: Thu Apr 30 10:30:05 2015
New Revision: 1676950
URL: http://svn.apache.org/r1676950
Log:
Add a link to the fuller XLSX2CSV example
Modified:
poi/site/publish/spreadsheet/how-to.html
poi/site/src/documentation/content/xdocs/spreadsheet/how-to.xml
Modified: poi/site/publish/spreadsheet/how-to.html
URL: http://svn.apache.org/viewvc/poi/site/publish/spreadsheet/how-to.html?rev=1676950&r1=1676949&r2=1676950&view=diff
==============================================================================
--- poi/site/publish/spreadsheet/how-to.html (original)
+++ poi/site/publish/spreadsheet/how-to.html Thu Apr 30 10:30:05 2015
@@ -851,7 +851,7 @@ public class ExampleEventUserModel {
if(nextIsString) {
int idx = Integer.parseInt(lastContents);
lastContents = new XSSFRichTextString(sst.getEntryAt(idx)).toString();
- nextIsString = false;
+ nextIsString = false;
}
// v => contents of a cell
@@ -874,6 +874,14 @@ public class ExampleEventUserModel {
}
}
</pre>
+
+<p>
+ For a fuller example, including support for fetching number formatting
+ information and applying it to numeric cells (eg to format dates or
+ percentages), please see
+ <a href="https://svn.apache.org/repos/asf/poi/trunk/src/examples/src/org/apache/poi/xssf/eventusermodel/XLSX2CSV.java">the XLSX2CSV example in svn</a>
+
+</p>
<a name="sxssf"></a>
Modified: poi/site/src/documentation/content/xdocs/spreadsheet/how-to.xml
URL: http://svn.apache.org/viewvc/poi/site/src/documentation/content/xdocs/spreadsheet/how-to.xml?rev=1676950&r1=1676949&r2=1676950&view=diff
==============================================================================
--- poi/site/src/documentation/content/xdocs/spreadsheet/how-to.xml (original)
+++ poi/site/src/documentation/content/xdocs/spreadsheet/how-to.xml Thu Apr 30 10:30:05 2015
@@ -601,7 +601,7 @@ public class ExampleEventUserModel {
if(nextIsString) {
int idx = Integer.parseInt(lastContents);
lastContents = new XSSFRichTextString(sst.getEntryAt(idx)).toString();
- nextIsString = false;
+ nextIsString = false;
}
// v => contents of a cell
@@ -624,6 +624,12 @@ public class ExampleEventUserModel {
}
}
]]></source>
+ <p>
+ For a fuller example, including support for fetching number formatting
+ information and applying it to numeric cells (eg to format dates or
+ percentages), please see
+ <link href="https://svn.apache.org/repos/asf/poi/trunk/src/examples/src/org/apache/poi/xssf/eventusermodel/XLSX2CSV.java">the XLSX2CSV example in svn</link>
+ </p>
</section>
<anchor id="sxssf"/>
<section><title>SXSSF (Streaming Usermodel API)</title>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org