Bug 51763 - Inserting a dynamic table into a cell of a row
Summary: Inserting a dynamic table into a cell of a row
Status: RESOLVED INVALID
Alias: None
Product: POI
Classification: Unclassified
Component: XWPF (show other bugs)
Version: 3.8-dev
Hardware: PC Windows XP
: P2 major (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords: APIBug
Depends on:
Blocks:
 
Reported: 2011-09-02 17:38 UTC by Priyank
Modified: 2016-01-22 05:00 UTC (History)
0 users



Attachments
Table Structure in a docx document - 2 rows (2.44 KB, application/octet-stream)
2011-09-02 17:38 UTC, Priyank
Details
Zip folder with the actual document & output document with Test cases. (15.36 KB, application/zip)
2011-09-02 17:48 UTC, Priyank
Details
XML comparison of generated Cell vs. manually created table in cell (10.17 KB, application/zip)
2011-09-05 04:31 UTC, Priyank
Details

Note You need to log in before you can comment on or make changes to this bug.
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