User talk:Regina/HowTo Symbol For Character Style

Hi Regina,

Thank you very, very much for your efforts to help people who are working with styles to be more productive!

I've a question regarding umlauts:

I'm working with a Writer template in my company that is about 10 years old and there exists styles with umlauts in their name (e.g. "Companyname-Tabellenüberschrift"). I couldn't get that styles to work as toolbar buttons. In xlink:href I changed the ü to %252 ("Tabellen%252berschrift") but it didn't work. I think it's because the style is saved as "Tabellenüberschrift" and not as "Tabellen%252berschrift" in the XML files of the document and template.

This is an example line:



Do you have another idea what could help or did I miss something?

I don't want rename the styles with umlauts in their names because hundreds over hundreds documents based on that template wouldn't fit anymore.)

Thanks and greets, --Lendo (talk) 2017-03-27T12:20:45 (UTC)


 * If that are names, which you have defined yourself, then they can likely be used as they are, without any %-encoding. To test that, you can assign such a style to a shortcut key. The result is stored in the file registrymodifications.xcu in your user profile. The generated item should be somewhere in the start area of the file. It lools like

   .uno:StyleApply?Style:string=Überzögärn&amp;FamilyName:string=ParagraphStyles


 * The 'value' part has the string you need. I have used a dummy Paragraph style name "Überzögärn" to get some umlauts. --Regina (talk) 2017-03-27T12:56:12 (UTC)


 * Nice, thank you. While I tested it first with an umlaut, the style didn't work. So I thought I have to use %-chars to solve that. Good to hear and see that it also works with non-english characters. --Lendo (talk) 2017-03-27T19:06:36 (UTC)