Hi all
I posted yesterday a question but got no answer.
It was about getting the end of a presentation.
See below my mail.
If I can rephrase my problem :
I need to start several presentations in a row
and eventually do something else between two presentations.
I did not succeed !!!
I hope I would receive an event at the end of a presentation ...
Maybe but I do not know how to catch it.
Then I calculated the duration and made a pause ...
(It will not work in real life when I would receive dynamic
presentations).
And I redo the code starting at :
XComponent xComponent = xcomponentloader.loadComponentFromURL(
sUrl, "_blank", 0, pPropValues );
But then I have two instances of simpress open !!!!
How can I do ?
Any idea would be great....
> Hi all,
>
> I start an Impress presentation from a JAVA API with
> the following code :
>
> XPresentationSupplier xPresSupplier =
> (XPresentationSupplier)UnoRuntime.queryInterface(
> XPresentationSupplier.class, xComponent);
> XPresentation xPresentation = xPresSupplier.getPresentation();
> XPropertySet xPresPropSet = (XPropertySet)UnoRuntime.queryInterface(
> XPropertySet.class, xPresentation);
> xPresPropSet.setPropertyValue("IsEndless", new Boolean(false));
> xPresPropSet.setPropertyValue("IsFullScreen", new Boolean(true));
> xPresPropSet.setPropertyValue("Pause", new Integer(0));
> xPresentation.start();
>
> and I want to know when it ends.
> I imagine that we must use some kind of listener ... but I did not
> figure out how to do it ...
>
> It could also be helpful to get an event at each change of page...
>
> Can you help me please
>
> Thanks in advance
> Dominique
--
Dominique Sauquet @OK
It's Sauquet.com
14 Bis rue Raynouard
75016 Paris
Tél/fax : +33 (0)1 45 20 41 78
Mobile : +33 (0)6 72 78 26 67
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]