Date: prev next · Thread: first prev next last
October 2017 Archives by date, by thread · List index


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

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

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

--- Comment #32 from Yousuf Philips (jay) <philipz85@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 on the CC list for the bug.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.