Just a quick note that I'll be in London Mon 5 Dec to Wed 7 Dec, and have some time available to meet docx4j users to discuss any Word document challenges/issues face to face.
If you are interested, email me (jason) at plutext.org
It is currently Wed Dec 03, 2025 7:25 am
News of Forumsorg.docx4j.openpackaging.parts.WordprocessingML.ImageJpegPartFile img = new File("logo.jpeg");
InputStream is = new BufferedInputStream(new FileInputStream(img));
ImageJpegPart imgJpgPart = new ImageJpegPart(new PartName("/word/media/image1.jpeg"));
imgJpgPart.setBinaryData(is);
wordMLPackage.getParts().put(imgJpegPart);
org.docx4j.Docx4J.toPDF(wordMLPackage, fos);Total posts 10213 • Total topics 2877 • Total members 2103