<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:philipz85@hotmail.com" title="Yousuf Philips (jay) <philipz85@hotmail.com>"> <span class="fn">Yousuf Philips (jay)</span></a>
</span> changed
<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>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>libreoffice-ux-advise@lists.freedesktop.org
</td>
<td>rb.henschel@t-online.de
</td>
</tr></table>
<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#c32">Comment # 32</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:philipz85@hotmail.com" title="Yousuf Philips (jay) <philipz85@hotmail.com>"> <span class="fn">Yousuf Philips (jay)</span></a>
</span></b>
<pre>(In reply to m.a.riosv from <a href="show_bug.cgi?id=79455#c31">comment #31</a>)
<span class="quote">> Sorry @Yousuf, have you teste, not for me with</span >
Gotta love typos. <a href="show_bug.cgi?id=79455#c28">Comment 28</a> should have read "Clear direct formatting removes
direct formatting and if language is set at the direct formatting level, clear
direct formatting *should* clear it. Its as simple as that. Cor seems *to* be
misunderstanding the issue."
So i checked out the XML of some text that was set to french and here is the
relevant parts in content.xml
<office:automatic-styles>
...
<style:style style:name="T2" style:family="text">
<style:text-properties fo:language="fi" fo:country="FI" />
</style:style>
...
</office:automatic-styles>
<office:body>
<office:text>
...
<text:p text:style-name="Standard">LibreOffice is
<text:s />
<text:span text:style-name="T2">the greatest</text:span>software</text:p>
</office:text>
</office:body>
So all that is needed is for .uno:ResetAttributes to remove the fo:language and
fo:country attributes of character and paragraph level direct formatting,
similar to what happens when you click the 'Reset to Default Language' context
menu entry in the text language field of the statusbar.</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>