https://bz.apache.org/bugzilla/show_bug.cgi?id=65965
Bug ID: 65965
Summary: setParagraph and setTable don't properly set XML
references
Product: POI
Version: unspecified
Hardware: PC
Status: NEW
Severity: major
Priority: P2
Component: XWPF
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
after calling setTable the CTTbl objects in the XWPFDocument object and the
CTDocument object don't match:
from a client the following is false:
doc.getTableArray(pos).getCTTbl() ==
doc.getDocument().getBody().getTblArray(pos)
from inside XWPFDocument class the following is false:
this.tables.get(pos).getCTTbl() == table.getBody().getTableArray(pos)
it appears that the CTTbl object is not set, but rather its contents are copied
in place when setTblArray is called on the body. This problem also is seen when
calling setParagraph. This is seen in version 4.1.1
--
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]