https://bugs.documentfoundation.org/show_bug.cgi?id=103641
Bug ID: 103641
Summary: postMessage API: File menu commands
Product: LibreOffice Online
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
I'd like to implement a toolbar on the host page that will "proxy" some of the
editor toolbar functionality. I'd like to hide completely "File" menu and
"Save" button.
So, one thing is a way to tell the editor to not display some of the UI (File
menu and Save button).
The other thing is postMessage API extension with:
1. "Action_Save" command - just emit click on "Save" button
2. "Action_Print" command - just emit click on Print menu item
3. "Action_Export" command - just emit click on "Download as" with pre-selected
output format.
4. "Export_Formats"/"Export_Formats_Resp" commands - to get supported export
formats. This should return an array of:
"label" - file type description
"format" - file mimetype (used for input for "Action_Export").
BTW, is there a simple way to remove the logo element at all? I see that even
with branding.css it's not so simple as it requires some style to move the
menus/toolbars to the left.
I'm using loolwsd 1.9.5.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs