List Info

Thread: Current slide of a running presentation




Current slide of a running presentation
user name
2007-03-31 04:03:59
Michael Hoennig wrote:

 > Thus, if you still have a question unanswered
 > for more than two days, feel free to place a reminder
on the
 > list.

Reminder 

Stefan Weigel wrote:
> Hi,
> 
> I wonder how I can get the name of the current slide in
a running 
> presentation out of a piece of BASIC code like this:
> 
> sub test()
>    dim oDoc as object
>    dim oPage as object
>    dim sName as string
>    oDoc = StarDesktop.CurrentComponent
>    oPage = oDoc.CurrentController.CurrentPage
>    sName = oPage.LinkDisplayName
>    ...
> end sub
> 
> Unfortunately CurrentPage returns the slide that was
selected before the 
> presentation has been started and not the momentarily
shown slide during 
> the running presentation.
> 
> I would appreciate any hint.
> 
> Thanks
> 
> Stefan

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )