https://bz.apache.org/bugzilla/show_bug.cgi?id=68490
Bug ID: 68490
Summary: in class XWPFDocument, there is no possiblity to add
new XWPFSDT to the IBodyElement list
Product: POI
Version: unspecified
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: XWPF
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
In the XWPFDocument, I am utilizing the following methods:
- insertNewParagraph
- insertNewTbl
In the implementation of these two methods, a new XWPFParagraph object or
XWPFTable object will be added to the IBodyElement list.
However, I encounter a problem: I would like to add a new XWPFSDT element to
the IBodyElement list, which is not possible now (in version 5.2.5) because the
IBodyElement list is protected, and there is no implemented method to achieve
this.
It would be beneficial if the insertNewSdt method were implemented in class
XWPFDocument, or at least any public method to add elements to IBodyElement!
Thank you,
Majd
--
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]