https://bugs.documentfoundation.org/show_bug.cgi?id=61424

--- Comment #21 from trashyan...@wp.pl ---
every thing work "fine", simply "normal view" action is bind to different thing
that button in menu.

Using macro recording I find that "view->normal" action call:

```
dispatcher.executeDispatch(document, ".uno:PageMode", "", 0, Array())
```

but button in menu call:

```
dispatcher.executeDispatch(document, ".uno:NormalMultiPaneGUI", "", 0, Array())
```

This give us one workaround, simply crate macro that call correct action for
you:

```
sub Main
rem ----------------------------------------------------------------------
rem define variables
dim document   as object
dim dispatcher as object
rem ----------------------------------------------------------------------
rem get access to the document
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")

rem ----------------------------------------------------------------------
rem dispatcher.executeDispatch(document, ".uno:NotesMode", "", 0, Array())

rem ----------------------------------------------------------------------
dispatcher.executeDispatch(document, ".uno:NormalMultiPaneGUI", "", 0, Array())


end sub
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to