https://bugs.freedesktop.org/show_bug.cgi?id=57133

          Priority: low
            Bug ID: 57133
                CC: b...@eikota.de
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: FILEOPEN RTF DATALOSS: Character style is ignored when
                    semicolon after "\stylesheet" is absent
          Severity: normal
    Classification: Unclassified
                OS: Windows (All)
          Reporter: mikekagan...@hotmail.com
          Hardware: Other
            Status: UNCONFIRMED
           Version: 3.6.1.2 release
         Component: Writer
        Depends on: 54473
           Product: LibreOffice

When preparing a testcase for Bug 54473, I came across this bug: when there's
no semicolon between "\stylesheet" keyword and the first character style, the
first style is ignored, i.e. its formatting is not applied to the corresponding
text. Here is the testcase:

{\rtf1\ansi
{\stylesheet
{\*\cs16\ul Anot;}
{\*\cs15\i ForeignTxt;}
}
{\cs16\ul Text }
with 
{\cs15\i character }
formatting
\par }

This testcase only differs from the testcase from Bug 54473 comment 5 in one
character (absent semicolon after "\stylesheet"). Opening it in Writer, the
word "Text" displays not underlined (unlike the testcase from the
abovementioned bug). Both MS Word Viewer and MS Word show this file OK.

Notes:
1. This testcase was artificially crafted, so it is not known if this kind of
bug may be encountered "in the wild"; thus the priority is low. However, it is
still a bug, because it violates the standard.
2. This problem is mentioned in a comment in Bug 54473, so it may happen that
it will get fixed by a fix to that bug; thus making this bug depend on Bug
54473 to check when it changes its state. However, it doesn't mean that they
necessarily stem from one root.

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

Reply via email to