<div>Hi,</div><div>I need help for this bug <a href="https://bugs.freedesktop.org/show_bug.cgi?id=47302" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=47302</a> .I am little inexperienced at scripting(xml). So I want help for my Query.</div>
<div><br></div><div>As per <b>comment#1</b> at the above link.I have done following steps: </div><div><br></div><div>1)Added a menuitem with label "<b>~Slide Name</b>" at <a href="http://opengrok.libreoffice.org/xref/core/scripting/workben/bindings/impressmenubar.xml#190" target="_blank">http://opengrok.libreoffice.org/xref/core/scripting/workben/bindings/impressmenubar.xml#190</a>.</div>
<div><br></div><div>2)Added a node oor:name=".uno:<b>InsertSlideField</b>" with value="<b>~Slide Name</b>" at <a href="http://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/UI/DrawImpressCommands.xcu#534" target="_blank">http://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/UI/DrawImpressCommands.xcu#534</a></div>
<div><br></div><div>3)Added a menuitem with menu:id="<b>.uno:InsertSlideField</b>" at <a href="http://opengrok.libreoffice.org/xref/core/sd/uiconfig/simpress/menubar/menubar.xml#147" target="_blank">http://opengrok.libreoffice.org/xref/core/sd/uiconfig/simpress/menubar/menubar.xml#147</a></div>
<div><br></div><div>4)Define <b>SID_INSERT_FLD_SLIDE</b> at <a href="http://opengrok.libreoffice.org/xref/core/sd/inc/app.hrc#379" target="_blank">http://opengrok.libreoffice.org/xref/core/sd/inc/app.hrc#379</a></div><div>
<br></div><div>
5)Added a function <b>SfxVoidItem InsertSlideField SID_INSERT_FLD_SLIDE</b> at <a href="http://opengrok.libreoffice.org/xref/core/sd/sdi/sdraw.sdi#3472" target="_blank">http://opengrok.libreoffice.org/xref/core/sd/sdi/sdraw.sdi#3472</a></div>
<div><br></div><div><br></div><div>Using above procedure I am able to get "~<b>Slide Name</b>" option in <b>Insert->Fields->Slide Name</b>.But it is not active/working.</div><div><br></div><div><b>So here is my Query:</b></div>
<div><br></div><div>(1)Do I need to use some helper functions for viewing & getting "<b>Slide Name</b>" ? </div><div><br></div><div>If yes ,then which function do I have to use and where can I use it to make "<b>Slide Name</b>" option active? </div>
<div><br></div><div>Or I have to make some <b>changes</b> in the above given steps?</div><div><br></div><div><br></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Eagerly waiting to get some answers in this query.</span></div>
<div> </div><div>Regards,</div><div>Vishv</div>