Bug 154869 - [SAVING] Changes to Page Syle Header & Footer are not preserved in xls
Summary: [SAVING] Changes to Page Syle Header & Footer are not preserved in xls
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
Keywords: filter:xls
Depends on:
Blocks: Calc-Header-Footer
  Show dependency treegraph
Reported: 2023-04-17 17:18 UTC by hr
Modified: 2023-08-09 07:58 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description hr 2023-04-17 17:18:46 UTC
I am currently using or under W11x64 current version and have always made changes to the header or footer in the past via print preview, page format... It still works and appears as desired when printing, but is no longer available after saving and calling up the table again. Have now found out that this problem only occurs with .xls but not with .xlsx. Not even when working with .xls via insert, headers/footers... I have not tested .ods and other formats.

Actual Results:

Expected Results:

Reproducible: Always

User Profile Reset: No

Additional Info:
Comment 1 ady 2023-04-17 19:22:30 UTC
Repro in and 7.6.alpha.

The Page format is not only not preserved after they have been changed, but also other fields in the same dialog are not preserved from their prior defaults.

For example, I changed Left and Right margins from zero to 1 mm while leaving the spacing field as it was by default at 2.5 mm and the height at 4.99 mm. After saving as xls, closing and reopening, the first 3 fields were at 0 and the 4th was at 2.5 mm (vs. 4.99 before).

IDK whether there are different defaults for ods than for xls, but the fields that were changed were not preseved in xls. So there is at least 1 bug, if not 2.
Comment 2 ady 2023-04-17 19:35:33 UTC
In LO 3.3 the changes are not preserved either, but the values that were not modified were not altered, which indeed happens in LO 7.4.6. So the case seems to be worse than in LO 3.3.
Comment 3 Roman 2023-08-09 07:57:40 UTC
In the print preview window, I also register not saving the settings. There are no problems with saving if you use page format change. You can also change the page format visually through the preview.
В окне предварительного просмотра печати - тоже регистрирую не сохранение настроек. Проблемы с сохранением нет если использовать  изменение формата страницы. Также изменить формат страницы можно наглядно через предварительный просмотр.