OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Presentation control during slideshow

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API
View previous topic :: View next topic  
Author Message
wvengen
Newbie
Newbie


Joined: 25 Oct 2004
Posts: 1

PostPosted: Mon Oct 25, 2004 2:58 pm    Post subject: Presentation control during slideshow Reply with quote

I'm trying to control a slideshow while it's running. It it possible to set the CurrentPage property on the controller, but then no transition can be used and the screen flickers. In
python this is:
Code:
      page = doc.DrawPages.getByIndex(pageno)
      doc.getCurrentController().CurrentPage=page

Can a presentation only be started and ended like the api XPresentation suggests? I'd really like to go back and forth one page in the presentation triggered by UNO.
If this is not possible, I'd either have to start hacking on the source and add a method to XPresentation (FuSlideShow::JumpToPage in sd/source/ui/func/fuslshow.cxx looks like it does what I want), or simulate a PgUp/PgDn keypress.
I hope someone has an answer or suggestion.
Back to top
View user's profile Send private message
Cybb20
Super User
Super User


Joined: 02 Mar 2004
Posts: 1569
Location: Frankfurt, Germany

PostPosted: Mon Oct 25, 2004 5:03 pm    Post subject: Reply with quote

Having got to do with the presentation component a lot,according to my knowledge I can only say that it's not possible.
The current Presentation engine has some lack in terms of UNO features, it will be replaced by a new one for OOo 2.0 . You might want to take a look into that, or you stick to the stable 1.1.3 version and try to hack the source (which is not that easy!).

Christian
_________________
- Knowledge is Power -
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Macros and API All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group