Hi,
Maybe my question is very easy ........
How I can select a table in docx? For example, the second table
Thanks
It is currently Thu Aug 14, 2025 1:37 pm
<w:trPr>
<w:trHeight w:val="480"/>
</w:trPr>
...
SdtPr sp1...
...
Alias a1 = factory.createSdtPrAlias();
a1.setVal("Alias");
sp1.getRPrOrAliasOrLock().add(a1);
....
[com.sun.istack.internal.SAXException2: unable to marshal type "org.docx4j.wml.SdtPr$Alias" as an element because it is missing an @XmlRootElement annotation]
Total posts 10189 • Total topics 2867 • Total members 2097