[Libreoffice-bugs] [Bug 118214] New: FILEOPEN FILESAVE RTF treats MS language ID 1024 wrong

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jun 17 18:55:33 UTC 2018


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

            Bug ID: 118214
           Summary: FILEOPEN FILESAVE RTF treats MS language ID 1024 wrong
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: phil.krylov at gmail.com

Description:
The RTF specification says that language 1024 (0x400) denotes text without a
language set. LibreOffice Writer treats \lang1024 in RTF as "Switch to
system-default language" (English here) and does not switch off language
proofing. Then, if one creates some text in Writer, sets its language to None
and saves as RTF, Writer emits \lang255 for this text. \lang255 is not a valid
(per RTF Specification) value. However, when an RTF text with \lang255 is open
in Writer, it is treated as \lang1024 should be - that is, it sets text
language to None.

Steps to Reproduce:
1. Open the attached RTF document (generated from MS Word).

Actual Results:
The word "proofeng" is visually marked as misspelled and when you put the caret
on it is shows English (USA) as its language

Expected Results:
The word "proofeng" should not be marked as misspelled and its Language should
be set to None


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.0.4.2
Build ID: 9b0d9b32d5dcda91d2f1a96dc04c645c450872bf
CPU threads: 4; OS: Mac OS X 10.9.5; UI render: default; 
Locale: en-US (en.UTF-8); Calc: group

A recent master build is still there:

Version: 6.2.0.0.alpha0+
Build ID: b292a27698e85fd9d60c03613c3b0c67835c4dc1
CPU threads: 4; OS: Mac OS X 10.9.5; UI render: default; 
TinderBox: MacOSX-x86_64 at 49-TDF, Branch:master, Time: 2018-06-06_23:25:55
Locale: en-US (en.UTF-8); Calc: group threaded

-- 
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/20180617/892d19ff/attachment.html>


More information about the Libreoffice-bugs mailing list