Date: prev next · Thread: first prev next last
May 2019 Archives by date, by thread · List index


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

--- Comment #7 from Maxim Monastirsky <momonasmon@gmail.com> ---
Created attachment 151110
  --> https://bugs.documentfoundation.org/attachment.cgi?id=151110&action=edit
Proof of concept patch

To make it clearer what I mean, I took a few hours to play with the code, and
came up with the attached patch that demonstrates my idea. This uses the
existing single mode toolbar (View > UI > Single Toolbar), and appends to the
end of it some existing contextual toolbar. So e.g. when an image is selected,
the toolbar consists of singlemode.xml + separator + graphicobjectbar.xml. For
the demonstration, I hard-coded some contexts in Writer (Text, Table, Graphic,
OLE, Draw) and mapped them to the existing toolbars. Customization via the
dialog, and support for extensions *works already* with this patch (by request,
I can attach a sample extension, so it could be tested). Customization via
right-click context menu doesn't work yet (but that's just a demonstration
anyway).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.