Bug 152866

Summary: FILEOPEN RTF Table text appears with unwanted bold formatting
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: medium    
Version: 4.0.0.3 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=131699
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 112765    
Attachments: Example document from Word 2016
The example file in Word 2016 and Writer
Minimized RTF sample
Updated example file

Description Gabor Kelemen (allotropia) 2023-01-04 00:02:24 UTC
Created attachment 184470 [details]
Example document from Word 2016

Attached RTF document contains a table with three rows.
The text in the second row has no bold formatting in Word, but it has in Writer.

1. Open attached file
2. Notice the 1DDD word has bold formatting. It should not have.

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 44355a90b3450111ad87ad4b6607a564e41d7b54
CPU threads: 14; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (hu_HU); UI: en-US
Calc: threaded

and way back to 4.0. It was good in 3.6.
Comment 1 Gabor Kelemen (allotropia) 2023-01-04 00:02:52 UTC
Created attachment 184471 [details]
The example file in Word 2016 and Writer
Comment 2 Vasily Melenchuk (CIB) 2023-01-13 08:49:18 UTC
Created attachment 184628 [details]
Minimized RTF sample

Created minimal example.


As I see there is a style applied to paragraph in cell. 
cloneAndDeduplicate did work correctly, so text should not receive style properties since they are not defined in inline properties. But these calculated paragraph properties not applied(?).
Comment 3 Gabor Kelemen (allotropia) 2023-11-07 14:59:39 UTC
Both example files (the part inside the table) seems to look good in 7.6+, since

https://git.libreoffice.org/core/+/a25eda715591cfa96136bcfd95360156516239d1

author	Michael Stahl <michael.stahl@allotropia.de>	Fri Jan 13 17:49:58 2023 +0100
committer	Michael Stahl <michael.stahl@allotropia.de>	Fri Jan 13 19:31:53 2023 +0000

tdf#131386 writerfilter: RTF import paragraph mark formatting

The minimized sample demonstrates an empty paragraph markers formatting with style, that is not applied - let's say it's part of bug 131699.

*** This bug has been marked as a duplicate of bug 131386 ***
Comment 4 Gabor Kelemen (allotropia) 2023-11-28 13:52:13 UTC
Created attachment 191087 [details]
Updated example file
Comment 5 Xisco FaulĂ­ 2023-11-29 13:20:19 UTC
The content of attachment 184470 [details] has been deleted for the following reason:

User's request