I am getting a class cast exception on the following in my listener:

                case SeriesTextRecord.sid:
                    String text = (SeriesTextRecord) record.getText();

When I prepend the case statement with the following:
            if (record instanceof UnknownRecord) {
                UnknownRecord ur = (UnknownRecord) record;
                System.out.println("Excel extractor can't handle record
type "+ur.getSid());
                return;
            }

I get a lot of:
Excel extractor can't handle record type 4109

Which is the sid for SeriesTextRecord.  Looking at
org.apache.poi.hssf.record.RecordFactory, SeriesTextRecord.class is
included in neither of the lists.  Should it be?

Jeff Wang
diCarta, Inc.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Reply via email to