Re: TOOLS DRAW

2013-03-08 Thread Andre Fischer

On 08.03.2013 00:50, jorge ivan poot diaz wrote:

Hello,

I have made the following changes to the source code:

ivan@ivan-Presario-CQ43-Notebook-PC:~/aoo/main/sd/uiconfig/sdraw/menubar$ 
gedit menubar.xml

menu:menu menu:id=.uno:PruebaMenu
menu:menupopup
  menu:menuitem menu:id=.uno:SetDefault/
  menu:menuseparator/
  menu:menuitem menu:id=.uno:FontDialog/
  menu:menuitem menu:id=.uno:ParagraphDialog/
  menu:menuitem menu:id=.uno:OutlineBullet/
  menu:menuitem menu:id=.uno:PageSetup/
  menu:menuseparator/
  menu:menu menu:id=.uno:TransliterateMenu
menu:menupopup

ivan@ivan-Presario-CQ43-Notebook-PC:~/aoo/main/officecfg/registry/data/org/openoffice/Office/UI$
node oor:name=.uno:PruebaMenu oor:op=replace
prop oor:name=Label oor:type=xs:string
value xml:lang=en-USF~ormat/value
/prop
/node


The result of the build and deliver(They are in the following links):

http://imagebin.org/249355
http://imagebin.org/249356

I have already copied the main.xcd in my installation directory, but I 
have the following error in the soffice interface:


Imagen integrada 1

Menu does not appear that I have changed. In this case the Format 
menu. I want to appear instead of Format, Prueba.


Help me, I want to learn how it works source code of office.


I did not know the answer myself but was curious and tried to find out 
how this works.  Here is what I have found so far:


1.  If you want to know what the last deliver command did, even when it 
is run implicitly like in gbuild modules (like sw), then you can look at


main/solver/350/platform/inc/module/deliver.log

 platform is something like wntmsci12 or unxlngi6.pro
 modules is something like svx or vcl or sw

2.  The menu XML files in an installed office are located on Windows in

 office/OpenOffice.org 
3/Basis/share/config/soffice.cfg/modules/application/menubar/menubar.xml


 office is the path where OpenOffice is installed.
 application is something like simpress or swriter

on other platforms the path may start slightly different.
I did not try it but I would expect that you just have to copy you 
modified menubar.xml over the right menubar.xml under office.


-Andre



A patch for this change. Please.

Regards.


2013/3/7 jorge ivan poot diaz ivan.pootd...@gmail.com 
mailto:ivan.pootd...@gmail.com


Hello,

I already modify the source code:
ivan@ivan-Presario-CQ43-Notebook-PC:~/aoo/main/sd/uiconfig/sdraw/menubar$
gedit menubar.xml

/menu:menu
  menu:menu menu:id=.uno:PruebasMenu (- ToolsMenu -)
menu:menupopup
  menu:menuitem menu:id=.uno:SpellDialog/
  menu:menu menu:id=.uno:LanguageMenu
menu:menupopup
  menu:menuitem menu:id=.uno:HangulHanjaConversion/
  menu:menuitem menu:id=.uno:ChineseConversion/
  menu:menuitem menu:id=.uno:ThesaurusDialog/
  menu:menuitem menu:id=.uno:Hyphenation/
  menu:menuseparator/
  menu:menuitem menu:id=.uno:MoreDictionaries/
/menu:menupopup
  /menu:menu

 When I did the build in officecfg and postprocess:

 ivan@ivan-Presario-CQ43-Notebook-PC:~/aoo/main/postprocess$ build
debug=true dbglevel=3


ivan@ivan-Presario-CQ43-Notebook-PC:~/aoo/main/postprocess$ deliver
deliver -- version: 275594
COPY: ../unxlngi6.pro/bin/uiconfig.zip
http://unxlngi6.pro/bin/uiconfig.zip -
/home/ivan/aoo/main/solver/350/unxlngi6.pro/bin/uiconfig.zip
http://unxlngi6.pro/bin/uiconfig.zip
COPY: ../unxlngi6.pro/misc/lang/registry_en-US.xcd
http://unxlngi6.pro/misc/lang/registry_en-US.xcd -
/home/ivan/aoo/main/solver/350/unxlngi6.pro/xml//registry_en-US.xcd 
http://unxlngi6.pro/xml//registry_en-US.xcd
LOG: writing
/home/ivan/aoo/main/solver/350/unxlngi6.pro/inc/postprocess/deliver.log
http://unxlngi6.pro/inc/postprocess/deliver.log
Module 'postprocess' delivered successfully. 2 files copied, 27
files unchanged
ivan@ivan-Presario-CQ43-Notebook-PC:~/aoo/main/postprocess$

I can not see what files I should copy in my installation folder.
I already try with export VERBOSE=TRUE

But I have not the results.

To start when I do the build I have not notice of officecfg and
postprocess if are building

Help me.


2013/2/28 Ariel Constenla-Haile arie...@apache.org
mailto:arie...@apache.org

Hi Ivan,

On Thu, Feb 28, 2013 at 12:03:43AM -0600, jorge ivan poot diaz
wrote:
 Hello,



ivan@ivan-Presario-CQ43-Notebook-PC:~/aoo/main/officecfg/registry/data/org/openoffice/Office/UI$
 ls

 I can not find: ModuleCommands.xcu

Module is a placeholder, sorry for not been more explicit:

[ariel@localhost main]$ ls
./officecfg/registry/data/org/openoffice/Office/UI/*Commands.xcu

Re: TOOLS DRAW

2013-03-07 Thread jorge ivan poot diaz
Hello,

I already modify the source code:
ivan@ivan-Presario-CQ43-Notebook-PC:~/aoo/main/sd/uiconfig/sdraw/menubar$
gedit menubar.xml

/menu:menu
  menu:menu menu:id=.uno:PruebasMenu (-  ToolsMenu -)
menu:menupopup
  menu:menuitem menu:id=.uno:SpellDialog/
  menu:menu menu:id=.uno:LanguageMenu
menu:menupopup
  menu:menuitem menu:id=.uno:HangulHanjaConversion/
  menu:menuitem menu:id=.uno:ChineseConversion/
  menu:menuitem menu:id=.uno:ThesaurusDialog/
  menu:menuitem menu:id=.uno:Hyphenation/
  menu:menuseparator/
  menu:menuitem menu:id=.uno:MoreDictionaries/
/menu:menupopup
  /menu:menu

 When I did the build in officecfg and postprocess:

 ivan@ivan-Presario-CQ43-Notebook-PC:~/aoo/main/postprocess$ build
debug=true dbglevel=3


ivan@ivan-Presario-CQ43-Notebook-PC:~/aoo/main/postprocess$ deliver
deliver -- version: 275594
COPY: ../unxlngi6.pro/bin/uiconfig.zip - /home/ivan/aoo/main/solver/350/
unxlngi6.pro/bin/uiconfig.zip
COPY: ../unxlngi6.pro/misc/lang/registry_en-US.xcd -
/home/ivan/aoo/main/solver/350/unxlngi6.pro/xml//registry_en-US.xcd
LOG: writing /home/ivan/aoo/main/solver/350/
unxlngi6.pro/inc/postprocess/deliver.log
Module 'postprocess' delivered successfully. 2 files copied, 27 files
unchanged
ivan@ivan-Presario-CQ43-Notebook-PC:~/aoo/main/postprocess$

I can not see what files I should copy in my installation folder.
I already try with export VERBOSE=TRUE

But I have not the results.

To start when I do the build I have not notice of officecfg and postprocess
if are building

Help me.


2013/2/28 Ariel Constenla-Haile arie...@apache.org

 Hi Ivan,

 On Thu, Feb 28, 2013 at 12:03:43AM -0600, jorge ivan poot diaz wrote:
  Hello,
 
  ivan@ivan-Presario-CQ43-Notebook-PC
 :~/aoo/main/officecfg/registry/data/org/openoffice/Office/UI$
  ls
 
  I can not find: ModuleCommands.xcu

 Module is a placeholder, sorry for not been more explicit:

 [ariel@localhost main]$ ls
 ./officecfg/registry/data/org/openoffice/Office/UI/*Commands.xcu
 ./officecfg/registry/data/org/openoffice/Office/UI/BasicIDECommands.xcu
 ./officecfg/registry/data/org/openoffice/Office/UI/DrawImpressCommands.xcu
 ./officecfg/registry/data/org/openoffice/Office/UI/BibliographyCommands.xcu
 ./officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
 ./officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu
 ./officecfg/registry/data/org/openoffice/Office/UI/MathCommands.xcu
 ./officecfg/registry/data/org/openoffice/Office/UI/ChartCommands.xcu
 ./officecfg/registry/data/org/openoffice/Office/UI/StartModuleCommands.xcu
 ./officecfg/registry/data/org/openoffice/Office/UI/DbuCommands.xcu
 ./officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu

 where Module is one the modules in AOO.

 sw - WriterCommands.xcu
 sd - DrawImpress.xcu
 sc - CalcCommands.xcu

 
  I have already been modifying:
 
 http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/sd/uiconfig/sdraw/menubar/menubar.xml

 If changing this, do not modify the UNO command, only the menu
 structure.


 Regards
 --
 Ariel Constenla-Haile
 La Plata, Argentina



Re: TOOLS DRAW

2013-03-07 Thread jorge ivan poot diaz
Hello,

I have made the following changes to the source code:

ivan@ivan-Presario-CQ43-Notebook-PC:~/aoo/main/sd/uiconfig/sdraw/menubar$
gedit menubar.xml
menu:menu menu:id=.uno:PruebaMenu
menu:menupopup
  menu:menuitem menu:id=.uno:SetDefault/
  menu:menuseparator/
  menu:menuitem menu:id=.uno:FontDialog/
  menu:menuitem menu:id=.uno:ParagraphDialog/
  menu:menuitem menu:id=.uno:OutlineBullet/
  menu:menuitem menu:id=.uno:PageSetup/
  menu:menuseparator/
  menu:menu menu:id=.uno:TransliterateMenu
menu:menupopup

ivan@ivan-Presario-CQ43-Notebook-PC
:~/aoo/main/officecfg/registry/data/org/openoffice/Office/UI$
node oor:name=.uno:PruebaMenu oor:op=replace
prop oor:name=Label oor:type=xs:string
value xml:lang=en-USF~ormat/value
/prop
/node


The result of the build and deliver (They are in the following links):

http://imagebin.org/249355
http://imagebin.org/249356

I have already copied the main.xcd in my installation directory, but I have the
following error in the soffice interface:

[image: Imagen integrada 1]

Menu does not appear that I have changed. In this case the Format menu. I
want to appear instead of Format, Prueba.

Help me, I want to learn how it works source code of office.

A patch for this change. Please.

Regards.


2013/3/7 jorge ivan poot diaz ivan.pootd...@gmail.com

 Hello,

 I already modify the source code:
 ivan@ivan-Presario-CQ43-Notebook-PC:~/aoo/main/sd/uiconfig/sdraw/menubar$
 gedit menubar.xml

 /menu:menu
   menu:menu menu:id=.uno:PruebasMenu (-  ToolsMenu -)
 menu:menupopup
   menu:menuitem menu:id=.uno:SpellDialog/
   menu:menu menu:id=.uno:LanguageMenu
 menu:menupopup
   menu:menuitem menu:id=.uno:HangulHanjaConversion/
   menu:menuitem menu:id=.uno:ChineseConversion/
   menu:menuitem menu:id=.uno:ThesaurusDialog/
   menu:menuitem menu:id=.uno:Hyphenation/
   menu:menuseparator/
   menu:menuitem menu:id=.uno:MoreDictionaries/
 /menu:menupopup
   /menu:menu

  When I did the build in officecfg and postprocess:

  ivan@ivan-Presario-CQ43-Notebook-PC:~/aoo/main/postprocess$ build
 debug=true dbglevel=3


 ivan@ivan-Presario-CQ43-Notebook-PC:~/aoo/main/postprocess$ deliver
 deliver -- version: 275594
 COPY: ../unxlngi6.pro/bin/uiconfig.zip - /home/ivan/aoo/main/solver/350/
 unxlngi6.pro/bin/uiconfig.zip
 COPY: ../unxlngi6.pro/misc/lang/registry_en-US.xcd -
 /home/ivan/aoo/main/solver/350/unxlngi6.pro/xml//registry_en-US.xcd
 LOG: writing /home/ivan/aoo/main/solver/350/
 unxlngi6.pro/inc/postprocess/deliver.log
 Module 'postprocess' delivered successfully. 2 files copied, 27 files
 unchanged
 ivan@ivan-Presario-CQ43-Notebook-PC:~/aoo/main/postprocess$

 I can not see what files I should copy in my installation folder.
 I already try with export VERBOSE=TRUE

 But I have not the results.

 To start when I do the build I have not notice of officecfg and
 postprocess if are building

 Help me.


 2013/2/28 Ariel Constenla-Haile arie...@apache.org

 Hi Ivan,

 On Thu, Feb 28, 2013 at 12:03:43AM -0600, jorge ivan poot diaz wrote:
  Hello,
 
  ivan@ivan-Presario-CQ43-Notebook-PC
 :~/aoo/main/officecfg/registry/data/org/openoffice/Office/UI$
  ls
 
  I can not find: ModuleCommands.xcu

 Module is a placeholder, sorry for not been more explicit:

 [ariel@localhost main]$ ls
 ./officecfg/registry/data/org/openoffice/Office/UI/*Commands.xcu
 ./officecfg/registry/data/org/openoffice/Office/UI/BasicIDECommands.xcu
 ./officecfg/registry/data/org/openoffice/Office/UI/DrawImpressCommands.xcu

 ./officecfg/registry/data/org/openoffice/Office/UI/BibliographyCommands.xcu
 ./officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
 ./officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu
 ./officecfg/registry/data/org/openoffice/Office/UI/MathCommands.xcu
 ./officecfg/registry/data/org/openoffice/Office/UI/ChartCommands.xcu
 ./officecfg/registry/data/org/openoffice/Office/UI/StartModuleCommands.xcu
 ./officecfg/registry/data/org/openoffice/Office/UI/DbuCommands.xcu
 ./officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu

 where Module is one the modules in AOO.

 sw - WriterCommands.xcu
 sd - DrawImpress.xcu
 sc - CalcCommands.xcu

 
  I have already been modifying:
 
 http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/sd/uiconfig/sdraw/menubar/menubar.xml

 If changing this, do not modify the UNO command, only the menu
 structure.


 Regards
 --
 Ariel Constenla-Haile
 La Plata, Argentina





Re: TOOLS DRAW

2013-02-28 Thread Ariel Constenla-Haile
Hi Ivan,

On Thu, Feb 28, 2013 at 12:03:43AM -0600, jorge ivan poot diaz wrote:
 Hello,
 
 ivan@ivan-Presario-CQ43-Notebook-PC:~/aoo/main/officecfg/registry/data/org/openoffice/Office/UI$
 ls
 
 I can not find: ModuleCommands.xcu

Module is a placeholder, sorry for not been more explicit:

[ariel@localhost main]$ ls 
./officecfg/registry/data/org/openoffice/Office/UI/*Commands.xcu
./officecfg/registry/data/org/openoffice/Office/UI/BasicIDECommands.xcu
./officecfg/registry/data/org/openoffice/Office/UI/DrawImpressCommands.xcu
./officecfg/registry/data/org/openoffice/Office/UI/BibliographyCommands.xcu
./officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
./officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu
./officecfg/registry/data/org/openoffice/Office/UI/MathCommands.xcu
./officecfg/registry/data/org/openoffice/Office/UI/ChartCommands.xcu
./officecfg/registry/data/org/openoffice/Office/UI/StartModuleCommands.xcu
./officecfg/registry/data/org/openoffice/Office/UI/DbuCommands.xcu
./officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu

where Module is one the modules in AOO.

sw - WriterCommands.xcu
sd - DrawImpress.xcu
sc - CalcCommands.xcu

 
 I have already been modifying:
 http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/sd/uiconfig/sdraw/menubar/menubar.xml

If changing this, do not modify the UNO command, only the menu
structure.


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina


pgpAcerF2Oimk.pgp
Description: PGP signature


Re: TOOLS DRAW

2013-02-27 Thread Ariel Constenla-Haile
Hi Ivan,

On Tue, Feb 26, 2013 at 04:32:15PM -0600, jorge ivan poot diaz wrote:
 Hello,
 
 I try to change the name of a menu in draw. Only I want to learn how it
 works source code.
 
 I try to change: in DRAW
 
 From Tools Color Replacer to Tools test.
 
 I've been modifying:
 
 https://svn.apache.org/repos/asf/openoffice/trunk/main/helpcontent2/source/text/sdraw/guide/eyedropper.xhp
 
 But I have not results.

This is only a help file. 

 I think I'm changing something that should not.
 
 Help me please.
 
 What files I have to modify to do this.

Every item in the menu bar, the toolbars, and the statusbar, is
represented by a string that we call a UNO command. Menu bars,
statusbars and toolbars are defined in XML files, they are usually
located in 

module/uiconfig/[submodule/][uielement:menubar|statusbar|toolbar]/*.xml

For the menubar and the statusbar you'll find only one xml file, because
there is only one menubar and only one statusbar.

Locate the menubar definition
http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/sd/uiconfig/sdraw/menubar/menubar.xml
and search for the command following the menu structure in the UI.

Once you found the command, you can change the label (the text displayed
in the UI). Labels for UNO commands are defined in configuration files,
located in
main/officecfg/registry/data/org/openoffice/Office/UI/ModuleCommands.xcu

UNO commands that are used in more than one application and have the
same label, are defined in GenericCommands.xcu.

Note that your change will only modify the en-US string. You don't need
to rebuild the whole office for this simple change, only officecfg and
postprocess, then copy the respective modified file back in your
installation (I leave this as homework ;) ).


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina


pgpmoJGlIirhL.pgp
Description: PGP signature


Re: TOOLS DRAW

2013-02-27 Thread jorge ivan poot diaz
Hello,

ivan@ivan-Presario-CQ43-Notebook-PC:~/aoo/main/officecfg/registry/data/org/openoffice/Office/UI$
ls

BaseWindowState.xcuDbTableDataWindowState.xcu  MathWindowState.xcu
BasicIDECommands.xcu   DbTableWindowState.xcu
StartModuleCommands.xcu
BasicIDEWindowState.xcuDbuCommands.xcu
StartModuleWindowState.xcu
BibliographyCommands.xcu   DrawImpressCommands.xcu WriterCommands.xcu
CalcCommands.xcu   DrawWindowState.xcu
WriterFormWindowState.xcu
CalcWindowState.xcuEffects.xcu
WriterGlobalWindowState.xcu
ChartCommands.xcu  Factories.xcu
WriterReportWindowState.xcu
ChartWindowState.xcu   GenericCategories.xcu
WriterWebWindowState.xcu
Controller.xcu GenericCommands.xcu WriterWindowState.xcu
DbBrowserWindowState.xcu   ImpressWindowState.xcu  XFormsWindowState.xcu
DbQueryWindowState.xcu makefile.mk
DbRelationWindowState.xcu  MathCommands.xcu


I can not find: ModuleCommands.xcu

I have already been modifying:
http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/sd/uiconfig/sdraw/menubar/menubar.xml

But after on the interface I can not see that I modify labels. Disappear.ar.


2013/2/27 Ariel Constenla-Haile arie...@apache.org

 Hi Ivan,

 On Tue, Feb 26, 2013 at 04:32:15PM -0600, jorge ivan poot diaz wrote:
  Hello,
 
  I try to change the name of a menu in draw. Only I want to learn how it
  works source code.
 
  I try to change: in DRAW
 
  From Tools Color Replacer to Tools test.
 
  I've been modifying:
 
 
 https://svn.apache.org/repos/asf/openoffice/trunk/main/helpcontent2/source/text/sdraw/guide/eyedropper.xhp
 
  But I have not results.

 This is only a help file.

  I think I'm changing something that should not.
 
  Help me please.
 
  What files I have to modify to do this.

 Every item in the menu bar, the toolbars, and the statusbar, is
 represented by a string that we call a UNO command. Menu bars,
 statusbars and toolbars are defined in XML files, they are usually
 located in

 module/uiconfig/[submodule/][uielement:menubar|statusbar|toolbar]/*.xml

 For the menubar and the statusbar you'll find only one xml file, because
 there is only one menubar and only one statusbar.

 Locate the menubar definition

 http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/sd/uiconfig/sdraw/menubar/menubar.xml
 and search for the command following the menu structure in the UI.

 Once you found the command, you can change the label (the text displayed
 in the UI). Labels for UNO commands are defined in configuration files,
 located in
 main/officecfg/registry/data/org/openoffice/Office/UI/ModuleCommands.xcu

 UNO commands that are used in more than one application and have the
 same label, are defined in GenericCommands.xcu.

 Note that your change will only modify the en-US string. You don't need
 to rebuild the whole office for this simple change, only officecfg and
 postprocess, then copy the respective modified file back in your
 installation (I leave this as homework ;) ).


 Regards
 --
 Ariel Constenla-Haile
 La Plata, Argentina



Re: TOOLS DRAW

2013-02-27 Thread Andre Fischer

On 28.02.2013 07:03, jorge ivan poot diaz wrote:

Hello,

ivan@ivan-Presario-CQ43-Notebook-PC:~/aoo/main/officecfg/registry/data/org/openoffice/Office/UI$
ls

BaseWindowState.xcuDbTableDataWindowState.xcu  MathWindowState.xcu
BasicIDECommands.xcu   DbTableWindowState.xcu
StartModuleCommands.xcu
BasicIDEWindowState.xcuDbuCommands.xcu
StartModuleWindowState.xcu
BibliographyCommands.xcu   DrawImpressCommands.xcu WriterCommands.xcu
CalcCommands.xcu   DrawWindowState.xcu
WriterFormWindowState.xcu
CalcWindowState.xcuEffects.xcu
WriterGlobalWindowState.xcu
ChartCommands.xcu  Factories.xcu
WriterReportWindowState.xcu
ChartWindowState.xcu   GenericCategories.xcu
WriterWebWindowState.xcu
Controller.xcu GenericCommands.xcu WriterWindowState.xcu
DbBrowserWindowState.xcu   ImpressWindowState.xcu  XFormsWindowState.xcu
DbQueryWindowState.xcu makefile.mk
DbRelationWindowState.xcu  MathCommands.xcu


I can not find: ModuleCommands.xcu


Draw and Impress share most of their code.  They also share their 
...Commands.xcu which therefore is named DrawImpressCommands.xcu.


-Andre



I have already been modifying:
http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/sd/uiconfig/sdraw/menubar/menubar.xml

But after on the interface I can not see that I modify labels. Disappear.ar.


2013/2/27 Ariel Constenla-Haile arie...@apache.org


Hi Ivan,

On Tue, Feb 26, 2013 at 04:32:15PM -0600, jorge ivan poot diaz wrote:

Hello,

I try to change the name of a menu in draw. Only I want to learn how it
works source code.

I try to change: in DRAW

 From Tools Color Replacer to Tools test.

I've been modifying:



https://svn.apache.org/repos/asf/openoffice/trunk/main/helpcontent2/source/text/sdraw/guide/eyedropper.xhp

But I have not results.

This is only a help file.


I think I'm changing something that should not.

Help me please.

What files I have to modify to do this.

Every item in the menu bar, the toolbars, and the statusbar, is
represented by a string that we call a UNO command. Menu bars,
statusbars and toolbars are defined in XML files, they are usually
located in

module/uiconfig/[submodule/][uielement:menubar|statusbar|toolbar]/*.xml

For the menubar and the statusbar you'll find only one xml file, because
there is only one menubar and only one statusbar.

Locate the menubar definition

http://opengrok.adfinis-sygroup.org/source/xref/aoo-trunk/main/sd/uiconfig/sdraw/menubar/menubar.xml
and search for the command following the menu structure in the UI.

Once you found the command, you can change the label (the text displayed
in the UI). Labels for UNO commands are defined in configuration files,
located in
main/officecfg/registry/data/org/openoffice/Office/UI/ModuleCommands.xcu

UNO commands that are used in more than one application and have the
same label, are defined in GenericCommands.xcu.

Note that your change will only modify the en-US string. You don't need
to rebuild the whole office for this simple change, only officecfg and
postprocess, then copy the respective modified file back in your
installation (I leave this as homework ;) ).


Regards
--
Ariel Constenla-Haile
La Plata, Argentina