Need Help for Bug 47302 - Adding a new field in "Insert->Fields"
Vishv Brahmbhatt
vishvbrahmbhatt19 at gmail.com
Wed Feb 13 10:30:02 PST 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130214/442d8f91/attachment.html>
More information about the LibreOffice
mailing list