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

            Bug ID: 152885
           Summary: FILEOPEN RTF Page break and section break result in
                    extra paragraph
           Product: LibreOffice
           Version: 5.3.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: kelem...@ubuntu.com
            Blocks: 81234

Created attachment 184488
  --> https://bugs.documentfoundation.org/attachment.cgi?id=184488&action=edit
Example file from Word 2016

Attached RTF example file contains a page break and a continous section break
after each other.
In Word this results in a two pages document, with a paragraph at the very top
of the second page.
In Writer the document is two pages and there is an extra empty paragraph at
the very top of the second page, changing page layout.

1. Open attached file in Writer
2. Notice there is an empty paragraph before "Second page".

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 44355a90b3450111ad87ad4b6607a564e41d7b54
CPU threads: 14; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (hu_HU); UI: en-US
Calc: threaded

Works like this since 5.3, before this commit it was worse (there was an extra
empty page):

https://git.libreoffice.org/core/+/50bf96d31ab2eb546f6c71cc93c1fa5dd4bf3044

author  Justin Luth <justin_l...@sil.org>       Sat Jun 25 22:21:08 2016 +0300
committer       Miklos Vajna <vmik...@collabora.co.uk>  Wed Jun 29 07:35:54
2016 +0000

tdf#90697 docx - don't change continuous break into page break

Before that in 4.3 there were 2 pages but an extra empty paragraph before the
page break, so not exactly good either.

If the example file is saved as docx, it is displayed correctly in Writer since
6.0 commit:

https://git.libreoffice.org/core/+/cee02e81cd3b55fb46eacf5db5713e8bf4363bcd%5E%21/#F5

author  Justin Luth <justin_l...@sil.org>       Tue Apr 11 21:01:45 2017 +0300
committer       Justin Luth <justin_l...@sil.org>       Fri May 19 13:31:27
2017 +0200

ooxmlexport: roundtrip tdf#103975's unit tests


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=81234
[Bug 81234] [META] RTF filter issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to