Hi,
Is it possible to accumulate character styles? By which i mean, i have, eg a char style for a coloured background, applied to certain text selections. I have another char style for small caps, applied to certain words in the text. Now if one of those words also occurs in one of the coloured background sections, is it possible to apply the small caps style without losing the coloured background style that is already there? Or is it necessary to create a unique style for each possible combination of features that may be required in a text?
Thanks
Gary
Hi Gary,
Gary Collins schrieb:
Hi,
Is it possible to accumulate character styles? By which i mean, i have, eg a char style for a coloured background, applied to certain text selections. I have another char style for small caps, applied to certain words in the text. Now if one of those words also occurs in one of the coloured background sections, is it possible to apply the small caps style without losing the coloured background style that is already there? Or is it necessary to create a unique style for each possible combination of features that may be required in a text?
The file format ODF allows nesting of <text:span> elements. Each such <text:span> element applies a style to a portion of text. And if an inner element has no own rule for a property, then it takes the rule from the outer element.
If LibreOffice gets such file, it will be rendered correctly. But unfortunately LibreOffice itself will not create such files, at least I was not able to do it with the current UI.
Combining a character style with a direct formatting works in the UI.
Kind regards
Regina