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

--- Comment #1 from Richard Wordingham <[email protected]> ---
The version the problem was most recently observed in was the Ubuntu build of
Version 4.4.4.3.

This appears not to be solely a bug in the RTF filter.  The apparent
translation is of 

{\field{\*\fldinst { SEQ lev3\\h\\r0\\* MERGEFORMAT}}{\*\fldrslt {}}}

to

<text:sequence text:ref-name="reflev30" text:name="lev3"
text:formula="ooow:lev3+1" style:num-format="1">1</text:sequence>

The correct translation would be to:

<text:sequence text:ref-name="reflev30" text:name="lev3" text:formula="ooow:0"
style:num-format="">1</text:sequence>

Note the empty string as the value of the num-format attribute in accordance
with Section 19.500 of the V1.2 ODF specification.  However, if this is entered
manually, LibreOffice spontaneously replaces the empty string by "1".  On
loading an RTF file, I have also seen the unwanted digit appear after the
surrounding text had already been rendered.  Omitting the num-format attribute
has the same problem.  It may be that the main bug is that LibreOffice does not
support Section 19.500 of the ODF specification.  Note, however, that the
formula attribute is not being calculated correctly.

A work around to the ignoring of the SEQ field's /r qualifier is to put the
value to be reset to in the fldrslt destination.  This offers a possible work
around - make the resetting field codes into tiny white text.

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

Reply via email to