Bug 8964

Summary: Event API not recognising named range records from xls
Product: POI Reporter: Sivan Kievit <skievit>
Component: HSSFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 2.0-dev   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

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