From: Nick Burch
Date: Mon, 18 Jun 2007 18:09:30 +0000 (+0000)
Subject: Add information on the example code for the missing record aware event code
X-Git-Tag: REL_3_0_1_RC3~18
X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f05388b26119bce266d8ec806bd01f58c5344b70;p=poi.git
Add information on the example code for the missing record aware event code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@548426 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/src/documentation/content/xdocs/hssf/how-to.xml b/src/documentation/content/xdocs/hssf/how-to.xml
index 03c359ffce..cc578afec5 100644
--- a/src/documentation/content/xdocs/hssf/how-to.xml
+++ b/src/documentation/content/xdocs/hssf/how-to.xml
@@ -454,6 +454,15 @@ it your HSSFListener. Then, register the MissingRecordAwareHSSFListener
to the event model, and start that as normal.
+One example use for this API is to write a CSV outputter, which always
+outputs a minimum number of columns, even where the file doesn't contain
+some of the rows or cells. It can be found at
+/src/scratchpad/examples/src/org/apache/poi/hssf/eventusermodel/examples/XLS2CSVmra.java,
+and may be called on the command line, or from within your own code.
+The latest version is always available from
+subversion.
+
+
This code is currently in the scratchpad section, so you will either
need to include the scratchpad jar on your classpath, or build from a
subversion checkout.