openoffice-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jorge ivan poot diaz <ivan.pootd...@gmail.com>
Subject Re: FormatArea Draw
Date Mon, 18 Mar 2013 16:54:39 GMT
>   What happened with this? Did you tried it?

no.


>  If you want to locate the source code for a dialog/tab page/control,
you  can export HELP_DEBUG=1 and enable  extended tooltips in the Tools
Options dialog.

How I can do this?
You could explain me step by step please.


2013/3/18 jorge ivan poot diaz <ivan.pootdiaz@gmail.com>

> >   What happened with this? Did you tried it?
>
> no.
>
>
>
> >  If you want to locate the source code for a dialog/tab page/control,
> you  can export HELP_DEBUG=1 and enable  extended tooltips in the Tools
> Options dialog.
>
> How I can do this?
> You could explain me step by step please.
>
>
> 2013/3/14 Ariel Constenla-Haile <arielch@apache.org>
>
>> On Thu, Mar 14, 2013 at 09:08:33PM -0600, jorge ivan poot diaz wrote:
>> >    Hello again,
>> >
>> >    I have doubts about the Color dialog box: Attached the link below of
>> the
>> >    color dialog
>> >
>> >    http://imagebin.org/250306
>>
>> This seems the "Area" dialogs, it is made up of several tab pages. If
>> you want to locate the source code for a dialog/tab page/control, you
>> can export HELP_DEBUG=1 and enable extended tooltips in the Tools
>> Options dialog. This way, when you rest the mouse on a control, you'll
>> see the help id: http://people.apache.org/~arielch/images/HelpID_cui.png
>> The help ID of this control in the screen shot,
>> "cui:Edit:RID_SVXPAGE_COLOR:EDT_NAME", will help you find the src file:
>>
>>
>> http://opengrok.adfinis-sygroup.org/source/search?q=%22cui%3AEdit%3ARID_SVXPAGE_COLOR%3AEDT_NAME%22&defs=&refs=&path=src&hist=&project=aoo-trunk
>>
>> Searching for the helpid of the whole tabe page, RID_SVXPAGE_COLOR you
>> can find the src file, and the C++ code, if you narrow the search to the
>> cui module:
>>
>>
>> http://opengrok.adfinis-sygroup.org/source/search?q=RID_SVXPAGE_COLOR&defs=&refs=&path=cui&hist=&project=aoo-trunk
>>
>> So you see taht this Color tab page is implemented in the SvxColorTabPage
>> class
>>
>> http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/cui/source/tabpages/tpcolor.cxx
>>
>>
>> >    I'm in the code window, so far I have this link:
>> >
>> >
>> http://svn.services.openoffice.org/opengrok/xref/Current%20%28trunk%29/svtools/inc/svtools/colrdlg.hxx
>> >
>> >
>> http://svn.services.openoffice.org/opengrok/xref/Current%20%28trunk%29/svtools/source/dialogs/colrdlg.cxx
>>
>> Don't use http://svn.services.openoffice.org/opengrok, is outdated. And
>> this seems the code from the old color picker, not for the Color tab
>> page.
>>
>> >
>> >    To register the colors,
>> >    What services are used?
>>
>> Debug the code in tpcolor.cxx, and pay attention to the part where you
>> find the XColorTable.
>>
>>
>> >        If you want to see the creation of the other UI elements
>> (menubar,
>> >        statusbar), break in framework::LayoutManager::createElement
>>
>> What happened with this? Did you tried it?
>>
>>
>> Regards
>> --
>> Ariel Constenla-Haile
>> La Plata, Argentina
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message