Issue 71806 - nested tables: row does not break when inner table has minimum row heights
Summary: nested tables: row does not break when inner table has minimum row heights
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 2.0.4
Hardware: All All
: P3 Trivial with 3 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-21 11:18 UTC by mnasato
Modified: 2014-11-11 11:25 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Text document created with Writer that exhibits the problem (8.00 KB, application/vnd.oasis.opendocument.text)
2006-11-21 11:19 UTC, mnasato
no flags Details
patch (2.85 KB, patch)
2006-11-22 13:27 UTC, frank.meies
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description mnasato 2006-11-21 11:18:06 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. :)
Comment 1 mnasato 2006-11-21 11:19:49 UTC
Created attachment 40792 [details]
Text document created with Writer that exhibits the problem
Comment 2 mnasato 2006-11-21 11:30:54 UTC
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.
Comment 3 michael.ruess 2006-11-21 15:56:52 UTC
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.
Comment 4 mnasato 2006-11-21 17:46:33 UTC
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.
Comment 5 frank.meies 2006-11-22 10:38:22 UTC
.
Comment 6 frank.meies 2006-11-22 10:39:20 UTC
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".
Comment 7 mnasato 2006-11-22 11:57:10 UTC
Too bad, it's quite difficult to use OOo to create report-style documents if
nested tables don't work properly. :(
Comment 8 frank.meies 2006-11-22 13:26:11 UTC
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.
Comment 9 frank.meies 2006-11-22 13:27:31 UTC
Created attachment 40835 [details]
patch
Comment 10 mnasato 2006-11-30 18:10:40 UTC
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
Comment 11 kpalagin 2009-04-09 13:25:02 UTC
Was the patch for this issue ever considered?
Comment 12 Mathias_Bauer 2009-04-09 16:12:18 UTC
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?
Comment 13 mnasato 2009-04-09 17:29:50 UTC
Well hopefully the reminder will be used to implement a proper fix at some point.
Comment 14 kpalagin 2009-04-15 09:54:42 UTC
I missed fme's comment, just saw the word patch and got excited.
Comment 15 mnasato 2009-05-05 12:10:54 UTC
Microsoft Word 2007 SP2 can now open .odt files and displays nested tables
correctly.
Comment 16 Mathias_Bauer 2009-05-06 07:31:23 UTC
Henning, does your recent work on nested tables export change anything for this
issue?