plutext / docx4j-ImportXHTML

Converts XHTML to OpenXML WordML (docx) using docx4j
135 stars 124 forks source link

Write distinct IDs in w:drawing/wp:docPr #71

Open plutext opened 3 years ago

plutext commented 3 years ago

See further https://www.docx4java.org/forums/xhtml-import-f28/issue-with-wp-docpr-id-in-word-document-t2968.html

XHTMLImageHandlerDefault invokes BPAI createImageInline(null, e.getAttribute("alt"), 0, 1, cx, cy, false) but that 0 should be a value distinct from any others in the docx.