Hi Jason,
How do we find the style of a paragraph, for instance if it is
a) Heading 1
b) Heading 2 and so on
c) TOC Heading
Or do we have any relationship between document.xml and styles.xml ?
It is currently Wed Aug 19, 2026 1:07 am
News of PlutextTable 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 10239 • Total topics 2889 • Total members 2109