Created attachment 164617 [details]
Example file from Word
Attached document contains charts where the Category name and Value fields are displayed.
Some data points the display of these is turned off: the orange data point in the pie chart has only the Value field enabled and some custom text, while the blue contains only custom text and the fields disabled.
The grey slice contains only custom text, but the fields were not disabled on the data point: only in the label were they deleted.
When opened in Writer (but also happens in Calc with XLSX files) the label with only custom text does not appear.
However it is possible to select that data point and in its context menu selecting “Insert Single Data Label” shows the labels original text content.
Steps to reproduce:
1. Create a chart in Word, enable data labels
2. In one of the labels type some custom text
3. Disable the data fields in the sidebar for that label
4. Save as DOCX and open the file in Writer
The custom label disappears
The custom label should not disappear
Version: 184.108.40.206.alpha0+ (x86)
Build ID: <buildversion>
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
(nightly from 08-24)
Also happens in:
Version: 220.127.116.11 (x64)
Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
CPU szálak: 4; OS: Windows 6.3 Build 9600; Felületmegjelenítés: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
In 6.4 and earlier the orange data point has lost its custom text too, and the “Insert Single Data Label” trick did not work either.
Created attachment 164618 [details]
Screenshot of the original document Word before any changes
Created attachment 164619 [details]
Screenshot of the original document side by side in Word and Writer after disabling fields
Created attachment 164620 [details]
Screenshot of the data label with manually deleted fields
Created attachment 164621 [details]
Same problem in XLSX
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":
tdf#136061 Chart ODF/OOXML: fix missing custom labels
It will be available in 7.1.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.