- Code: Select all
org.docx4j.openpackaging.exceptions.Docx4JException: No xpathStorageItemId found, does the document contain content controls that are bound?
It is currently Wed Oct 29, 2025 5:58 pm
News of Plutextorg.docx4j.openpackaging.exceptions.Docx4JException: No xpathStorageItemId found, does the document contain content controls that are bound?wordMLPackage.getMainDocumentPart().getContent() .addAll(XHTMLImporter.convert(body, null, wordMLPackage));// Run time value
String body ="<html><font face="Arial, Verdana"><span style="font-size: 13.3333330154419px;">Word template test</span></font></html>";
XHTMLImporter importer = new XHTMLImporterImpl(wordMLPackage);
wordMLPackage.getMainDocumentPart().getContent().addAll(importer.convert(body, null));Total posts 10202 • Total topics 2873 • Total members 2100