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

            Bug ID: 92722
           Summary: Fileopen: RTF Qualifiers on field SEQ not translated.
           Product: LibreOffice
           Version: 3.5.2 release
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: jrw0...@yahoo.co.uk

The /h and /r0 qualifiers on the Word SEQ field are being ignored.  /h hides
the field code result and /r0 resets the sequence to zero.

The RTF content:

{\rtf1\ansi\deflang2057
{\fonttbl{\f0\fswiss Arial}{\f1\fmodern Courier New}}
{\stylesheet
{\s0\f0\qj\fs24\sa120 Normal;}
{\s1\f1\ql\fs18\sa0\lang1024 Fixed;}
{\s5\f0\gj\fi-1077\li1077\b1\keep\keepn\tx1080\fs24\sa120\sb120 Heading 2;}
{\s2\f0\gj\fi-1077\li1077\b1\keep\keepn\tx1080\fs24\sa120\sb120 Heading 3;}
{\s3\f0\gj\fi-1077\li1077\i1\keep\keepn\tx1080\fs24\sa120\sb120 Heading 4;}
{\s4\f1\ql\fs11\sa0\lang1024 Fixed Long;}
{\s6\f0\qj\fs11\sa60 Micro;}
}
\s0\f0\qj\fs24\sa120
{\s5\f0\gj\fi-1077\li1077\b1\keep\keepn\tx1080\fs24\sa120\sb120
{\field{\*\fldinst { SEQ lev1\\c\\* MERGEFORMAT}}{\*\fldrslt {1}}}
.{\field{\*\fldinst { SEQ lev3\\h\\r0\\* MERGEFORMAT}}{\*\fldrslt {}}}
{\field{\*\fldinst { SEQ lev2\\* MERGEFORMAT}}{\*\fldrslt {1}}}
\tab
Module int_set\par}
}

renders as 

0.11    Module int_set

in plain text, not bold text.  (Being plain, not bold, might be a separate
bug.)

The second digit should not appear, and if it did, it should be '0'.

The file appears to import correctly into Windows 2007 and 2010, and StarOffice
7.0.  It may also have displayed properly in OpenOffice 3.3 and 3.4, but my
notes from 2012 are unclear.

The RTF is generated by my own program, so a small change to the RTF would be
an acceptable solution.

-- 
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