https://issues.apache.org/bugzilla/show_bug.cgi?id=56799

            Bug ID: 56799
           Summary: CTTblGrid classes missing from poi-ooxml-schemas
                    (PATCH-INCLUDED)
           Product: POI
           Version: 3.10
          Hardware: Macintosh
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XWPF
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 31864
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31864&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to