- Code: Select all
<w:sectPr w:rsidR="006121D2" w:rsidSect="00DF1383">
<w:headerReference w:type="even" r:id="rId6"/>
<w:headerReference w:type="default" r:id="rId7"/>
<w:headerReference w:type="first" r:id="rId10"/>
<w:pgSz w:w="11906" w:h="16838"/>
<w:pgMar w:top="1440" w:right="1800" w:bottom="1440" w:left="1800" w:header="851" w:footer="992" w:gutter="0"/>
<w:cols w:space="425"/>
<w:docGrid w:type="lines" w:linePitch="312"/>
</w:sectPr>
I don't know how to get the type in the headerReference in the following code.
However I can get the headerReference's Id by CTRel,and then get the part through the id,
but I want to know which type the part is..
- Code: Select all
if(sectPr.getEGHdrFtrReferences()!=null){
for(CTRel ctRel : sectPr.getEGHdrFtrReferences()){
Part part = wmlpackage.getMainDocumentPart().getRelationshipsPart().getPart(ctRel.getId());
}
}
everyone!!
please help me.....