Date: prev next · Thread: first prev next last
March 2016 Archives by date, by thread · List index


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

Yousuf (Jay) Philips <philipz85@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needsDevEval, topicUI
                 CC|libreoffice-ux-advise@lists |akshaydeepiitr@gmail.com,
                   |.freedesktop.org            |kris.kr296@gmail.com,
                   |                            |momonasmon@gmail.com
             Blocks|                            |86899
            Summary|Single toolbar mode         |UNO command for Single
                   |                            |Toolbar Mode

--- Comment #3 from Yousuf (Jay) Philips <philipz85@hotmail.com> ---
So the Writer toolbar is ready and sent as a patch:
https://gerrit.libreoffice.org/22818

So that is pending is the creation of an UNO command to do the following.

On Click:
1) Backup to the user profile a list of the module toolbars where the Visible
property is true
2) Set all Visible=true toolbars to Visible=false
3) Enable single toolbar mode toolbar (singlemode.xml) by setting its
Visible=true
4) Backup the current user profile module 'ToolbarMode' entry in the user
profile 
5) Set the user profile module 'ToolbarMode' entry to 'Single'
6) Backup the current icon theme name and size and set it to Breeze small

On Un-Click: (basically the opposite)
1) Restore the backed up user profile module 'ToolbarMode' entry
2) Clear the backed up 'ToolbarMode' entry
3) Hide single toolbar mode toolbar by setting its Visible=false
4) Restore the Visible=true to the backed up toolbars list
5) Clear the backed up toolbar list
6) Restore backed up icon theme name and size

The point of this functionality is so that when a user enables and then
disables single toolbar mode, all their previously set toolbars settings wont
be reset. The UNO command should be accessible in Writer and Calc as Impress
and Draw can easily be set to utilize a single toolbar. This same UNO command
functionality is intended for Sidebar Mode (bug 92220), so ideally the code
should be written with the intention that it can be used reused/extended. It
would be ideal if there was a single UNO command (e.g. .uno:ToolbarMode) which
could take an argument for the toolbar mode to be done (e.g.
.uno:ToolbarMode?Style:string=Single)

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