Bug 114559 - Wrong cell contents when embedding Calc spreadsheet containing array formulas into Writer document
Summary: Wrong cell contents when embedding Calc spreadsheet containing array formulas...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.2.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paste Cell-Formula Calc-Embedded
  Show dependency treegraph
 
Reported: 2017-12-19 15:08 UTC by fredo69008
Modified: 2024-03-06 05:02 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot problem (639.00 KB, image/jpeg)
2017-12-19 15:13 UTC, fredo69008
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fredo69008 2017-12-19 15:08:16 UTC
Description:
hello,
I use this page to create a calendar.
http://trk.free.fr/calendrier/download.html
12-leaf wall calendar
- Presentation on 12 A4 or half A4 sheets to create a wall calendar to flip through
http://trk.free.fr/calendrier/calendrier_mural_12_feuilles_A4.ods

With the perpetual calendar,
and I select the desired month,
I copy and paste on a new page, text document "writer" libre office.

https://image.noelshack.com/fichiers/2017/51/2/1513695606-copie-ecran.jpg
now it does not work anymore.

Actual Results:  
the boxes are filled with bad information

Expected Results:
I asked the owner of the calendar, he says that free office is defective


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:57.0) Gecko/20100101 Firefox/57.0
Comment 1 fredo69008 2017-12-19 15:13:33 UTC
Created attachment 138523 [details]
screenshot problem
Comment 2 Eike Rathke 2017-12-21 14:11:52 UTC
Seems that array formulas referencing a different sheet than the one copied are a problem when copying to another document to be embedded.

Workaround: First Paste Special (Shift+Ctrl+V) to an empty area (or a new sheet in the same document) in Calc and make sure Formulas are not copied, but only Text, Numbers, Date&Time and Formats. Then select the resulting cell range and copy&paste to Writer.
Comment 3 QA Administrators 2018-12-22 03:53:07 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2022-10-08 03:48:56 UTC Comment hidden (obsolete)
Comment 5 Stéphane Guillou (stragu) 2024-03-05 15:25:21 UTC
Same in:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9574a62add8e4901405e12117e75c86c2d2c2f21
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded
Comment 6 ady 2024-03-05 20:29:16 UTC
FWIW, this tdf#114559 is about copying from Calc to Writer. Bugs 132628, 101313 are "from Writer to Calc" (with merged cells). There might be some code pointers, or hints, maybe???
Comment 7 Stéphane Guillou (stragu) 2024-03-06 05:02:54 UTC
Also in 5.2.0.4, cell contents display as e.g. {=[.A20]}
In 6.0, Err: 512 in cells. ("Formula overflow")
In current trunk build, Err: 539 in cells. ("Unsupported inline array content")

Another workaround:
1. In original ODS, remove other months
2. In ODT, Insert > OLE Object > OLE Object > Create from File > Search > point to ODS > OK