But I really want to switch to View HTML Source in OOo Writer. Could someone tell me how to change the code? My searches have been unsuccessful.
Thanks for any help you can give me!
Code: Select all
rem get access to the document
document = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
rem ----------------------------------------------------------------------
dim args1(0) as new com.sun.star.beans.PropertyValue
args1(0).Name = "BrowseView"
args1(0).Value = true
dispatcher.executeDispatch(document, ".uno:BrowseView", "", 0, args1())