[Libreoffice-bugs] [Bug 116358] New: Writer doesn' t keep a table row with the next in RTF documents
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Mar 12 09:43:32 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=116358
Bug ID: 116358
Summary: Writer doesn't keep a table row with the next in RTF
documents
Product: LibreOffice
Version: 6.0.2.1 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: dferrari79 at gmail.com
Description:
When opening an RTF file with a table row that has the \keepn control word in
the related paragraph, the row is not kept with the following row nor
paragraph.
Steps to Reproduce:
1) Create a new Writer document
2) type "a" and then return
3) add a 1x2 table
4) below the table, type "b"
5) right click on the first row of the table, select "Table properties"-"Text
flow" and click "Keep with next paragraph"
6) save as RTF
7) set the cursor right after the "a" and start entering returns, till a page
break occurs. The two rows and the "b" are kept togheter
8) close the document without saving and reopen it
9) repeat step 7) and you'll notice that the two rows and the b are not kept
togheter
10) open the saved RTF with MS Word and repeat step 7) and you'll notice that
the two rows and the "b" are kept togheter
Actual Results:
the table row is not kept with the following row nor paragraph.
Expected Results:
the table row should be kept with the following row or paragraph.
Reproducible: Always
User Profile Reset: No
Additional Info:
Writer adds the \keepn control word to a paragraph if you do one of the
following actions:
check "Keep with next paragraph" in "Paragraph - Text flow" Tab.
uncheck "Allow table to split across pages and columns" in "Table properties -
Text flow".
check "Keep with next paragraph" in "Table properties - Text flow".
MS Word 2016 allows you to control the text flow only in the paragraph
properties, not in the table properties, but if the paragraph is in a table,
then \keepn keeps the row with the followig item, either if it's a row or a
paragraph.
To be noticed that, based on RTF specifications, there's the control word
\trkeepfollow specific for tables that in my opinion is better than using
\keepn for a paragraph in a table row, but MS Word itself seems to ignore the
existence of this control word (and so does Writer).
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36
--
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/20180312/78093989/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list