I have a need to generate a document without the <w15:collapsed w:val="false" /> tag which seems to be coming from the 2012 docx extensions.
Is it possible to easily disable this?
Thanks
// For W15, collapse
/*
* Bob Fleischman - commented this out to generat docs without the namespace issue
PPr ppr = p.getPPr();
if (ppr==null) {
ppr = Context.getWmlObjectFactory().createPPr();
p.setPPr(ppr);
}
if (ppr.getCollapsed()==null) {
BooleanDefaultTrue notCollapsed = new BooleanDefaultTrue();
notCollapsed.setVal(Boolean.FALSE);
ppr.setCollapsed(notCollapsed);
}
*/
Users browsing this forum: Bing [Bot], Google [Bot] and 31 guests