<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:jluth@mail.com" title="Justin L <jluth@mail.com>"> <span class="fn">Justin L</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - FILEOPEN: WPS DOC - incorrect font colours imported (16 palette colours = use comment 11's doc)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=77962">bug 77962</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;">Summary</td>
<td>FILEOPEN: WPS DOC - incorrect font colors imported
</td>
<td>FILEOPEN: WPS DOC - incorrect font colours imported (16 palette colours = use comment 11's doc)
</td>
</tr>
<tr>
<td style="text-align:right;">Assignee</td>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
<td>jluth@mail.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - FILEOPEN: WPS DOC - incorrect font colours imported (16 palette colours = use comment 11's doc)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=77962#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - FILEOPEN: WPS DOC - incorrect font colours imported (16 palette colours = use comment 11's doc)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=77962">bug 77962</a>
from <span class="vcard"><a class="email" href="mailto:jluth@mail.com" title="Justin L <jluth@mail.com>"> <span class="fn">Justin L</span></a>
</span></b>
<pre>There is a "new" sprmCCv used by Read_TextForeColor which can be any RGB color
- and that is what is processed after Word 2003 roundtrips the file.
In this Kingsoft document, LO can only use the older sprmCIco, read by
Read_TextColor, which references a 16 bit table defined by 2.9.119 Ico
There are a lot of errors when reading this document:
sprm longer[6] than remaining[4] bytes, doc or parser is wrong
mso-dumper does indicate that CCv sprms exists in the document, but they are
never seen/processed in LO.
<prl type="Prl" offset="4541" index="0">
<sprm value="0x2a42" ispmd="0x42" fSpec="0x1" sgc="character" spra="1"
name="sprmCIco" operandSize="1" operand="0x10"/>
</prl>
<prl type="Prl" offset="4544" index="1">
<sprm value="0x4a60" ispmd="0x60" fSpec="0x1" sgc="character" spra="2"
name="sprmCIcoBi" operandSize="2" operand="0x10"/>
</prl>
<prl type="Prl" offset="4548" index="2">
<sprm value="0x6870" ispmd="0x70" fSpec="0x0" sgc="character" spra="3"
name="sprmCCv" operandSize="4" operand="0xe7c6b4"/>
=====================================================================
proposed fix at <a href="http://gerrit.libreoffice.org/c/core/+/98911">http://gerrit.libreoffice.org/c/core/+/98911</a></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>