0

I have been using the Python-uno interface to launch OpenOffice and run PowerPoint slide shows on a Linux-based noticeboard system. Now the customer wants to make a split-screen and show four different slide shows on the screen at the same time.

But whenever I start a slide show in a second instance of OpenOffice, the first slide show will freeze.

Has anyone out there encountered this problem before? Anyone solved it?

I am running OpenOffice 2.4 on Debian Linux. I run two completely separate instances of OpenOffice in separate processes but they seem to affect each other anyway.

1
  • Have you tried openoffice 3.0? Commented Dec 17, 2008 at 22:59

1 Answer 1

1

I know this is a dead post, but I think it would be useful for anybody else who has this problem.

Try going to this forum. You could try to use an OpenOffice macro and accessing it with a python function. Here is the macro code:

Sub hello 

    dim xPresentation as object 
    set xPresentation = thiscomponent.getpresentation 
    xPresentation.setPropertyValue("IsEndless", true)  'loops around 
    xPresentation.start() 

End Sub

For the python part, I think you would need to invoke /usr/bin/soffice (possibly /usr/lib/libreoffice/program/soffice) with the URL "macro:///MyLibrary/MyModule/MyFunction(/home/foo/bar/MyImpressDoc.sxi"

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.