Bug 51763

Summary: Inserting a dynamic table into a cell of a row
Product: POI Reporter: Priyank <notify.priyank>
Component: XWPFAssignee: 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

Description Priyank 2011-09-02 17:38:02 UTC
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
Comment 1 Nick Burch 2011-09-02 17:43:35 UTC
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)?
Comment 2 Priyank 2011-09-02 17:48:04 UTC
Created attachment 27454 [details]
Zip folder with the actual document & output document with Test cases.
Comment 3 Nick Burch 2011-09-03 14:13:00 UTC
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)
Comment 4 Priyank 2011-09-05 04:31:38 UTC
Created attachment 27456 [details]
XML comparison of generated Cell vs. manually created table in cell
Comment 5 Stefan Stern 2011-09-05 05:50:26 UTC
I will look into that one and provide a Unit test that reproduces the test data.
Comment 6 Javen O'Neal 2016-01-22 05:00:14 UTC
No progress on this bug for 4 years. Please reopen if this issue is still exists on POI 3.14-dev