https://bugs.documentfoundation.org/show_bug.cgi?id=127115
Regina Henschel <rb.henschel@t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rb.henschel@t-online.de
--- Comment #7 from Regina Henschel <rb.henschel@t-online.de> ---
The problem is this: Actually, language is a property of character portions.
However, the paragraph can have a default language. This is used if the
characters do not have their own language setting.
The problem in your case is, that if you select an entire paragraph, then the
choosen language is not applied to the characters, but it is set as default
language into the paragraph. If you then apply a new paragraph style it will
use the default of that new style.
For to set a language to a portion of text, define a _character_ style with
that language. To change the language of the text portion, apply that style. In
this case the "portion" may be an entire paragraph.
If you look into the generated file, the difference is, whether a <text:span>
element with a "Tn" (or your own character style name) style exists, or there
is only the <text:p> element with a "Pn" (or your own paragraph style name)
style.
There is indeed a UX problem: It is not clear, what happens, if an entire
paragraph is selected and something is done with this selection. Sometimes the
setting is uses as paragraph property, sometimes as character property. Only
the assignment of a character style seems to reliably generate the <text:span>
elements, needed for multi-language documents.
--
You are receiving this mail because:
You are on the CC list for the bug.
Context
- [Libreoffice-ux-advise] [Bug 127115] language-agnostic styles · bugzilla-daemon
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.