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

--- Comment #8 from vermontp...@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&amp;FamilyName:string=CharacterStyles"
toolbar:text="Style Bold"/>
<toolbar:toolbaritem
xlink:href=".uno:StyleApply?Style:string=Emphasis&amp;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&amp;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 the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to