Ask Your Question
0

Impress Presenter Console or Timer

asked 2015-07-09 23:32:48 +0100

Hesediel gravatar image

Helllo i have a presentation with impress, i would like to have a running timer for the presentation. The software has a timer presentation but this works only for the singular slide not for the all presentation. If i change slide the timer goes to 0. I want a timer running from first to the last slide.

I know the presenter console with another monitor attached. Isn't possible to try that without a second monitor connected?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2015-07-15 14:59:55 +0100

pierre-yves samyn gravatar image

Hi

May be you can try the Impress Remote. The application handles a timer but I do not remember if it is reset for each slide.

Another approach would be to include in the master page the time in variable format: Menu Insert Date & Time Variable. This does not give you direct calculation but get the start time and end time. Note: it seems that the hh:mm:ss format is not preserved when the document is saved...

Last possibility: If using a macro does not disturb you can start the slide via a macro like addListener:

Option Explicit

global top As Date

Sub addListener

dim oPresentation as object, oController as object, oList as object

oPresentation = ThisComponent.Presentation
oList = createUnoListener("Pys_","com.sun.star.lang.XEventListener")

top = now

'Use rehearseTimings to display the timer on each slide'
'Use start to not display'
'oPresentation.start()'
oPresentation.rehearseTimings

oController = oPresentation.Controller
oController.addEventListener(oList)

end sub

Sub Pys_disposing(oEvent)
MsgBox(Format(Now-top, "hh:mm:ss") , 0, "Running timer") 
End Sub

Sub Pys_notifyEvent(oEvent)
End Sub

The total duration of the slideshow will be displayed when it is finished. To test, open Timer.odp, run Tools Macros Organize Macros LibreOffice Basic, unfold Timer.odp Standard Module1, select addListener and click Run.

If this answers the question, thank you to click on the ✔ to mark it ANSWERED.

Regards

edit flag offensive delete link more

Comments

I've just tried this demo, and it's cool. However it still seems to count from zero for each slide. Is this described at all in descriptions of macros?

mellipop gravatar imagemellipop ( 2017-10-03 09:12:16 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-07-09 23:32:48 +0100

Seen: 1,157 times

Last updated: Jul 15 '15