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
It is currently Wed Oct 15, 2025 5:55 am
// Add a table
int writableWidthTwips = wordMLPackage.getDocumentModel().getSections().get(0).getPageDimensions().getWritableWidthTwips();
int cols = 5;
int cellWidthTwips = new Double(Math.floor((writableWidthTwips/cols))).intValue();
Tbl tbl = TblFactory.createTable(1, 5, cellWidthTwips);
wordMLPackage.getMainDocumentPart().addObject(tbl);
Total posts 10200 • Total topics 2872 • Total members 2100