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


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

--- Comment #8 from vermontpoet@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 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.