How to remove the main menu?

Miklos Vajna vmiklos at
Mon Jul 8 00:43:42 PDT 2013


On Sun, Jul 07, 2013 at 03:10:24PM +0300, Ptyl Dragon <ptyl at> wrote:
> For the mobile iOS app, we would like to remove the writer main menu (the
> File / Edit / View / Tools ... menu), so to be left with a pure canvas.
> What would be the simplest way to do that?

One simple way is to just comment out the createElement() call in
SfxDispatcher::SetMenu_Impl(). (Possibly that's possible to do from some
configuration option.)

You still need to disable toolbars if you want to get only the document
area, though.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <>

More information about the LibreOffice mailing list