what is meaning of [closed]

asked 2014-05-16 20:14:02 +0200

altair gravatar image

updated 2014-05-16 23:17:38 +0200

karolus gravatar image

Hello! Please what is the meaning of CurrentController and Frame in that macro:

sub letter_m 
   dim document as object 
   dim dispatcher as object 
   document  =ThisComponent.CurrentController.Frame 
   dispatcher = createUnoService("com.sun.star.frame.DispatchHelper") 
   dim args(0) as new com.sun.star.beans.PropertyValue 
   args1(0) .Name = "Text" 
   args1(0) .Value = "Value" 
   dispatcher.executeDispatch(document, " .uno:InsertText", "", 0, args1()) 
end sub
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2016-02-22 17:36:00.822434