Bug 54954 - [FEATURE REQUEST] The 'names' ArrayList in HSSFWorkbook should be public
Summary: [FEATURE REQUEST] The 'names' ArrayList in HSSFWorkbook should be public
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 3.9-FINAL
Hardware: PC All
: P2 minor (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2013-05-12 23:07 UTC by monzarc
Modified: 2014-07-24 16:44 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description monzarc 2013-05-12 23:07:10 UTC
So that users can make their own methods based on the names list, e.g. 'deleteAllNames()' or similar.
Comment 1 Nick Burch 2013-05-12 23:47:40 UTC
Access to the raw names list wouldn't help that much - you'd still need to do a lot of modifications at a low level to end up with a valid workbook after that

I'm not sure what you're missing out on by just calling getNumberOfNames and then iterating over that with getName - could you clarify?
Comment 2 Nick Burch 2014-07-24 16:44:45 UTC
Without a strong use case why, this won't be exposed given that a delete case would still need to update records / formulas / etc