Created attachment 73080 [details] Document as shown in Word 2003 Problem description: Receiving a lot of RTF files with many tables in them which are not rendered properly at all in LibreOffice 3.6.3 and 4.0.0.1 (work "fine" in Word 2003). I do not know how and with what tools the RTF files are generated. I do not know if it is valid RTF (encoding is poor and strings are buggy), I just know that we will keep receiving those as long as they "work" in Word 2003, so my life sucks. Operating System: Windows 7 Version: 4.1.0.0.alpha0+ Master
Created attachment 73081 [details] Original RTF document
Created attachment 73083 [details] Document as shown in LibO 3.6.3.2
Created attachment 73084 [details] Document as shown in Libo 4.0.0.1 Notice the lack of border at the bottom of the page (the border appears in LibO 3.6.3.2
I have just realized the documents is rendered fine in LibreOffice 3.4.5. Adding "regression" in the title.
Created attachment 73098 [details] Document as shown in LibO 3.4.5 It used to be better supported (?)
Changing to Version 3.6.3.2 as Version reflects the oldest version that displays the problem, not the latest version that has been tested. Also if you could provide easily reproducible steps that are enumerated ie. Steps to reproduce: 1. 2. 3. That helps a lot to follow the bug
Steps to reproduce: 1. Open "original RTF document" with LibO 3.6.3 2. Notice the lack of borders, columns and rows in the table 3. ...
Same behavior (table not rendered) in LibO 3.5.7
Same with master.
I have been told the document has been generated with Business Objects (I may fetch more info if it is useful)
Right, so simple \r and \n is ignored in RTF, but actually the tokenizer didn't take care of their \'0a and \'0d form. I'll fix this in a bit.
Miklos Vajna committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f593a2e4179b05ae1019372cde612cb242d1d27f fdo#59419 fix RTF import of hex form of \r and \n The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
-4-0 review: https://gerrit.libreoffice.org/1974
Miklos Vajna committed a patch related to this issue. It has been pushed to "libreoffice-4-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=285c71000aece675f982e8c637f202e606522daf&h=libreoffice-4-0 fdo#59419 fix RTF import of hex form of \r and \n It will be available in LibreOffice 4.0.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Migrating Whiteboard tags to Keywords: (filter:rtf) Replace rtf_filter -> filter:rtf. [NinjaEdit]