Description: After closing the file, all OLE objects located under collapsed headers disappear. Also, CONTENTS incorrectly displays page numbers if the headers are collapsed. Steps to Reproduce: 1. Create a header in libreoffice writer. 2. Create an OLE object (in my case, a formula). 3. Fold the header. 4. Save and close the file. 5. When you open the saved file, the OLE object will disappear. Actual Results: Formulas disappear Expected Results: Save all OLE objects Reproducible: Always User Profile Reset: No Additional Info: Version: 25.8.3.2 (X86_64) / LibreOffice Community Build ID: 580(Build:2) CPU threads: 8; OS: Linux 6.17; UI render: default; VCL: gtk3 Locale: uk-UA (uk_UA.UTF-8); UI: uk-UA 25.8.3-3 Calc: threaded
Created attachment 204623 [details] Example
I confirm it with Version: 25.8.3.2 (X86_64) Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e CPU threads: 12; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win Locale: de-DE (de_DE); UI: de-DE Calc: CL threaded and with Version: 26.8.0.0.alpha0+ (X86_64) Build ID: 680(Build:0) CPU threads: 12; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL threaded Steps: 1. Make sure, that outline folding is active 2. Type a heading and a formula 3. Toggle Outline 4. Save as docx 5. Close and reopen Expected result: Formula visible Actual result Formula has been removed from the document Additional information Haven't tested with other OLE-Objects