[Libreoffice-bugs] [Bug 114264] Option to modify a menu or toolbar entry' s style in customization dialog

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Dec 17 19:54:39 UTC 2017


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

--- Comment #2 from Maxim Monastirsky <momonasmon at gmail.com> ---
After my recent patches, the style of a toolbar/menu item is stored in the
customization dialog in the associated SvxConfigEntry in the nStyle member, so
it should be easy to implement the UI for setting it.

The values correspond to the constants from
offapi/com/sun/star/ui/ItemStyle.idl, in particular RADIO_CHECK, TEXT, and
ICON. Icon+text style of a toolbar button is ICON+TEXT combined using bitwise
OR. For a menu, ICON and a combined ICON+TEXT have both the same meaning, as a
menu item can't have just an icon w/o text.

(In reply to Yousuf Philips (jay) from comment #0)
> For toolbar entries you have the toolbar:style which can be blank for icon,
Blank means the default setting of the whole toolbar. 'image' is what will
force the icon.

-- 
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/20171217/fcbf45bb/attachment-0001.html>


More information about the Libreoffice-bugs mailing list