I try to run a macro (Impress):
Code: Select all
Sub Macro5()
Dim oDoc as Object
Dim oPresentation as Object
Dim oController as Object
oDoc = thisComponent
oPresentation = oDoc.Presentation
oController = oPresentation.Controller
If (Not GlobalScope.BasicLibraries.isLibraryLoaded("XrayTool")) Then GlobalScope.BasicLibraries.LoadLibrary("XrayTool")
Xray oController
'oCurrentSlide = oController.CurrentSlide
End Sub
How can I get an object "oController"?
Thanks!