Hello Ariel, This I am doing as a project that I have been assigned by Alexandro Colorado.
------------------------------------------------------------------------------------------ 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 >