Bug 8964 - Event API not recognising named range records from xls
Summary: Event API not recognising named range records from xls
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.0-dev
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-10 04:15 UTC by Sivan Kievit
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sivan Kievit 2002-05-10 04:15:29 UTC
The 'org.apache.poi.hssf.eventmodel.HSSFEventFactory' was not calling
'processRecord(Record record)' for record types
'org.apache.poi.hssf.record.NameRecord'.
'org.apache.poi.hssf.record.NamedRecord' is used to define a named range in a
work book. These records are not being read due to the omission of that
'NameRecord.class' member from 'private static final Class[] records' in the
class 'org.apache.poi.hssf.record.RecordFactory'.
Comment 1 Andy Oliver 2002-05-10 12:15:44 UTC
please submit a patch which adds it to the recordfactory and I'll apply it.
Comment 2 Andy Oliver 2002-05-10 12:35:19 UTC
applied patch submitted (incorrectly) to the list - in the future please attach
patches to the bug and prepend [PATCH] to the bug.  Also add your name to the
class level @author tags.  Thanks for contributing -Andy