Bug 152866 - FILEOPEN RTF Table text appears with unwanted bold formatting
Summary: FILEOPEN RTF Table text appears with unwanted bold formatting
Status: RESOLVED DUPLICATE of bug 131386
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-11-29 13:20 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Example document from Word 2016 (deleted)
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
Updated example file (53.64 KB, application/rtf)
2023-11-28 13:52 UTC, Gabor Kelemen (allotropia)
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(?).
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