Sorry, you are right. I mistyped, English is not my native language. I found the idea on the ideastorm and found it interesting to try it.
2013/3/30 Alexandro Colorado <j...@oooes.org> > On Sat, Mar 30, 2013 at 1:38 PM, jorge ivan poot diaz < > ivan.pootd...@gmail.com> wrote: > > > Hello Ariel, > > > > This I am doing as a project that I have been assigned by Alexandro > > Colorado. > > > > Just to clarify, I didn't 'assigned you a project', but told you a good > task you could find to learn the way OpenOffice source code works. > > Having an easy way to select colors from a spectrum rather than a palette > (automating the registration of the color) could improve user experience > greatly. > > > > > > > > > > ------------------------------------------------------------------------------------------ > > In the source code AOO > > > > Earlier you gave me the code that is responsible for registering the > > colors: > > > > > http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/cui/source/tabpages/tpcolor.cxx#465 > > > > I know generate files Soc > > http://imagebin.org/252235 > > > > > > So now this is the situation > > > > This is the directory of files .Soc > > > > > http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/extras/source/palettes/ > > > > Can you tell me where is the code that acts on these files .soc, other > > words > > where is the code that generates or sends the new color to these files > soc. > > > > Regards. > > > > > > > > 2013/3/19 Ariel Constenla-Haile <arie...@apache.org> > > > > > On Tue, Mar 19, 2013 at 07:56:34PM -0600, jorge ivan poot diaz wrote: > > > > hello, > > > > > > > > I understand that: > > > > 155 aBtnAdd.SetClickHdl( LINK( this, SvxColorTabPage, > > > ClickAddHdl_Impl ) > > > > ); > > > > > > > > Generates the window to register a new color: > > > > 465 IMPL_LINK( SvxColorTabPage, ClickAddHdl_Impl, void *, EMPTYARG ) > > > > > > > > I want to make: that the new color added > > > > -- The user does not enter the color name, the system automatically > do > > > this > > > > > > Well, you could generate a random unique name, simply change the logic > > > in the code, and do not prompt the user when the name is missing or the > > > name is already in use. > > > > > > By the way, are you doing this just to get used to the code? I doubt > > > this will make it into the source code without discussing the user > > > experience implications. > > > > > > > > > Regards > > > -- > > > Ariel Constenla-Haile > > > La Plata, Argentina > > > > > > > > > -- > Alexandro Colorado > Apache OpenOffice Contributor > http://es.openoffice.org >