Difference between revisions of "Documentation/How Tos/Using Movies in Impress on Linux Without Java"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Creating the OpenOffice.org Macro)
(Writing the external shell script)
Line 38: Line 38:
  xine --no-splash --geometry 400x400+420+420 \ /home/me/moviedb/my_movie01.mpg
  xine --no-splash --geometry 400x400+420+420 \ /home/me/moviedb/my_movie01.mpg
=Creating the OpenOffice.org Macro=
=Creating the OpenOffice.org Macro=

Revision as of 10:11, 17 August 2007



This text gives quick instructions on how to run movies in OpenOffice.org presentations without using any Java Software, specifically the Java Media Frameworks (JMF).

The approach described here might be used for working with just a few movies, it is not suitable for larger presentations.

{{Documentation/Note|A problem one is going to face is, that for starting the movie in Presentation Mode you will have to click on a graphic. In case you use to wander when presenting and also have fixed timings set up for your slides the approach described here will not be useful to you}

Understanding the basic concept


  • OpenOffice.org 2.x
  • Xine or any other movie player of your preference


We will use the following functionality for our purpose:

  • Insert > Picture > From File
  • Right click on the inserted graphic
  • Select Interaction
  • Select Run macro as Action at mouse click
  • By writing a simple macro running our shell script, which in turn starts our movie player, we hook our movie player in.

Writing the external shell script

xine --no-splash --geometry 400x400+420+420 \ /home/me/moviedb/my_movie01.mpg

Creating the OpenOffice.org Macro

Sub Main
End Sub

Linking the Macro to the graphic

  1. Insert your personal ~"start-movie-button-graphic" via Insert > Image
  2. Right-Click on the image
  3. Select Run macro as Action at mouse click
  4. Assign the macro

KDE specific: Removing borders of movie player window

  1. Open the KDE Control Center
  2. Select setup
  3. For all window-instances, which are created by program $your_favourite_movie player do not display window borders.

You have nice integration of the external movie player with your OpenOffice.org presentation.


Personal tools