Created attachment 161031 [details]
Example file from Excel
Attached pie chart has custom angle set for the data labels: 20 degrees for the whole data row and 50 degrees for the second data point.
These are imported correctly in Calc (as 340 and 310 degrees, due to clockwise-counterclockwise differences), but on saving all of these becomes 0 degrees.
Steps to reproduce:
1. Create a simple pie chart in Excel, enable data labels.
2. Go to Format Data Labels, Label Settings, Alignment. Set a Custom angle.
3. Save the file as XLSX, open it in Calc and save it with another name.
Custom angle values become 0 degrees.
Custom angle values are retained.
Version: 18.104.22.168.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 161032 [details]
The original file saved by Calc
Created attachment 161033 [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.