Created attachment 31864 [details] Test for CTTblGrid to ensure inclusion in poi-ooxml-schemas JAR We've found that the following is needed in the docx tables for compatibility with apple iWorks Pages (https://www.apple.com/mac/pages/) (or at least some versions). CTTblGrid cttblgrid = cttbl.addNewTblGrid(); cttblgrid.addNewGridCol().setW(BIGINT_2000); cttblgrid.addNewGridCol().setW(BIGINT_6000); ...which results in... <w:tblGrid> <w:gridCol w:w="2000"/> <w:gridCol w:w="6000"/> </w:tblGrid> ...in the 'w:tbl' element, however, the relevant classes are not included in the poi-ooxml-schemas JAR. Attached is a patch that ensures the relevant classes are loaded for inclusion in the poi-ooxml-schemas JAR.
Extra classes are: CTTblGridImpl.class CTTblGridBaseImpl.class CTTblGridBase.class CTTblGridBase$Factory.class CTTblGrid.class CTTblGrid$Factory.class
Thanks for this, patch applied in r1664236. The class should be in the poi-ooxml-schemas jar from 3.12 beta 2 onwards.