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
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to