[Libreoffice-bugs] [Bug 79455] FORMATTING: Ctrl+M does not clear language settings
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Sep 30 15:40:22 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=79455
--- Comment #19 from RGB <rgb.mldc at gmail.com> ---
(In reply to Cor Nouws from comment #16)
> Back in OpenOffice.org times, when (IIRC) Michael Bauer worked on the menu
> Tools > Language, he explained that language was not a property of text, but
> that for reasons ... it was in the character dialog.
> I never searched for specific info, but that might very well be the
> explanation of the situation.
I'm not an ODF expert (far from that), but if I build a document with a
particular paragraph style on an alien language like, say, English ;) and then
unpack the resulting odt file to open style.xml on a text editor I can see
something like this
<style:style style:name="my-english-text" style:family="paragraph"
style:parent-style-name="Text_20_body"><style:paragraph-properties
style:writing-mode="page"/><style:text-properties fo:language="en"
fo:country="US" style:font-size-asian="10.5pt"/>
...
So language is one of the first properties defined on a style. Applying a
language through direct formatting ignores the style definition so not cleaning
it when "clean direct formatting" is issued is, IMO, against the idea of using
styles.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170930/f3c46687/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list