Hi everybody,
how can I collect the styles that are displayed in Word's Navigation View (please check screen-shot)?
I need to provide a (html) view similar to the screen-shot.
Regards,
Zsolt
It is currently Wed Nov 27, 2024 8:58 pm
DocumentSettingsPart dsp = documentPart.getDocumentSettingsPart();
CTSettings objCTSettings = dsp.getJaxbElement();
ObjectFactory factory = Context.getWmlObjectFactory();
CTView ctView = factory.createCTView();
ctView.setVal(STView.PRINT);
objCTSettings.setView(ctView);
BooleanDefaultTrue b = new BooleanDefaultTrue();
b.setVal(true);
objCTSettings.setUpdateFields(b);
dsp.setJaxbElement(objCTSettings);
documentPart.addTargetPart(dsp);
Ftr footerPart = (Ftr) XmlUtils.unmarshalString(footerXML);
Total posts 10111 • Total topics 2842 • Total members 2074