<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Adding dev list<br>
</p>
<div class="moz-cite-prefix">On 23/11/20 16:22, Xisco Fauli wrote:<br>
</div>
<blockquote type="cite"
cite="mid:d0bc28aa-bf48-3990-799b-8232788b9e6b@libreoffice.org">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>forwarding this to the dev and ux lists for a wider audience.<br>
</p>
<div class="moz-forward-container"><br>
<br>
-------- Forwarded Message --------
<table class="moz-email-headers-table" cellspacing="0"
cellpadding="0" border="0">
<tbody>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">Subject:
</th>
<td>Need help implementing a patch</td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">Date:
</th>
<td>Thu, 19 Nov 2020 20:30:20 -0300</td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">From:
</th>
<td>Rafael Lima <a class="moz-txt-link-rfc2396E"
href="mailto:rafael.palma.lima@gmail.com"
moz-do-not-send="true"><rafael.palma.lima@gmail.com></a></td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">To: </th>
<td><a class="moz-txt-link-abbreviated"
href="mailto:mentoring@documentfoundation.org"
moz-do-not-send="true">mentoring@documentfoundation.org</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<div dir="ltr">
<div>Hi!</div>
<div><br>
</div>
<div>I am developing a patch to LO Impress to update the
"Table Design" styles. The ones currently available are
reminiscent of the OpenOffice era and do not look modern
(see image <a href="https://imgur.com/WibEM0K"
moz-do-not-send="true">https://imgur.com/WibEM0K</a>).
<div><br>
</div>
</div>
<div>The current styles are hard-coded in the file:</div>
<div>sd/source/core/drawdoc4.cxx</div>
<div><br>
</div>
<div>What I did was update the colors with new RGB values and
new style names. Previously there were 11 styles and now I
implemented 14 new styles, deleting the old ones (see image
<a href="https://imgur.com/deRdfRX" moz-do-not-send="true">https://imgur.com/deRdfRX</a>).
Everything is working well with my build... I can create
files, add tables, apply the new styles, save the files and
reopen them using my build.<br>
</div>
<div><br>
</div>
<div>The problem is when I open the files with the official
build of LO (that still uses the old styles). Even though
the new styles are saved into the styles.xml file (inside
the zipped odp file), the official LO build overrides these
styles and default all cell colors to blue.</div>
<div><br>
</div>
<div>Is there anyone available to be my mentor in this patch?<br>
</div>
<div><br>
</div>
<div>Many thanks!</div>
<div><br>
</div>
<div>Rafael Lima<br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Xisco FaulĂ
LibreOffice QA Team
IRC: x1sc0</pre>
</body>
</html>