Bug 161517

Summary: Bad rendering of Calc tables imported into Writer
Product: LibreOffice Reporter: Gerard <pakiparte>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: rafael.palma.lima
Priority: medium    
Version: 24.2.4.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Calc table pasted into Writer with rendering errors pon colored cells

Description Gerard 2024-06-11 18:18:33 UTC
Description:
When pasting a table created in Calc to Writer using the option "Paste as" -> "Calc spreadsheet" the cells that have background coulour sometimes are not rendered correcly and the colored cell is moved with respect the actuall cell border.

Steps to Reproduce:
1. Create a table in Calc. Paint with any colour the background of some cells and also their borders.
2. Select the table (click and drag) and copy it.
3. Paste the table into Writer with the option "Paste as"->"Calc spreadsheet"

Actual Results:
Some of the colored background rectangles of cells are moved and their extend does not match with the actual border. Some zoom may be required depending on the table. In some cases it is more obvious than others.

Expected Results:
That the colored rectangle of the background of a cell stais in within the cell borders.


Reproducible: Always


User Profile Reset: No

Additional Info:
-
Comment 1 Gerard 2024-06-11 18:22:14 UTC
Created attachment 194664 [details]
Calc table pasted into Writer with rendering errors pon colored cells
Comment 2 Gerard 2024-06-11 18:23:28 UTC
I am also observing changes in the space between characters of text inside the cells
Comment 3 Rafael Lima 2024-06-11 21:51:11 UTC
Yeah... this is an old issue. It's related to how Calc tables are pasted as OLE objects. This happens regardless of the target application. Writer, Impress, Draw all suffer from this.

*** This bug has been marked as a duplicate of bug 135891 ***