Hi,
I'm newbie to docx4j, i just wanted to know that, whether it's possible to add a hyperlink to a specific content in an existing paragraph.
The specific content can be a word or group of words or complete line.
Thanks
It is currently Sun Aug 24, 2025 3:37 pm
wordMLPackage
.getMainDocumentPart()
.getContent()
.addAll(xHTMLImporter.convert(
new File(inputfilepath + ".html"), null));
wordMLPackage.save(new java.io.File(outputfilepath));
System.out.println("Saved: " + outputfilepath);
Total posts 10189 • Total topics 2867 • Total members 2097