https://issues.apache.org/bugzilla/show_bug.cgi?id=47813
Summary: Problems with XSSFWorkbook.removeSheetAt when workbook
contains chart
Product: POI
Version: unspecified
Platform: PC
OS/Version: Mac OS X 10.4
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from David Agnew <[email protected]> 2009-09-09 22:14:21 PDT
---
Created an attachment (id=24243)
Test case to demonstrate problems with XSSFWorkbook.removeSheetAt.
Application modifies a template worksheet to which a separate chart refers. It
then attempts to delete a control sheet containing parameters for the run. In
my app, it deletes the chart instead, leaving the control sheet in the output
workbook.
I've attached a test case which demonstrates the above, as well as throwing a
XmlValueDisconnectedException when there are two "control" sheets to delete.
It works properly if the chart is the last item in the workbook.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]