Download it now!
Bug 120257 - PRINTING, PDF: Adding merged cells to Print Ranges truncates their content in print or PDF
Summary: PRINTING, PDF: Adding merged cells to Print Ranges truncates their content in...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pdf
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2018-10-02 07:23 UTC by Jim Avera
Modified: 2019-03-16 18:38 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Demo spreadsheet (8.12 KB, application/vnd.oasis.opendocument.spreadsheet)
2018-10-02 07:24 UTC, Jim Avera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Avera 2018-10-02 07:23:39 UTC
Description:
If a merged-cell block is selected and then added to Print Ranges, then the printed result truncates the content of the cell.  It appears that the content is truncated to the portion which overlaps only the first cell of the merged set.


Steps to Reproduce:
Open attached demo, or do the following:

1. Create a new spreadsheet.  Select A1 and B1, Format->Merge Cells->Merge & Center Cells.
2. Type "foo" into the merged cell.
3. Click the merged cell to select it (them).
4. Format->Print Ranges->Define (or Add)
5. File->Print, Print Preview, or Export as PDF

Actual Results:
The result shows truncated text -- just 1½ letters ("f" followed by half of an "o").

Expected Results:
Selecting merged cells and adding to Print Ranges should add both cells, and the content of the merged cells should print correctly.


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Jim Avera 2018-10-02 07:24:46 UTC
Created attachment 145315 [details]
Demo spreadsheet
Comment 2 Regis Perdreau 2018-10-02 13:22:56 UTC
Behavior confirmed in

Version: 6.0.6.2
Build ID: 1:6.0.6-0ubuntu0.18.04.1
Threads CPU : 4; OS : Linux 4.15; UI Render : par défaut; VCL: x11; 
Locale : nl-NL (fr_FR.UTF-8); Calc: group

(bug or feature, do we accept truncated merged cells when defining printing area ?)
Comment 3 Oliver Brinzing 2018-10-02 17:07:36 UTC
this behaviour is inherited from OpenOffice.
opening attached *.ods file with excel 2016 has same result.

IMHO this is not a bug.
Comment 4 BogdanB 2018-10-02 18:32:13 UTC
This is not a duplicate of this bug?
https://bugs.documentfoundation.org/show_bug.cgi?id=120268