Bug 152866 - FILEOPEN RTF Table text appears with unwanted bold formatting
Summary: FILEOPEN RTF Table text appears with unwanted bold formatting
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTF-Tables
  Show dependency treegraph
 
Reported: 2023-01-04 00:02 UTC by Gabor Kelemen (allotropia)
Modified: 2023-01-13 08:49 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Example document from Word 2016 (54.79 KB, application/msword)
2023-01-04 00:02 UTC, Gabor Kelemen (allotropia)
Details
The example file in Word 2016 and Writer (126.82 KB, image/png)
2023-01-04 00:02 UTC, Gabor Kelemen (allotropia)
Details
Minimized RTF sample (121 bytes, application/msword)
2023-01-13 08:49 UTC, Vasily Melenchuk (CIB)
Details

Note You need to log in before you can comment on or make changes to this bug.
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(?).