]> source.dussan.org Git - poi.git/commit
Do not fail on different count of categories and points and fix cloning charts
authorDominik Stadler <centic@apache.org>
Tue, 2 Nov 2021 13:17:53 +0000 (13:17 +0000)
committerDominik Stadler <centic@apache.org>
Tue, 2 Nov 2021 13:17:53 +0000 (13:17 +0000)
commit7a5bc4227bbcb72a7e09adb6e7b6e829b52bdff8
treeb6cdd237fd0be1612db82d9d2a20bd09e842d4e4
parentd205318583e5dbae0d9ccd64cb55d6930fe285d8
Do not fail on different count of categories and points and fix cloning charts

We see many cases where documents have charts with a difference here, so
downgrade the exception to a warning for now

Also handle cloning charts in workbooks where the parts have unexpected names
by making sure that the chosen part-name is not yet taken.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894676 13f79535-47bb-0310-9956-ffa450edef68
poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFChartData.java
poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFDrawing.java
test-data/spreadsheet/clone_sheet.xlsx [new file with mode: 0644]