Hello Christian, On Thursday 22 October 2009, 12:50, Christian Lippka wrote: > Hi Ariel, > > Ariel Constenla-Haile wrote: > > Hello Konstantin, > > > > On Thursday 22 October 2009, 07:38, Konstantin Tokarev wrote: > >> Could you explain in detail, what is 'external plugin'? > > > > Christian was telling about the feature found when inserting a video > > from the menu Insert - Object - Video... > > But this isn't something you can achieve as an OOo extension developer > > (OOo is just a client of the mozilla plug-ins) > > well you can write a plugin and possible deploy it with your extension
AFAIK mozilla plug-ins only work installed at $HOME/.mozilla/plugins (or at system level), but - although technically possible - an extension shouldn't install anything aside from what's installed using xcu files > and you could communicate between an OOo Add On and your plugin using > something else than UNO API (f.e. a pipe). So yes developing a plugin > may be a valid option to add interactivity to a running slideshow as it > gives you a system window that is placed on the slideshow window under > your control. > Not a nice solution but the only one I see right now, depending on what > you like to achieve. Konstantin is working on a chemistry extension. So I guess he is trying to develop something that shows some chem. structures, and he wants to bring the user the chance to move the structure during the presentation to amaze his audience. Something similar to the Jmol object will in running state http://arielch.fedorapeople.org/devel/JmolEmbeddedObject.oxt (which is just a demo) it will be really cool if during the presentation the presenter can move the molecule at his own will to show better what he is explaining, and not simply showing the replacement graphic. > For example to change content between slide changes > could be implemented today by simply restarting the slideshow using the > API. But interactive content during the display of one slide is not > possible with using only UNO API right now. there could also be something tricky/work-around-like. One can get the window handle and do quite surprising things (I've managed to embed the VLC player inside an OOo AWT window, using OOo API, no need to hack http://arielch.fedorapeople.org/images/vlc_ooo_awt_embedded.png - not that I'm that smart, I've just stolen every thing from the avmedia Java player), but in this case I'm rather pessimistic: AFAIK, while the presentation is running, the XSlideShowController does not give you access to this kind of low level stuff. Regards -- Ariel Constenla-Haile La Plata, Argentina --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
