Summary: | Clone Sheet with Charts... | ||
---|---|---|---|
Product: | POI | Reporter: | Amol Athavale <amolathavale> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | skalchihin |
Priority: | P3 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | other | ||
Attachments: | Output of copying a chart |
Description
Amol Athavale
2004-02-11 15:33:54 UTC
Try the latest POI-3.5-beta4. If the problem persists, re-open this bug and attach the problem file and sample code to reproduce the problem. Yegor I am suffering the same problem with POI-3.5beta5. It is just a template sheet with data, a chart based on the data. Cloning the sheet doesn't copy the chart or the data reference in the copied chart is still pointing to the first sheet(template). *** Bug 27075 has been marked as a duplicate of this bug. *** Created attachment 33226 [details] Output of copying a chart This appears to be fixed in POI 3.13. In Jython: > wb = WorkbookFactory.create(File('test-data/spreadsheet/SimpleChart.xls')) > wb.cloneSheet(0) > fos = FileOutputStream('test-data/spreadsheet/SimpleChart-copiedChart.xls') > wb.write(fos) > fos.close() Opening the SimpleChart-copiedChart.xls workbook, I can verify that the chart from Sheet1 was copied to Sheet4. Marking as FIXED. |