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

Pranav Kant <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Pranav Kant <[email protected]> ---
(In reply to Aleksander Machniak from comment #0)
> 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).

HideSaveOption
HidePrintOption
HideExportOption

Set these to true and all of them would be hidden. You can also chose to hide
them individually. File menu item will only dissappear if there are no items in
it (obviously), which will happen if you turn all of above to true.

> 
> 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").

Have a look at loleaflet/reference.html where I have updated the documentation
regarding these.

-- 
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

Reply via email to