[Libreoffice-bugs] [Bug 101704] Allow extensions to register their own button within a tab in the Notebookbar

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Feb 13 13:57:54 UTC 2019


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

andreas_k <kainz.a at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kainz.a at gmail.com

--- Comment #8 from andreas_k <kainz.a at gmail.com> ---
as there is not only tabbed toolbar the request for extension support in
LibreOffice has to be more generic.


Idea
---------
when you have a look at the notebookbar*.ui files all uno commands are in an
sfxlo-NotebookbarToolBox widget, because with an sfxlo-NotebookbarToolBox
widget you can define the Toolbar Style (Text only, Icon only, Text below
icons, Text beside icons) and the Icon size (no setting use the default setting
which the user can change in LibO Settings, Large Toolbar, Menubar, ...)

So my request for extension support would be to define extensions with the
sfxlo-NotebookbarToolBox widget.

Tabbed Toolbar: own Tab where you have sfxlo-NotebookbarToolBox with settings
Text below Icons and Large Toolbar icon size

Tabbed compact Toolbar: own Tab where you have sfxlo-NotebookbarToolBox with
settings Text beside Icons

Groupedbar compact Toolbar: own Group called extensions where you have
sfxlo-NotebookbarToolBox with icons only layout

Implementation
--------------
sfxlo-NotebookbarToolBox widget have an specific name e.g. extension1,
extension2, ... so everywhere an sfxlo-NotebookbarToolBox widget called
extension1 was available in the .ui file the commands from the extension will
be shown.

open issues:
- would be cool if the user can rearrange the extensions (define which is
extension1, extension2, ...
- it's not possible to say specific command's are more importend and can than
be arranged on the home tab.


Summery
---------
Use NotebookbarToolBox widget with an specific name would be an easy solution
and will have an good first implementation, it wan't save all issues (like
rearrange commands), but customize the notebookbar is another bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190213/401eefa3/attachment.html>


More information about the Libreoffice-bugs mailing list