Summary: | Inserting a dynamic table into a cell of a row | ||
---|---|---|---|
Product: | POI | Reporter: | Priyank <notify.priyank> |
Component: | XWPF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED INVALID | ||
Severity: | major | Keywords: | APIBug |
Priority: | P2 | ||
Version: | 3.8-dev | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Attachments: |
Table Structure in a docx document - 2 rows
Zip folder with the actual document & output document with Test cases. XML comparison of generated Cell vs. manually created table in cell |
Can you try comparing the xml from doing the operation in POI, and in Word? (You can unzip the two .docx files and diff the xml) Does the table really get added afterwards, or does it get put in place in the xml but with incorrect settings (causing it to display in the wrong place)? Created attachment 27454 [details]
Zip folder with the actual document & output document with Test cases.
Any chance you could dig into the XML and verify exactly where the differences lie? (i.e. is the new table really going into the XML after the previous one, or is it going inline but with incorrect flags) Created attachment 27456 [details]
XML comparison of generated Cell vs. manually created table in cell
I will look into that one and provide a Unit test that reproduces the test data. No progress on this bug for 4 years. Please reopen if this issue is still exists on POI 3.14-dev |
Created attachment 27453 [details] Table Structure in a docx document - 2 rows eg: Table representation: Column1 Column2 Row2 Row2 Row3 <Column1 Column2> <row1 row1> <row2 row2> inserting a table on Row #3, cell #1, doesn't work it, instead it create's a new table underneath the existing one