Hello,
I am using docx4j and MergeDocx to concatenate some docx files that contains SVG images. In the final document, SVG images are replaced by "The picture can't be displayed".
Is there a way to display SVG images ?
It is currently Sun Aug 03, 2025 2:24 am
Docx4J.toPDF(wordPorcessingMLPackage, os);
<mc:AlternateContent>
<mc:Choice Requires="wps">
<w:drawing>.....
</w:drawing>
</mc:Choice>
<mc:Fallback>
<body><p>Hi {!checkingthis},</p><p> </p><p>Welcome</p><p> </p><table style=\"width:200px\" border=\"1\" cellpadding=\"1\" cellspacing=\"1\" ><tbody><tr><td colspan=\"1\" rowspan=\"1\">{!testtesttesttesttesttesttesttesttesttest}</td><td colspan=\"1\" rowspan=\"1\">{!testtesttesttesttesttesttesttesttesttest}</td><td colspan=\"1\" rowspan=\"1\">{!a}</td><td colspan=\"1\" rowspan=\"1\">{!testtesttesttesttesttesttesttesttesttesttesttesttesttest}</td></tr><tr><td colspan=\"1\" rowspan=\"1\"> </td><td colspan=\"1\" rowspan=\"1\"> </td><td colspan=\"1\" rowspan=\"1\"> </td><td colspan=\"1\" rowspan=\"1\">{!SUM(ABOVE)}</td></tr></tbody></table><p> </p></body>
<w:body><!-- Created by docx4j 11.1.3 (Apache licensed) using REFERENCE JAXB in AdoptOpenJDK Java 11.0.6 on Windows 10 -->
<w:p>
<w:pPr>
<w:rPr>
<w:sz w:val="16"/>
</w:rPr>
</w:pPr>
<w:r>
<w:t xml:space="preserve"></w:t>
</w:r>
<w:r>
<w:rPr>
<w:noProof w:val="true"/>
</w:rPr>
<mc:AlternateContent>
<mc:Choice Requires="wps">
<w:drawing>
Total posts 10189 • Total topics 2867 • Total members 2097