https://bz.apache.org/bugzilla/show_bug.cgi?id=69726

            Bug ID: 69726
           Summary: Error: class CTTblStylePr not found
           Product: POI
           Version: 5.4.1-FINAL
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XWPF
          Assignee: dev@poi.apache.org
          Reporter: jaragu...@igalia.com
  Target Milestone: ---

I'm getting this error when trying to access
XWPFStyle.getCTStyle().getTblStylePrArray():

        ctStyle.getTblStylePrArray();
                                  ^
  class file for
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblStylePr not found

I inspected the poi-ooxml-lite JAR and, indeed, it doesn't contain that class,
although the CTStyle class does reference it, like below:

/**
 * An XML
CT_Style(@http://schemas.openxmlformats.org/wordprocessingml/2006/main).
 *
 * This is a complex type.
 */
public interface CTStyle extends org.apache.xmlbeans.XmlObject {
    // ...
    /**
     * Gets ith "tblStylePr" element
     */
    org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblStylePr
getTblStylePrArray(int i);

I'm using the latest version of the library, 5.4.1, obtained through the Maven
repository.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to