Created attachment 201868 [details] Sample RTF After other fixes including bug 167512, filesae of RTF looks much better, but not fully correct, as last red line is not seen after RT. Depending on a sample, it may be seen or not when opening saved file in Word.
Created attachment 201871 [details] Sample RTF Seems regression from 7.5. commit 6e1c8bcec511444d2d51c5c5143be56d1900e5e6 [log] author Justin Luth <jluth@mail.com> Sat Sep 03 08:37:19 2022 -0400 committer Michael Stahl <michael.stahl@allotropia.de> Tue Sep 20 10:53:01 2022 +0200 tdf#150613 sw: better DOC import of paragraph marker formatting Following the lead of LO 6.4 commit 5ba30f588d6e41a13d68b1461345fca7a7ca61ac. This fixes a LO 7.2 regression from tdf#108518. This patch depends on tdf#117994 being fixed in order for ww8export3's testTdf108518_CRnumformatting to round-trip. The problem here is that Word allows formatting the paragraph end marker, and applies the same formatting to the generated numbering string; Writer has no such marker thing.
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/7f4868348c14b305fcd75744e1e3544d0d3a5d61 tdf#167569: RTF: Export paragraph mark properties It will be available in 26.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Since it's still wrong on Linux, let's reopen. In fact, it's the same as bug 141671 - which is closed fixed, but if you check the result of export in LO of attachment 171148 [details] there, using word - you would see, that LO generated a bad formatting right in the beginning, where the font would suddenly change from Cambria to Courier starting from the first underlying text. This is rather large problem of incorrect generation of character-level formatting on associate properties level. I am working on a solution.
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/73bd9ccf16091613cc89d6f46e26efccda718ea3 tdf#167569: Reimplement RTF character formatting output It will be available in 26.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Hope it's fixed for good this time.