Download it now!
Bug 122044 - Doesn't save merging of cells after copy/paste table from Calc to table in Writer
Summary: Doesn't save merging of cells after copy/paste table from Calc to table in Wr...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.0.0.beta1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Cell-Management
  Show dependency treegraph
 
Reported: 2018-12-12 14:56 UTC by Roman Kuznetsov
Modified: 2018-12-24 17:09 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Calc file example (9.73 KB, application/vnd.oasis.opendocument.spreadsheet)
2018-12-12 15:49 UTC, Roman Kuznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Kuznetsov 2018-12-12 14:56:17 UTC
Description:
After fix of bug 37223 we can just copy/paste table from Calc to existing table in Writer.
But if table in Calc has merged cells then after paste table in Writer table merging of cells is disappeared.

Version: 6.3.0.0.alpha0+
Build ID: 3c964980da07892a02d5ac721d80558c459532d0
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-12-12_02:07:45
Locale: ru-RU (ru_RU); UI-Language: en-US
Calc: threaded

Steps to Reproduce:
1. Create a simple table with merged cells in Calc or open file from attach
2. Create new Writer document
3. Craete a new table in Writer document with 7 row and 7 columns
4. Copy cells from Calc
5. Set up cursor in to <A1> cell in Writer table and make Paste
6. You'll get cool result, but
7. All merged cells will be split

Actual Results:
after paste table in Writer table merged cells will be split

Expected Results:
View of cells in table after pasting will be the same as in Calc


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Dieter 2018-12-12 15:14:01 UTC
I confirm the described behaviour with

Version: 6.2.0.0.beta1 (x64)
Build ID: d1b41307be3f8c19fe6f1938cf056e7ff1eb1d18
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-US (de_DE); UI-Language: en-GB
Calc: threaded

But if you just paste the table within a frsh document (and not within a table) everything works fine
Comment 2 Roman Kuznetsov 2018-12-12 15:44:41 UTC
(In reply to Dieter Praas from comment #1)
 
> But if you just paste the table within a frsh document (and not within a
> table) everything works fine

Works fine because it will be paste as OLE! 
In the bug 37223 László made very cool feature and now it needs to make some additional work
Comment 3 Roman Kuznetsov 2018-12-12 15:49:40 UTC
Created attachment 147469 [details]
Calc file example