https://issues.apache.org/bugzilla/show_bug.cgi?id=54099
Priority: P2
Bug ID: 54099
Assignee: [email protected]
Summary: CTHMerge & CTTcBorders classes missing in
poi-ooxml-schemas-3.8
Severity: blocker
Classification: Unclassified
OS: Windows Vista
Reporter: [email protected]
Hardware: PC
Status: NEW
Version: 3.8
Component: XWPF
Product: POI
Hello,
When using XWPF to create a docx file, the following code will trigger a
compilation error, due to missing classes in poi-ooxml-schemas-3.8. This is
worked around by excluding poi-ooxml-schemas from my dependencies and replacing
it with ooxml-schemas-1.1. Of course this is annoying since this jar is so
huge.
1)
XWPFTableCell cell;
CTTc ctTc = cell.getCTTc();
CTTcPr tcPr = ctTc.addNewTcPr();
CTHMerge hMerge = tcPr.addNewHMerge(); => missing CTHMerge class
2)
XWPFTableCell cell;
CTTc ctTc = cell.getCTTc();
CTTcPr tcPr = ctTc.addNewTcPr();
CTTcBorders tblBorders = tcPr.addNewTcBorders(); => missing CTTcBorders class
Cheers,
--
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]