Apache OpenOffice (AOO) Bugzilla – Issue 71806
nested tables: row does not break when inner table has minimum row heights
Last modified: 2014-11-11 11:25:07 UTC
Nested tables seems to be rendered very weirdly in some cases, with all the rows displayed on a single page even if they don't fit in it. Can I attach the sample document now? No, the issue tracker wants me to add a comment later for that. :)
Created attachment 40792 [details] Text document created with Writer that exhibits the problem
Good, so now that I've attached the document I can tell you how to reproduce the problem. * start a new document in Writer * insert a table with 1 column and 2 rows * write "Outer Table" on the first row * on the second row, insert another table with 1 column and 2 rows * on the first row of the inner table, write "Inner Table" * select the second row of the inner table and set its Height to 2cm * with the same row selected, do Row / Insert and insert 30 new rows On my test, the row with "Outer Table" is displayed on the first page, while everything else is moved to the second page. The second page shows the row with "Inner Table" and all the other rows, but only 12 or so are visible, the other ones overflow under the bottom of the page. The inner table doesn't seem to be split despite the default settings of "Allow table to split...", "Allow table to break...". There is also a third, blank page.
MRU->FME: see attached sample. The outer table cell does not break across pages, though the structure allows. Creating new samples from the scratch will work correctly - until assigning minimum row heights.
Just to clarify, the issue was initially found with a table where no minimum row height was set, but rows where higher than normal just because of their content. I set the row height in the sample document to provide a simplified way of reproducing the problem.
.
FME: Sorry, but most likely this will not make it into one of the next releases, therefore I have to set this to "OOo later".
Too bad, it's quite difficult to use OOo to create report-style documents if nested tables don't work properly. :(
FME: I'll attach a quick hack that might solve the problem. Note: This is only an *idea* of what to do, no final solution. This is intended as a reminder for me, not for actually been used in production.
Created attachment 40835 [details] patch
Let me add a couple of points why I think this is an important issue: * the document is perfectly valid according to the OpenDocument specs; other applications (e.g. Google Docs) render it correctly * it's not that the document is displayed with slightly incorrect formatting; part of the content - all the rows that don't fit in the page - is not visible at all, so the whole document becomes completely useless
Was the patch for this issue ever considered?
Did you read the comment of fme (the patch submitter): "This is intended as a reminder for me, not for actually been used in production." So what should have been considered here?
Well hopefully the reminder will be used to implement a proper fix at some point.
I missed fme's comment, just saw the word patch and got excited.
Microsoft Word 2007 SP2 can now open .odt files and displays nested tables correctly.
Henning, does your recent work on nested tables export change anything for this issue?