Bug 165718 - FILEOPEN RTF: page break and continuous section break empty paragraph missing
Summary: FILEOPEN RTF: page break and continuous section break empty paragraph missing
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Oliver Specht (CIB)
URL:
Whiteboard: target:25.8.0
Keywords:
: 163461 165056 (view as bug list)
Depends on:
Blocks: RTF-Opening
  Show dependency treegraph
 
Reported: 2025-03-13 10:11 UTC by Oliver Specht (CIB)
Modified: 2025-05-19 19:36 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
page break and continuous section break in empty paragraph followed by table (130.06 KB, application/msword)
2025-03-13 10:11 UTC, Oliver Specht (CIB)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Specht (CIB) 2025-03-13 10:11:06 UTC
Created attachment 199793 [details]
page break and continuous section break in empty paragraph followed by table

As a follow-up to bug 165717 this bugdoc contains the page break and the continuous section break in an empty paragraph which is followed by a table.
The page break is applied to the table without page style and number restart but the empty paragraph at the start of that page is not imported.
Comment 1 Commit Notification 2025-03-18 10:46:51 UTC
Oliver Specht committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/a2a88f0073bdd5119745679daa61469e87002579

tdf#165717, tdf#165718 additional hack to apply continuous section breaks

It will be available in 25.8.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 2 Gabor Kelemen (allotropia) 2025-03-24 14:56:45 UTC
Verified in

Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: a2741c9e6083016bba82fa9be06e157a18aaaf07
CPU threads: 14; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded

now the document has 2 pages plus one automatically inserted blank.
Comment 3 Gabor Kelemen (allotropia) 2025-05-19 16:46:01 UTC
*** Bug 165056 has been marked as a duplicate of this bug. ***
Comment 4 Gabor Kelemen (allotropia) 2025-05-19 19:36:38 UTC
*** Bug 163461 has been marked as a duplicate of this bug. ***