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: TOOLS DRAW
Date Thu, 07 Mar 2013 23:50:47 GMT
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-US">F~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.pootdiaz@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 <arielch@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: <Module>Commands.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
>>
>
>

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