Summary: | Unable to write to embedded excel file in powerpoint bar chart | ||
---|---|---|---|
Product: | POI | Reporter: | Arif Shaikh <arif.shaikh786> |
Component: | XSLF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | arif.shaikh786 |
Priority: | P2 | ||
Version: | 3.13-FINAL | ||
Target Milestone: | --- | ||
Hardware: | Macintosh | ||
OS: | All | ||
Attachments: |
Powerpoint containing bar chart to update
Testcase for bug |
Description
Arif Shaikh
2016-03-08 07:16:58 UTC
Created attachment 33648 [details]
Testcase for bug
Test case for the bug
In your code, you open twice the same file but you try to change the chart after its slideshow has been closed. This is the cause of the Rule M2.4 exception. Would you mind trying to adapt your code in order to avoid this? You might also be interested in trying the code available in the pull request #68 which could make it easier to define new values for your chart. https://github.com/apache/poi/pull/68 In that branch you would find a BarChartDemo under the examples, which shows how to access the charts without closing the presentation. |