Avatar of zizi21
 asked on

getPresentation().start() timer

Hi all,

I am stuck and have been spent a long time. Any help to get me started is appreciated.
I have created some presentation slides using :

oDoc1 = StarDesktop.loadComponentFromURL( ....document 1... )

But, I can't put a timer between the slides. I am trying to do a pause of a couple of seconds before the slide advances to the next slide. And then, when the presentation finishes, it starts from the first slide again.

I think, i need a timer. Could please direct to any function to get me started , i would appreciate it very much.

Avatar of undefined
Last Comment

8/22/2022 - Mon

The pause between slides needs to be added to the presentation itself.  In OOo Impress or LIbreOffice Impress in the right pane under tasks Click on Slide Transition.  Then in the section for Advance slide click on automatically after and add in your time delay.  then Click Apply to All slides.

Then to Loop the slide Show, click on Slide Show >> Slide Show Settings and set the type to Auto.  Put in your delay between shows and save.


I know how to do it in the presentation but I am trying to use a macro for it. Like, have a for loop and just continue looping the slides with some pauses..Is that possible..?

The only way I know to make this work is to add the setting through the interface.  Once they are set properly there, then the start method will do what you want.  What are the limitations that keep you from setting them in the presenation?

There are several properties that look like they may do what you need, but I can get none of them to work.

Your help has saved me hundreds of hours of internet surfing.

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

Sorry for the late reply as something happened...Thanks a lot...I am studying and doing it now...

Thanks a lot.