Bug 142544 - Copying tables from Calc to Impress should retain formatting
Summary: Copying tables from Calc to Impress should retain formatting
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ImpressDraw-Tables
  Show dependency treegraph
 
Reported: 2021-05-28 15:09 UTC by Rafael Lima
Modified: 2023-08-02 17:51 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Calc document with Tables (14.03 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-05-28 15:09 UTC, Rafael Lima
Details
Impress document showing how tables are pasted (25.86 KB, application/vnd.oasis.opendocument.presentation)
2021-05-28 15:10 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2021-05-28 15:09:45 UTC
Created attachment 172414 [details]
Calc document with Tables

When copying tables from a Calc spreadsheet to an Impress presentation, basic formatting should be retained, or else the user will have to reformat the table all over again.

I attached 2 files to this bug report. The first one is a Calc document with 6 sample tables and the second is the Impress file showing how they got pasted into the document.

It's interesting to note that the only formatting that is retained is the bold face of fonts. However, other important elements are not retained, such as:
- Font name
- Font size
- Border formatting
- Background color

Hence, it would be very useful if, when a table is copied from a Calc document into an Impress document, that it maintains basic formatting.

What I have been doing to overcome this issue is pasting Calc tables as OLE objects. However, this is not ideal due to Bug 135891. In addition, adding too many OLE objects make documents too heavy and slow to edit.
Comment 1 Rafael Lima 2021-05-28 15:10:22 UTC
Created attachment 172415 [details]
Impress document showing how tables are pasted
Comment 2 Timur 2021-05-28 16:28:01 UTC
Font is a duplicate of bug Bug 113431.
Comment 3 raal 2021-05-29 15:15:49 UTC
Repro with Version: 7.2.0.0.alpha1+ / LibreOffice Community
Build ID: 42d2b2d55a27f11153ea1713737d93540a19211d
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
and Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a