Apache OpenOffice (AOO) Bugzilla – Issue 102331
createUnoService("com.sun.star.frame.DispatchHelper") return null
Last modified: 2013-02-24 21:09:58 UTC
I try to use DispatchHelper with Java API and it always return null. Then I try to use it directly in OOBasic and it return null. I make this test under OO 2.2 and the same macro works. Here the code that don't work under OO 3.1: dim document as object dim dispatcher as object document = ThisComponent.CurrentController.Frame dispatcher = createUnoService("com.sun.star.frame.DispatchHelper") dispatcher.executeDispatch(document, ".uno:Copy", "", 0, Array()) Dispatcher is always null.
jsc -> cd: seems to be one for the framework, can you please take of it