Ask Your Question
0

Is there a way to "go back to the last slide visited" in Impress? [closed]

asked 2012-04-18 16:43:23 +0200

rjwse gravatar image

In Impress you can select from a list of available Interactions to make a nonlinear, branching slide presentation. I see Prior, Next, Last, First, and so forth, but I am trying to make a multiple choice test and would like to go back to the last slide visited (the question slide). The "Prior" selection does not mean "last slide visited". Is there a way to do this?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-08-15 14:33:24.768456

Comments

@rjwse, You're on a roll with these useful questions! :-) Apologies we haven't found answers for you yet. Please let us know if you find answers yourself, or we'll try to poke the appropriate people to find out (I'd give you karma points, but I'm all out for today)

qubit gravatar imagequbit ( 2013-01-26 21:34:23 +0200 )edit

I think, the assign page as ctrl + 0~9 like in RTS game is very useful in such situation as well. up to 10 special pages or more. Also with "back" function like in web browser, make it alt+left(arrow) for me please :)

jiero gravatar imagejiero ( 2013-02-15 05:10:39 +0200 )edit

fdo#61645 hope somebody will take on the easy hack :

jiero gravatar imagejiero ( 2013-03-19 00:18:17 +0200 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2013-02-28 21:55:10 +0200

qubit gravatar image

@jiero writes:

I think, the assign page as ctrl + 0~9 like in RTS game is very useful in such situation as well. up to 10 special pages or more. Also with "back" function like in web browser, make it alt+left(arrow) for me please :)

Please file an enhancement bug and provide as much information about this new feature as possible. Don't forget to mark your bug as an 'enhancement'. The QA team will be happy to help you triage your feature request in the bugtracker.

Please post a link to any bugs you file in a comment below using the format "fdo#123456".

Thanks!

edit flag offensive delete link more

Comments

As posted by jiero above, filed as fdo#61645

qubit gravatar imagequbit ( 2013-03-19 04:42:03 +0200 )edit

@jiero - thanks for the enhancement request!!!

ROSt52 gravatar imageROSt52 ( 2013-03-19 12:26:17 +0200 )edit
0

answered 2015-01-30 13:02:41 +0200

You can use this macro http://pastebin.com/qiBBiQPv

Then create an element, give it an "interaction", choose "Run macro" and then choice "GoToLastSlideViewed"

The macro is this one, is based on the one I found on http://www.oooforum.org/forum/viewtop...

Function GetPresentationController 
  GetPresentationController = ThisComponent.getPresentation().getController() 
End Function 


Sub GoToSlideByIndex(n As Long) 
  GetPresentationController.gotoSlideIndex(n) 
End Sub 


Sub GoToNextSlide 
  GetPresentationController.gotoNextSlide() 
End Sub 

Sub GoToLastSlideViewed 

  mytools_SlideShowPageNumber_A = mytools_SlideShowPageNumber_B
  mytools_SlideShowPageNumber_B = mytools_SlideShowPageNumber_C
  mytools_SlideShowPageNumber_C = mytools_SlideShowPageNumber_D
  mytools_SlideShowPageNumber_D = mytools_SlideShowPageNumber_E

    Print " ABCDE= " & mytools_SlideShowPageNumber_A & " " & mytools_SlideShowPageNumber_B & " " & mytools_SlideShowPageNumber_C & " " & mytools_SlideShowPageNumber_D & " " & mytools_SlideShowPageNumber_E

  GoToSlideByIndex(mytools_SlideShowPageNumber_A) 
End Sub 


Function GetCurrentSlideIndex As Long 
  GetCurrentSlideIndex = GetPresentationController.getCurrentSlideIndex() 
End Function 


Sub SlideShow_paused() 
End Sub 
Sub SlideShow_resumed() 
End Sub 
Sub SlideShow_slideTransitionStarted() 
  n = GetCurrentSlideIndex() 

  If n <> mytools_SlideShowPageNumber_A Then

      mytools_SlideShowPageNumber_E = mytools_SlideShowPageNumber_D
      mytools_SlideShowPageNumber_D = mytools_SlideShowPageNumber_C
      mytools_SlideShowPageNumber_C = mytools_SlideShowPageNumber_B
      mytools_SlideShowPageNumber_B = mytools_SlideShowPageNumber_A
      mytools_SlideShowPageNumber_A = n

      'Print "n = " & n & " ABCDE= " & mytools_SlideShowPageNumber_A & " " & mytools_SlideShowPageNumber_B & " " & mytools_SlideShowPageNumber_C & " " & mytools_SlideShowPageNumber_D & " " & mytools_SlideShowPageNumber_E

  End if


End Sub 
Sub SlideShow_slideTransitionEnded() 
End Sub 
Sub SlideShow_slideAnimationsEnded() 
End Sub 
Sub SlideShow_slideEnded() 
'  mytools_SlideShowPageNumber_A = 0 
'  mytools_SlideShowPageNumber_B = 0 
'  mytools_SlideShowPageNumber_C = 0 
'  mytools_SlideShowPageNumber_D = 0 
'  mytools_SlideShowPageNumber_E = 0 
End Sub 
Sub SlideShow_hyperLinkClicked(hyperLink) 
End Sub 
Sub SlideShow_beginEvent(node) 
End Sub 
Sub SlideShow_endEvent(node) 
End Sub 
Sub SlideShow_repeat(node, repeat) 
End Sub 
Sub SlideShow_disposing(ev) 
End Sub
edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-04-18 16:43:23 +0200

Seen: 3,010 times

Last updated: Jan 30 '15