Bug 34539

Summary: Autostart Impress Files in Batch-Mode
Product: LibreOffice Reporter: vohe <tdf>
Component: PresentationAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: jmadero.dev, osc, tbehrens, thb
Version: 3.3.1 RC1   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description vohe 2011-02-21 09:47:16 UTC
Hello,

there exists patch for Openoffice thats make it possible to start presentations automatically. (see: http://qa.openoffice.org/issues/show_bug.cgi?id=111311)

I think this only works with *.ppt files.

Please put this in the LibreOffice Code:

- call LibreOffice via commandline with parameter 
                e.g. soffice.exe -show -batch mypresentation.ppt
    
should open LibreOffice-Impress and starts "mypresentation.ppt" immediately after the presentation ends (which is may time controlled), LibreOffice-Impress is closed automatically.

- make this work with all possible filetyps for Impress. Especially the *.odp files.

- make the usage of the function visible in documentation (helpfile) at least in the help message which is displayed with command: soffice -h

Greetings
Volker
Comment 1 Thorsten Behrens 2011-02-21 13:48:38 UTC
Thx for filing vohe - yep, that was exactly what I meant. :)
Comment 2 Rob Snelders 2012-05-28 09:22:03 UTC
as far as I can see this works in 3.5.3 Linux Mint 13 x86_64.
The startup-parameter is shown in the "soffice --help"
Can show presentation of almost all the filetypes impress can open. Didn't check the templates. And the blank uop-presentation didn't open, but that file didn't open at all.

shouldn't this bug be closed?
Comment 3 Winfried Donkers 2012-05-29 00:23:39 UTC
It works as well with version 3.5.3 and Windows.
I changed the status to resolved/worksforme as the exact fix is not known.
Comment 4 Rob Snelders 2012-06-27 13:04:16 UTC
I got the following answer of the submitter. Which explained it to me.
--
normaly it should not be closed!
Startup an autostart presentation is possible since staroffice x.x.x

This issure  (and including patch) is ask for the automatic start AND stop of a presentation.

In this case it would be possible to make batchqueres like:

start Libreoffice with presentation1  (which is run automatically with timecodes on each side and ends after may 2 minutes)
  after that Libreoffice stops and return to the calling batch file (Linux call that shell file in guess)

in Windows:  demo.bat
:loopstart
libreoffice presentation1.odp -autoshow
mediaplayer companymovie.mpg -autostart
xnview d:/mypictures/companypics/*.jpg -diashowmode
libreoffice presentation2.odp -autoshow
goto loopstart

an Linux *.sh file looks similar i guess.

At that time the issue is wrote, Libre-(Open-)office ends all Presentation with a black screen. It show the message "press ESC to exit" . There was no way to skip this AND exit the impress.exe !

The issure (and the patch) search for a IMPRESS - PLAYER in fact.
--
Comment 5 Thorsten Behrens 2013-09-12 16:14:41 UTC
Apologies for not having gotten around fixing this bug yet; unfortunately in future I'll have even less time at my disposal for this, so I'm freeing up ownership for other volunteers to take over.
Comment 6 Joel Madero 2014-11-04 02:36:47 UTC
REOPENED is incorrect status for this as it's not assigned to anyone. Moving to NEW

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.