| View previous topic :: View next topic |
| Author |
Message |
wvengen Newbie

Joined: 25 Oct 2004 Posts: 1
|
Posted: Mon Oct 25, 2004 2:58 pm Post subject: Presentation control during slideshow |
|
|
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 |
|
 |
Cybb20 Super User


Joined: 02 Mar 2004 Posts: 1569 Location: Frankfurt, Germany
|
Posted: Mon Oct 25, 2004 5:03 pm Post subject: |
|
|
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 |
|
 |
|