Bug 148570 - FILEOPEN RTF Paragraph before section break has its hidden linebreaks after the break
Summary: FILEOPEN RTF Paragraph before section break has its hidden linebreaks after t...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTF
  Show dependency treegraph
 
Reported: 2022-04-13 14:02 UTC by Gabor Kelemen (allotropia)
Modified: 2022-05-02 06:44 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example RTF file from Word 2013 (46.25 KB, application/msword)
2022-04-13 14:02 UTC, Gabor Kelemen (allotropia)
Details
The example file in Word and Writer master (86.94 KB, image/png)
2022-04-13 14:03 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2022-04-13 14:02:18 UTC
Created attachment 179531 [details]
Example RTF file from Word 2013

Attached document has some line breaks before a Section Break (Next Page) in Word.
When opened in Writer these line breaks appear after the page break on page 2, possibly changing layout of the document.

1. Open attached document

Notice the second pages "**  **  **" content is preceded by four linebreaks instead of being at the top of the second page.

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 6f39602ecb9b90795bfd4101273f90b16f17b6d6
CPU threads: 14; OS: Windows 10.0 Build 19044; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: threaded Jumbo

Happens all the way back to 3.5
Comment 1 Gabor Kelemen (allotropia) 2022-04-13 14:03:22 UTC
Created attachment 179532 [details]
The example file in Word and Writer master
Comment 2 Dieter 2022-05-02 06:44:08 UTC
I confirm it with

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 83d0f2eebae41d431d9a5bfd1a918523977752d0
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Compared with Word 2016