Bug 114170 - FILEOPEN XLSX Microsoft Excel offers many customization options for chart data labels that are not interpreted by Calc
Summary: FILEOPEN XLSX Microsoft Excel offers many customization options for chart dat...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.1.0.0.alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:xlsx
: 127395 (view as bug list)
Depends on: 131175
Blocks: OOXML-Chart
  Show dependency treegraph
 
Reported: 2017-11-30 12:30 UTC by Gabor Kelemen (allotropia)
Modified: 2020-07-22 06:28 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file made with Excel 2013 (59.37 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2017-11-30 12:30 UTC, Gabor Kelemen (allotropia)
Details
The example file in Excel and Calc side by side (121.92 KB, image/png)
2017-11-30 12:34 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2017-11-30 12:30:03 UTC
Created attachment 138121 [details]
Example file made with Excel 2013

Microsoft Excel 2013 offers many customization options for chart data labels that are not interpreted by LibreOffice Calc, including fill properties and effects.

Steps to reproduce:
1. Create a new spreadsheet in Microsoft Excel 2013.
2. Create a simple chart (a column chart with default settings will do) based on any values.
3. Turn on Data Labels and change the fill properties or add effects.
4. Save the file as XLSX.
5. Open the file in LibreOffice Calc.

Actual results:
The custom data label properties will not be interpreted.

Expected results:
The custom data label properties should be be interpreted.
Comment 1 Gabor Kelemen (allotropia) 2017-11-30 12:34:39 UTC
Created attachment 138123 [details]
The example file in Excel and Calc side by side
Comment 2 Buovjaga 2017-12-03 14:34:58 UTC
I guess we should set this as an enhancement

Version: 6.1.0.0.alpha0+ (x64)
Build ID: cc1db6f2b0ebe05ae807628778835b62df00eca2
CPU threads: 4; OS: Windows 10.0; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2017-12-03_00:59:10
Locale: fi-FI (fi_FI); Calc: group threaded
Comment 3 Szymon Kłos 2018-01-19 11:29:52 UTC
Yes, background settings are missing, but border is imported. This is common feature not only xlsx filter but also pptx and docx (where chart can be placed in general).

Code pointers, here code should be modified:
https://opengrok.libreoffice.org/xref/core/oox/source/drawingml/chart/seriesconverter.cxx#248

probably it can be done similar to importBorderProperties:
https://opengrok.libreoffice.org/xref/core/oox/source/drawingml/chart/seriesconverter.cxx#185

Data label properties are defined here:
offapi/com/sun/star/chart2/DataPointProperties.idl
Comment 4 Regina Henschel 2019-09-06 12:43:37 UTC
*** Bug 127395 has been marked as a duplicate of this bug. ***
Comment 5 Regina Henschel 2019-09-06 12:49:41 UTC
(In reply to Szymon Kłos from comment #3)
> Yes, background settings are missing, but border is imported.

Not really. Border is only imported, if the user has set the line width explicitly in MS Office.
Comment 6 Gabor Kelemen (allotropia) 2020-04-28 06:06:58 UTC
*** Bug 131175 has been marked as a duplicate of this bug. ***
Comment 7 Gerald Pfeifer 2020-05-04 19:38:31 UTC
(In reply to Gabor Kelemen from comment #6)
> *** Bug 131175 has been marked as a duplicate of this bug. ***

Changing from duplicate to blocker (as in one of many pieces of this
puzzle).
Comment 8 NISZ LibreOffice Team 2020-07-20 13:44:56 UTC
A quick recheck on this:
- Solid color and Pattern fill are imported now
- Gradient and Material (Bitmap in LO terms) fill are still not imported
- Solid color border works
- Gradient border is still not imported - but this feature does not even exist in LO.
Comment 9 Gerald Pfeifer 2020-07-20 19:19:55 UTC
Have you looked into shadows?

That does not appear to be working in LibreOffice either, cf.
bug #134995.

(I am not adding this as a dependency to this bug, but if you agree, that'd
probably make sense?)
Comment 10 NISZ LibreOffice Team 2020-07-22 06:28:13 UTC
(In reply to Gerald Pfeifer from comment #9)
> Have you looked into shadows?
> 
> That does not appear to be working in LibreOffice either, cf.
> bug #134995.

Shape effects such as shadow, glow, soft edges, 3-D formats[1]  as far as we see are not a supported feature for chart shapes in LO.

[1] see the first screenshot for example here: https://www.e-iceblue.com/Tutorials/Spire.Presentation/Spire.Presentation-Program-Guide/Chart/Add-Shadow-Effect-to-Chart-DataLabels-in-PowerPoint-in-C.html