Java Mailing List Archive

http://www.java2.5341.com/

Home » user.poi »

Can't find hssf eventusermodel formula & DateCell related classes
building XLS2CSVmra example app

Dave Madole

2008-09-15

Replies: Find Java Web Hosting

Author LoginPost Reply

Hi,

When I try to build the XLS2CSVmra app with the poi jar file I get
references to some missing classes and a ³package missing² message.

I can¹t find them in the source, either.

XLS2CSVmra.java:29: package
org.apache.poi.hssf.eventusermodel.EventWorkbookBuilder does not exist
import
org.apache.poi.hssf.eventusermodel.EventWorkbookBuilder.SheetRecordCollectin
gListener;
                                        ^
LS2CSVmra.java:65: cannot find symbol
symbol : class SheetRecordCollectingListener
location: class org.apache.poi.hssf.eventusermodel.examples.XLS2CSVmra
    private SheetRecordCollectingListener workbookBuildingListener;
...
XLS2CSVmra.java:116: cannot find symbol
symbol : class SheetRecordCollectingListener
location: class org.apache.poi.hssf.eventusermodel.examples.XLS2CSVmra
               workbookBuildingListener = new
SheetRecordCollectingListener(formatListener);
                                    ^
...
XLS2CSVmra.java:177: cannot find symbol
symbol : method
formatNumberDateCell(org.apache.poi.hssf.record.FormulaRecord)
location: class
org.apache.poi.hssf.eventusermodel.FormatTrackingHSSFListener
                    thisStr =
formatListener.formatNumberDateCell(frec);
                                    ^
...
XLS2CSVmra.java:228: cannot find symbol
symbol : method
formatNumberDateCell(org.apache.poi.hssf.record.NumberRecord)
location: class
org.apache.poi.hssf.eventusermodel.FormatTrackingHSSFListener
       thisStr = formatListener.formatNumberDateCell(numrec);
                       ^

5 errors

I¹ve looked in the scratchpad and contrib jars, too.

I did find some stuff in the beta release (e.g.,
EventWorkbookBuilder$SheetRecordCollectingListener)
but I¹m not sure what to do with the ³$² or what it means.

I¹m not a ³real² Java programmer, I just want to build this app and modify
it to dump a CSV to a Perl based system, so if I¹m missing something
obvious... sorry. I would like to have what does work of formula extraction
using the event model, though.

Thanks,

Dave

------ End of Forwarded Message


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.