https://bugs.documentfoundation.org/show_bug.cgi?id=167741
Bug ID: 167741
Summary: RTF regression: Section break with landscape
orientation no longer rendered correctly (worked in
7.6.1.2)
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Created attachment 202090
--> https://bugs.documentfoundation.org/attachment.cgi?id=202090&action=edit
RTF with section break with landscape orientation on page 3
In LibreOffice version 7.6.1.2, the attached RTF document was correctly
rendered, including the section break with page orientation change (portrait to
landscape). In more recent versions, this feature is broken: the page
orientation change is ignored, and all sections remain in portrait mode.
The RTF file still works perfectly in Microsoft Word, which confirms the syntax
is valid.
The relevant RTF code for the section break includes:
\sect\sectd\lndscpsxn\pgwsxn16839\pghsxn11907\marglsxn850\margrsxn850\margtsxn850\margbsxn850
In Word, this correctly applies a landscape orientation to the section. In
LibreOffice (current versions), the orientation remains portrait.
This appears to be a regression introduced after 7.6.1.2.
Steps to reproduce:
Open the attached RTF file in LibreOffice 7.6.1.2 → orientation switches as
expected.
Open the same file in LibreOffice 24.x or later → landscape orientation is
ignored.
Expected behavior:
LibreOffice should respect \lndscpsxn and \pgwsxn/\pghsxn section properties
and apply the correct landscape orientation for the relevant pages.
Actual behavior:
Orientation change is ignored; all pages are rendered in portrait mode
regardless of section settings.
--
You are receiving this mail because:
You are the assignee for the bug.