https://bugs.documentfoundation.org/show_bug.cgi?id=79455

Yousuf Philips (jay) <philip...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|libreoffice-ux-advise@lists |rb.hensc...@t-online.de
                   |.freedesktop.org            |

--- Comment #32 from Yousuf Philips (jay) <philip...@hotmail.com> ---
(In reply to m.a.riosv from comment #31)
> Sorry @Yousuf, have you teste, not for me with

Gotta love typos. Comment 28 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to