Created attachment 126608 [details] Example of charts with/without title/subtitle Description: When adding a sub-title to a chart, it is not saved in XLSX format, but it is saved in XLS format. Steps to reproduce: 1. Create a chart and insert a subtitle, like in attached document 2. File > Save as, choose XLSX 3. File > Reload Actual behavior: Subtitles disappear Expected behavior: Subtitle should remain, at least like when exporting to XLS: subtitle is preserved only if there is a title, and has same format as title (because it is simply added to title with a '\n'; Excel do not have subtitle field).
Hello Laurent, *, I can confirm this bug with OS: Debian Testing AMD64 LO: Version: 4.3.7.2 Build-ID: 8a35821d8636a03b8bf4e15b48f59794652c68ba (parallel installed, following the instructions from https://wiki.documentfoundation.org/Installing_in_parallel/Linux) up to LO Version: 5.2.0.4 Build-ID: 066b007f5ebcc236395c7d282ba488bca6720265 CPU-Threads: 4; BS-Version: Linux 4.5; UI-Render: Standard; Gebietsschema: de-DE (de_DE.UTF-8) (I have no older version than 4.3.7.2 installed, where XLSX was possible to choose, sorry ... :( My also parallel installed OOo: OpenOffice.org 3.2.0 OOO320m12 (Build:9483) nor AOO: Apache OpenOffice 4.1.2 AOO412m3(Build:9782) - Rev. 1709696 2015-10-21 09:51 - Linux x86_64 does not even know XLSX ... ;) HTH Thomas.
When exporting to Excel, title and sub-title are merged here with a "\n": http://opengrok.libreoffice.org/xref/core/sc/source/filter/excel/xechart.cxx#ConvertTitle both export to XLS and XLSX use this function. However, if I change "\n" with another string, it appears in XLS export but NOT in XLSX export. So during XLSX export, title writing in oox is done in another place. But where?
The problem is that OOXML does not support subtitles.
(In reply to Markus Mohrhard from comment #3) > The problem is that OOXML does not support subtitles. Hi Moggi, Yes, but XLS does not support neither. When export to XLS, subtitle is concatenated to title (see comment 2). When export to XLSX, same thing is done, but this concatenation is lost in exported file.
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
I can confirm the bug with LibO 5.3.6.1, LibO 5.4.2.1 and Version: 6.0.0.0.alpha1+ (x64) Build ID: 91987a559bf1fde4a8d1eadc81e5711a7670fe69 CPU threads: 2; OS: Windows 6.1; UI render: default; TinderBox: Win-x86_64@42, Branch:master, Time: 2017-10-26_22:52:07 Locale: fr-FR (fr_FR); Calc: CL
Balazs Varga committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/+/96a29c12a9d8734c9d2a812f38fc6654b5df9c48%5E%21 tdf#101322 Chart OOXML Export: fix missing subtitle It will be available in 6.4.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.