Bug ID: 60255
           Summary: createDrawingPatriarch does not take next correct next
                    drawing index number
           Product: POI
           Version: 3.14-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF

When i create Drawing from sheet.createDrawingPatriarch()
I got Exception:
org.apache.poi.openxml4j.exceptions.PartAlreadyExistsException: A part with the
name '/xl/drawings/drawing7.xml' already exists : Packages shall not contain
equivalent part names and package implementers shall neither create nor
recognize packages with equivalent part names. [M1.12]

I tested with 3.14 and 3.15. Problem i found maybe: in
we get new drawing index by code line
int drawingNumber =
+ 1;
The index is count of exist drawings + 1. And correct if exist indexes are

My Excel file containing multiple drawings,
return indexes are nonconsecutive. Then I got Exception

There is another way for me to re-index exist drawing by poi library or How can
I override this method to get new index = get lastest index + 1

Thank you very much for reading and support

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to