[Libreoffice-bugs] [Bug 79455] FORMATTING: Ctrl+M does not clear language settings
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Oct 6 07:10:43 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=79455
Yousuf Philips (jay) <philipz85 at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|libreoffice-ux-advise at lists |rb.henschel at t-online.de
|.freedesktop.org |
--- Comment #32 from Yousuf Philips (jay) <philipz85 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171006/008a0280/attachment.html>
More information about the Libreoffice-bugs
mailing list