Bug 40521 - Add ability to create a new HSSFRow and later add it to the HSSFSheet
Summary: Add ability to create a new HSSFRow and later add it to the HSSFSheet
Status: RESOLVED WONTFIX
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 3.0-dev
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-15 13:36 UTC by Martin Jost
Modified: 2008-05-10 20:28 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Jost 2006-09-15 13:36:14 UTC
Right now - AFAIK - the only way to create a HSSFRow is by using 
HSSFSheet.createRow(). This will create a HSSFRow within the HSSFSheet.

I could get much cleaner code in my case, if it were possible to create a new 
HSSFRow, fill it and later add it to the HSSFSheet.
Comment 1 Josh Micich 2008-05-10 20:28:30 UTC
Unfortunately HSSFRow needs a back reference to its containing Sheet (for storing the cell value records).  POI would have to jump through hoops to get 'detached rows' to work.

Please re-open this bug if you have a pretty compelling example of code that shows how much easier things would be with detached rows.