Need Help for Bug:47302

Vishv Brahmbhatt vishvbrahmbhatt19 at gmail.com
Mon Apr 1 03:45:40 PDT 2013


Hi,

I need help for Bug 47302.
https://bugs.freedesktop.org/show_bug.cgi?id=47302

For  *impress* : I have to get slide name in the text-field through
option *Insert->Fields->Slide
Name*. Similar to the Page Number option in the Insert->Fields->Page Number

I  am not completely sure of  the correct mechanism of storing slide name
for different slides.But through bits and pieces of understanding,I have
been able to get the *Slidename* in the Text-Field and store it (because
slide name appears perfectly in *Notes(page)* even after closing &
reopening of *impress* file). But still ,I am facing some problems in *Normal
View* ,as the slide name(in text-field)  doesn't change automatically with *
renaming* of the Slide.

I am attaching my *git-diff patch* for current status on the bug.

So following are my Questions :

(1) What is the exact mechanism that works behind in storing page number
(in text field)(like some array or data structure) and how it can be used
for *Slide Name* too?

(2) How can I handle renaming of the Slide (with my existing code) and the
slide name can automatically change in the text-field?

(3) In this code ,I am using *pagenumber service* which will affect
*Insert->Fields->Page
Number* option (and it will not work properly).So I need to define a new *
service* for *slide name*,but how can I create a new service and use it?
Because my attempt to define a new service through IDL file was
not successful ,as compiler did not recognize it.So how can I handle this
problem?


In-spite of many attempts ,I am not able to get further clue about this
problem.So any sort of help is appreciated.


Thanks and Regards,
Vishv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130401/21716d7e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bug47302.patch
Type: application/octet-stream
Size: 18926 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20130401/21716d7e/attachment-0001.obj>


More information about the LibreOffice mailing list