<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - FORMATTING: Ctrl+M does not clear language settings"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=79455#c19">Comment # 19</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - FORMATTING: Ctrl+M does not clear language settings"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=79455">bug 79455</a>
from <span class="vcard"><a class="email" href="mailto:rgb.mldc@gmail.com" title="RGB <rgb.mldc@gmail.com>"> <span class="fn">RGB</span></a>
</span></b>
<pre>(In reply to Cor Nouws from <a href="show_bug.cgi?id=79455#c16">comment #16</a>)
<span class="quote">> 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.</span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>