Bug 37045 - HSSFName doesn't surface option flag so its not possible to tell what type of name record the HSSFName object represents
Summary: HSSFName doesn't surface option flag so its not possible to tell what type of...
Status: RESOLVED LATER
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.5-FINAL
Hardware: All Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-12 16:11 UTC by Bill Seddon
Modified: 2005-10-16 05:43 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Seddon 2005-10-12 16:11:55 UTC
HSSFName doesn't surface option flag so its not possible to tell what type of 
name record the HSSFName object represents

This important because a name record is used to hold so many different type of 
name and it is helpful to be able to use it to classify names when reading a 
workbook.  For example a name record with an option flag of 0x0E is a custom 
function name.  Calling the getSheetName() method for a record of this type 
generates an exception because there there is no external sheet associated 
with this type.

Bill Seddon
Comment 1 Bill Seddon 2005-10-16 13:43:15 UTC
OK, I can see this is addressed in 3.0-dev via the "is..." methods.