Created attachment 161027 [details]
Example file from Excel
Attached XLSX file contains a pie chart with long data labels and Line break in shapes property turned off.
This setting is imported to Calc correctly as “Auto text wrap” OFF, but on save the value is turned on.
Steps to reproduce:
1. Create a pie chart with long data labels in Excel
2. Go to Format Data Labels, Label Settings and turn off the Line break in shapes setting. This makes the long data labels display in one line.
3. Save as XLSX, open it in Calc then save the file again with a different name.
Auto text wrap (in Calc) or Line break in shapes (in Excel) is turned on. Data labels are wrapped to multiple lines.
Auto text wrap setting is retained.
Version: 220.127.116.11.alpha1+ (x64)
Build ID: 442c7b95e2ee94b66a9854d0cb22f8ecb76532c6
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win;
Locale: hu-HU (hu_HU); UI: en-US
Created attachment 161028 [details]
The original file saved by Calc
Created attachment 161029 [details]
Screenshot of the original and exported document side by side in Excel and Calc
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":
tdf#133190 tdf#133191 Chart OOXML export: fix text wrap and rotation
It will be available in 7.0.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:
Affected users are encouraged to test the fix and report feedback.