I want to add a CustomXmlDataStoragePart to the .docx to store the value of about 100 hash codes that I later need to retrieve.
I looked into this example: https://github.com/plutext/docx4j/blob/master/src/samples/docx4j/org/docx4j/samples/ContentControlsAddCustomXmlDataStoragePart.java
Unzipping the document looks fine, even if I put my own PartName argument in line 77.
However, after altering the content of the document and saving it, the PartName of the added CustomXmlDataStoragePart switches back to: customXml/item1.xml and customXml/itemProps1.xml.
Can this behavior be changed?