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@lists.freedesktop.org
          Reporter: dferrar...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to