[Libreoffice-ux-advise] [Bug 106681] Feature Request: Ability to assign character styles to toolbar buttons...

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Mar 23 00:22:00 UTC 2017


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

--- Comment #8 from vermontpoet at gmail.com ---
Thanks for the Howto. Am using Mint/Ubuntu 16.04 with LO 5.3.1.2

Some differences in Linux:

The location of the config file for the user's custom toolbar is:

home/<user>/.config/libreoffice/4/user/config/soffice.cfg/modules/swriter/toolbar

The location of the menubar.xml file is:

usr/lib/libreoffice/share/config/soffice.cfg/modules/swriter/menubar

I edited my Styles toolbar thusly:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE toolbar:toolbar PUBLIC "-//OpenOffice.org//DTD OfficeDocument
1.0//EN" "toolbar.dtd">
<toolbar:toolbar xmlns:toolbar="http://openoffice.org/2001/toolbar"
xmlns:xlink="http://www.w3.org/1999/xlink" toolbar:uiname="Styles"/>
<toolbar:toolbaritem
xlink:href=".uno:StyleApply?Style:string=Strong%20Emphasis&FamilyName:string=CharacterStyles"
toolbar:text="Style Bold"/>
<toolbar:toolbaritem
xlink:href=".uno:StyleApply?Style:string=Emphasis&FamilyName:string=CharacterStyles"
toolbar:text="Style Italics"/>

In Linux, '&' apparently needs to be '&amp'. So, your example:

<toolbar:toolbaritem
xlink:href=".uno:StyleApply?Style:string=Strong%20Emphasis&FamilyName:string=CharacterStyles"
toolbar:text="Style Strong Emphasis"/>

Should appear as the following in Linux:

<toolbar:toolbaritem
xlink:href=".uno:StyleApply?Style:string=Strong%20Emphasis&FamilyName:string=CharacterStyles"
toolbar:text="Style Strong Emphasis"/>

All that said, all I get in LO is an empty toolbar. There's probably some other
nicety that's missing as concerns Linux.

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


More information about the Libreoffice-ux-advise mailing list