Re: Fwd: Need help implementing a patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adding dev list

On 23/11/20 16:22, Xisco Fauli wrote:

forwarding this to the dev and ux lists for a wider audience.



-------- Forwarded Message --------
Subject: Need help implementing a patch
Date: Thu, 19 Nov 2020 20:30:20 -0300
From: Rafael Lima <rafael.palma.lima@xxxxxxxxx>
To: mentoring@xxxxxxxxxxxxxxxxxxxxxx


Hi!

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 https://imgur.com/WibEM0K).

The current styles are hard-coded in the file:
sd/source/core/drawdoc4.cxx

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 https://imgur.com/deRdfRX). 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.

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.

Is there anyone available to be my mentor in this patch?

Many thanks!

Rafael Lima


-- 
Xisco Faulí
LibreOffice QA Team
IRC: x1sc0
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux