[Libreoffice-bugs] [Bug 108233] Paragraph inside a table cannot be given the formatting property " Page break before"

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue May 30 18:37:24 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=108233

--- Comment #5 from tony.g2 at vif.com ---
(In reply to Regina Henschel from comment #4)
> fo:break-before or fo:break-after should be possible as attribute of a
> table-row. That would be an enhancement request.
> 
> I would not allow a break, which is introduced by a paragraph, because that
> results in undefined behavior for the content of the other cells in the that
> row.

This reasoning for not allowing a break by a paragraph in a table is perfectly
logical. 

However, this causes some files created in MS Word to be formatted differently
when opened in LO Write. In those files, any paragraph inside a table cell CAN
have a "break before" attribute -- just like any other paragraph not in a
table.

Word uses the following logic to define the behavior of such a "break before"
attribute:
If the attribute is on the FIRST paragraph of the FIRST column of a row, it
causes a page break before the row.
If the attribute is on any other paragraph in the table, it has no effect.
(This behavior seems to be consistent in all Word versions I have tried.)

So the question seems to be: Should Write have the most "compatible" (with
Word) behavior? For people using Write to open files created in Word, I suspect
the preferred answer would be "yes".

I have not yet seen the "break after" attribute in paragraphs in tables in Word
files, but would be happy to test it if needed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170530/8325ff6b/attachment.html>


More information about the Libreoffice-bugs mailing list