Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,
I need help for this bug https://bugs.freedesktop.org/show_bug.cgi?id=47302 .I
am little inexperienced at scripting(xml). So I want help for my Query.

As per  *comment#1* at the above link.I have done following steps:

1)Added a menuitem with label "*~Slide Name*" at
http://opengrok.libreoffice.org/xref/core/scripting/workben/bindings/impressmenubar.xml#190
.

2)Added a node oor:name=".uno:*InsertSlideField*" with value="*~Slide Name*"
at
http://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/UI/DrawImpressCommands.xcu#534

3)Added a menuitem with menu:id="*.uno:InsertSlideField*" at
http://opengrok.libreoffice.org/xref/core/sd/uiconfig/simpress/menubar/menubar.xml#147

4)Define *SID_INSERT_FLD_SLIDE* at
http://opengrok.libreoffice.org/xref/core/sd/inc/app.hrc#379

5)Added a function *SfxVoidItem InsertSlideField SID_INSERT_FLD_SLIDE* at
http://opengrok.libreoffice.org/xref/core/sd/sdi/sdraw.sdi#3472


Using above procedure I am able to get "~*Slide Name*" option in
*Insert->Fields->Slide
Name*.But it is not active/working.

*So here is my Query:*

(1)Do I need to use some helper functions for viewing & getting "*Slide Name
*" ?

If yes ,then which function do I have to use and where can I use it to make
"*Slide Name*" option active?

Or I have to make some *changes* in the above given steps?


Eagerly waiting to get some answers in this query.

Regards,
Vishv

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.