Steps to Reproduce: 1. Download the following ods file: https://cgit.freedesktop.org/libreoffice/core/plain/sc/qa/unit/data/ods/outline.ods (or you may use the one included in sc/qa/unit/data/ods/outline.ods or our code base) 2. Open with Calc. Observe that the outline for the colums A:Z (i.e. the 1st level column outline) is expanded. 3. Save a copy as xlsx, then open the xlsx in Calc. Current Result: The outline for the colums A:Z is folded in step 3. Expected Result: The outline for the colums A:Z is expanded in step 3, same as what it appears in step 2. Reproduced on current master, 7.4 branch, 7.3. The earliest version I can reproduce is 574c57090642347980d2395e1e183cc7b5c171ad (7.0.0 alpha1), but may be much older though. Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: 2f1ad908310918d964b2996ccf4e987b7b0af86f CPU threads: 8; OS: Linux 5.19; UI render: default; VCL: gtk3 Locale: zh-CN (zh_CN.UTF-8); UI: en-US Build Platform: Fedora34@X64, Branch:master, bibisect-linux-64-7.4-CN Calc: threaded
This seems to be a FILEOPEN issue rather than a FILEOPEN issue. Unzip the xlsx file indicates that the columns information is correct: xl/worksheets/sheet1.xml <cols> <col collapsed="false" customWidth="false" hidden="false" outlineLevel="1" max="2" min="1" style="0" width="11.23"/> <col collapsed="false" customWidth="false" hidden="true" outlineLevel="2" max="3" min="3" style="0" width="11.23"/> <col collapsed="false" customWidth="true" hidden="true" outlineLevel="2" max="4" min="4" style="0" width="3.92"/> <col collapsed="false" customWidth="false" hidden="true" outlineLevel="3" max="6" min="5" style="0" width="11.23"/> <col collapsed="false" customWidth="false" hidden="true" outlineLevel="4" max="7" min="7" style="0" width="11.23"/> <col collapsed="false" customWidth="true" hidden="true" outlineLevel="4" max="8" min="8" style="0" width="3.92"/> <col collapsed="false" customWidth="false" hidden="true" outlineLevel="4" max="19" min="9" style="0" width="11.23"/> <col collapsed="true" customWidth="false" hidden="true" outlineLevel="3" max="20" min="20" style="0" width="11.23"/> <col collapsed="false" customWidth="false" hidden="true" outlineLevel="3" max="21" min="21" style="0" width="11.23"/> <col collapsed="false" customWidth="false" hidden="true" outlineLevel="2" max="23" min="22" style="0" width="11.23"/> <col collapsed="true" customWidth="false" hidden="false" outlineLevel="1" max="24" min="24" style="0" width="11.23"/> <col collapsed="false" customWidth="false" hidden="false" outlineLevel="1" max="26" min="25" style="0" width="11.23"/> </cols> i.e., only columns 20 (T) and 24 (X) are set to be collapsed. Also, this xlsx file opens fine in MSO Excel 2010
Created attachment 182567 [details] side by side comparison
Repro with Version: 7.4.1.2 / LibreOffice Community Build ID: 40(Build:2) CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb) Locale: pt-BR (pt_BR.UTF-8); UI: en-US Ubuntu package version: 1:7.4.1~rc2-0ubuntu0.22.04.1~lo1 Calc: threaded Also repro with Version: 7.2.7.2 / LibreOffice Community Build ID: 8d71d29d553c0f7dcbfa38fbfda25ee34cce99a2 CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb) Locale: pt-BR (pt_BR.UTF-8); UI: en-US Calc: CL And with Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: 35702fd6781542f5eefbd3710304ab9a25ac61fe CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb) Locale: pt-BR (pt_BR.UTF-8); UI: en-US Calc: CL threaded
Created attachment 182576 [details] outline.ods file exported to .xlsx by MS Excel