Bug 123352 - RTF headers - different left and right headers not saved in code correctly
Summary: RTF headers - different left and right headers not saved in code correctly
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:rtf
Depends on:
Blocks: RTF
  Show dependency treegraph
 
Reported: 2019-02-11 14:43 UTC by Sevo
Modified: 2019-02-13 21:00 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
file for test (8.70 KB, application/vnd.oasis.opendocument.text)
2019-02-13 19:05 UTC, raal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sevo 2019-02-11 14:43:41 UTC
Description:
LibreOffice incorrectly saves odd/even headers in rtf code.
Right code is \headerl and \headerr and LibreOffice saved them as only one \header.
Some problem with opening rtf document with odd/even headers (\headerr, \headerl) - \headerl is ignored.

Steps to Reproduce:
1. Choose Format - Page
2. Click the Header or Footer tab
3. Select Header on or Footer on.
4. Clear the Same content left/right check box for define different headers and footers for even and odd pages.
5. Create different headers on even and odd pages
6. Save document as RTF

Actual Results:
In rtf code header is written as \header but not correctly as \headerl and \headerr
Same problem with correctly saved rtf document. \headerl is ignored (in whole document is showing only \headerr)

Expected Results:
Correctly saved \headerr and \headerl for odd/even pages - some for opening rtf doc.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 raal 2019-02-13 19:04:12 UTC
confirm with Version: 6.3.0.0.alpha0+
Build ID: c7ad7849d54fd3dad67e7779102f65b8b2f04881
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: cs-CZ (cs_CZ.UTF-8); UI-Language: en-US

and Version: 4.1.0.0.alpha1+
Build ID: 863d38fbfa4fb4861e476828c46410602100919
Comment 2 raal 2019-02-13 19:05:05 UTC
Created attachment 149279 [details]
file for test

open file; save as RTF; reload
Comment 3 Sevo 2019-02-13 21:00:40 UTC
footer - same problem.