Hi,
We're using docx4j 3.3.1 which introduced support for wp14:sizeRelH, wp14:sizeRelV.
These tags are apparently causing us issues with Word 2007 compatibility.
Is there a way to suppress these (and other Word 2010+) tags automatically?
Thanks
It is currently Thu Nov 28, 2024 4:38 pm
Table des matières
Approbation du procès-verbal du Bureau du 00 mois 0000 (N°000) 4
Situation générale et financière 5
Exemple de Chapitre 6
Exemple de Section 6
Questions diverses 7
public static STDocProtect getProtectionType(MainDocumentPart mdp) throws Docx4JException {
DocumentSettingsPart ds = mdp.getDocumentSettingsPart();
CTSettings cs = ds.getContents();
CTDocProtect cp = cs.getDocumentProtection();
return cp.getEdit();
}
<module name="javax.xml.bind.api"/>
<module name="javax.xml.stream.api"/>
<module name="com.github.relaxng"/>
<module name="com.sun.istack"/>
<module name="com.sun.xml.txw2"/>
<module name="com.sun.xsom"/>
<module name="com.sun.xml.bind"/>
Total posts 10111 • Total topics 2842 • Total members 2074