Bug 108077 - [FILESAVE DOCX] Triangle points in Points and Lines chart appear upside down
Summary: [FILESAVE DOCX] Triangle points in Points and Lines chart appear upside down
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
4.3 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: OOXML-Chart DOCX
  Show dependency treegraph
 
Reported: 2017-05-25 07:40 UTC by Gabor Kelemen
Modified: 2018-08-10 07:26 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file from LO 5.3 (14.29 KB, application/vnd.oasis.opendocument.text)
2017-05-25 07:40 UTC, Gabor Kelemen
Details
Example file saved to docx from LO 5.3 (15.10 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2017-05-25 07:41 UTC, Gabor Kelemen
Details
Docx in Word 2013 and odt in LO 5.3 side by side (170.78 KB, image/png)
2017-05-25 07:42 UTC, Gabor Kelemen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen 2017-05-25 07:40:52 UTC
Created attachment 133550 [details]
Example file from LO 5.3

Triangle shaped points appear upside down in Points and Lines charts when the file is saved as DOCX.

Steps to reproduce:
1. Create an empty text document in LibreOffice Writer
2. Insert a Chart
3. Change the chart type to Points and Lines
4. Save the file as DOCX
5. Reopen the file either in LibreOffice Writer or Microsoft Word 2013

Actual results:
The triangles are upside down

Expected results:
The triangles in the DOCX file should look like in the ODT file
Comment 1 Gabor Kelemen 2017-05-25 07:41:48 UTC
Created attachment 133551 [details]
Example file saved to docx from LO 5.3
Comment 2 Gabor Kelemen 2017-05-25 07:42:09 UTC
Created attachment 133552 [details]
Docx in Word 2013 and odt in LO 5.3 side by side
Comment 3 Xisco Faulí 2017-05-25 09:31:37 UTC
Confirmed in

Version: 5.4.0.0.alpha1+
Build ID: 74d2e606fd3605fe0a585f596eaa215ae4e20d18
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk2; 
Locale: en-US (ca_ES.UTF-8); Calc: group

and

Version: 4.2.0.0.alpha1+
Build ID: fc8f44e82de4ebdd50ac5fbb9207cd1a59a927e3

In previous versions the chart wasn't exported. in banch 4.3 it was exported as
a pie chart.
Comment 4 QA Administrators 2018-05-26 02:42:34 UTC Comment hidden (obsolete)
Comment 5 Gabor Kelemen 2018-08-10 07:24:30 UTC
So, I took a look into the XML created by Excel, the important part:

<c:marker><c:symbol val="triangle"/><c:size val="5"/><c:spPr><a:solidFill><a:schemeClr val="accent3"/></a:solidFill><a:ln w="9525"><a:solidFill><a:schemeClr val="accent2"/></a:solidFill></a:ln><a:effectLst/></c:spPr></c:marker>

LibreOffice XLSX: 
<c:marker><c:symbol val="triangle"/><c:size val="8"/><c:spPr><a:solidFill><a:srgbClr val="ffd320"/></a:solidFill></c:spPr></c:marker> 

While in ODF it is
<style:chart-properties chart:symbol-type="named-symbol" chart:symbol-name="arrow-down" chart:symbol-width="0.25cm" chart:symbol-height="0.25cm" chart:link-data-style-to-source="true"/> 

So these are different drawing object in ODF and OOXML, but we are consistent with Excel when writing XLSX.

I'd say NOTABUG - it looks a bit different, but the import+export is consistent.