Hmmm...... Nice to know. Infact I planned something like. But never had enough time. Keep us posted about this.
Regards, Srini On 6/6/06, Andy Cordwell <[EMAIL PROTECTED]> wrote:
I'd like to write a application that opens a PowerPoint presentation and plays it to the end, all without user intervention (which I think I've done - see earlier posts). After a quick demo of this, our end-user asked that the slideshow simply starts playing, without showing the Impress window as the file loads and converts (which is a relatively lengthy process). He also asked that the size and position of the window that shows the slideshow is also controllable. This implies I need to find a way to 'hide' the Impress window as it opens and converts the PowerPoint, then control the window size and position as it starts playing the slideshow. I am aware I can run the slideshow in the current window by setting the Slideshow Options ~ Window setting. However, this still leaves the menubar showing (status bars and toolsbars etc I can turn off). Being an OpenOffice.org developer newbie, I've got a few queries at this point: Can the menu bar / main window be hidden? Are there any settings (start up settings?) which control the window size? Is there an OO API available to do any of this? I've tried passing the -hidden, -headless and -invisible command line options, but these do not have any visible impact on the window (with the exception of one which disables input). I'll also need to determine when the slideshow has finished playing so that I can perform internal clean up and exit Impress. I noticed a post earlier that said there was no callbacks to notify when a presentation had ended. Any thoughts as to how I could accomplish this? I'm prototyping in Java, but will write the final application in C++. Running OpenOffice 2.0.2. under Fedora Core 4. Regards, Andy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
