<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:bugzilla@mkr.email" title="Mike <bugzilla@mkr.email>"> <span class="fn">Mike</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - FILEOPEN: DOCX rendered with a greyscale chart instead of a colored."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=111622">bug 111622</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Version</td>
<td>4.4.7.2 release
</td>
<td>3.3.0 release
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - FILEOPEN: DOCX rendered with a greyscale chart instead of a colored."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=111622#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - FILEOPEN: DOCX rendered with a greyscale chart instead of a colored."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=111622">bug 111622</a>
from <span class="vcard"><a class="email" href="mailto:bugzilla@mkr.email" title="Mike <bugzilla@mkr.email>"> <span class="fn">Mike</span></a>
</span></b>
<pre>I created a minimum test case for this issue, that I attached now („Minimum
test case.docx“). To create this, I took the original file „Greyscales instead
of colors.docx“ and cut it down.
Issue: LO renders the rectangle of „Minimum test case.docx“ in grey scales
(instead of blue). Writer gets the wrong color scheme.
Then did I changed the color of the rectangle from "Automatic" to blue. I saved
this as „Minimum Text case fixed.docx“. This does the Job for Writer.
In the fixed test case, word\charts\chart1.xml got the more
lines (line 40 to 42):
<a:solidFill>
<a:schemeClr val="accent1"/>
</a:solidFill>
This issue is there since LO 4.2. From release 3.3 to 4.0 only a blank page
appeared (with both files!)
I'm not a coder, but it seems to be about this:
„ChartShapeProperties“→“SolidFill“→“SchemeColor“
using DocumentFormat.OpenXml.Drawing;
using DocumentFormat.OpenXml;
namespace GeneratedCode
{
public class GeneratedClass
{
// Creates an SchemeColor instance and adds its children.
public SchemeColor GenerateSchemeColor()
{
SchemeColor schemeColor1 = new SchemeColor(){ Val =
SchemeColorValues.Accent1 };
return schemeColor1;
}
}
}
I also attached a PDF with screenshots to this report.
Regards,
Mike</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>