Description: OOXML charts support a <c:style> tag which can specify an enumerated index, with allowed values 1-48 or 101-148. The index determines the default style for the chart, according to tables in the OOXML specification. LO currently supports import of this style tag, and properly sets the default style. It does not support export of the tag, so the default is lost on re-export to OOXML. Steps to Reproduce: This is most easily seen in the OOXML itself. 1. Open the attached "column-style.xlsx" in LO. 2. Re-save as OOXML format. 3. Unzip the original and re-exported files, and examine the respective xl/charts/chart1.xml files. Actual Results: The original file includes a <c:style ...> tag, but the re-exported file does not. Expected Results: The re-exported file includes the same <c:style ...> tag as the original. Reproducible: Always User Profile Reset: No Additional Info: Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 3f42583a772667f88715ed408be89b927cefb53b CPU threads: 8; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
Created attachment 201637 [details] File that includes a style tag
Kurt Nordback committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/4313451fc77f641dc63a8b32edb03c6aa2636ae9 tdf#167368 - Chart style index is not exported to OOXML It will be available in 26.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Kurt Nordback committed a patch related to this issue. It has been pushed to "libreoffice-25-8": https://git.libreoffice.org/core/commit/77ad59130533d459572af9434bad4c36a7ee049d tdf#167368 - Chart style index is not exported to OOXML It will be available in 25.8.1. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.