[Libreoffice-bugs] [Bug 82217] FILEOPEN: DOCX - Chart missing border

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jan 16 14:33:59 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=82217

--- Comment #7 from Adam Kovacs <christo161 at gmail.com> ---
If you make a copy in Excel 2016 from the Excel 2010 file with save as, the
result will be same. There will be no changes in chart1.xml file.

If you create a new chart in Excel 2016, this will be the default result in
chart1.xml:

</c:chart>
<c:spPr>
<a:solidFill>
<a:schemeClr val="bg1"/>
</a:solidFill>
<a:ln algn="ctr" cmpd="sng" cap="flat" w="9525">
<a:solidFill>
<a:schemeClr val="tx1">
<a:lumMod val="15000"/>
<a:lumOff val="85000"/>
</a:schemeClr>
</a:solidFill>
<a:round/>
</a:ln>
<a:effectLst/>
</c:spPr>

If you remove the outline from the chart (still in Excel 2016), then this will
be in chart1.xml:

</c:chart>
<c:spPr>
<a:solidFill>
<a:schemeClr val="bg1"/>
</a:solidFill>
<a:ln algn="ctr" cmpd="sng" cap="flat" w="9525">
<a:noFill/>
<a:round/>
</a:ln>
<a:effectLst/>
</c:spPr>

In the Excel 2010 file, there are no such information after </c:chart> tag, but
if I unzip both files and overwrite chart1.xml file in the Excel 2016 file with
the Excel 2010 file, it will be still working in Excel, but wont work with Calc
(so the result will be same).

If I set a red outline in the Excel 2010 file, this will be the result in
chart1.xml:

</c:chart>
<c:spPr>
<a:ln>
<a:solidFill>
<a:srgbClr val="C00000"/>
</a:solidFill>
</a:ln>
</c:spPr>

So maybe Excel is checking the file version, and if it is Excel 2010, and there
are no settings for outline, it will automatically show it (even in later
versions of Excel).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190116/cab45d67/attachment.html>


More information about the Libreoffice-bugs mailing list