Running the following code, diagram connectors in the converted pdf file are inverted/flipped
making the logical meaning incorrect.
Sample code:
File converted = File.createTempFile("aspdf-", ".pdf");
Document doc = new Document("C:\\tmp\\DiagramIssue.docx");
doc.getChildNodes(NodeType.COMMENT, true).clear();
File dotdoc = File.createTempFile("aspdf-", ".doc");
doc.save(dotdoc.getAbsolutePath(), SaveFormat.DOC);
doc = new Document(dotdoc.getAbsolutePath());
doc.save(converted.getAbsolutePath(), saveOptions);
Thanks!