Bug 95536 - Printing does not take into account manual page breaks and fit to pages
Summary: Printing does not take into account manual page breaks and fit to pages
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-03 06:31 UTC by Elmar
Modified: 2016-01-11 17:00 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
page breaks are ignired in printing (27.01 KB, application/vnd.oasis.opendocument.spreadsheet)
2015-11-10 06:31 UTC, Elmar
Details
PDF printed from LibO 5.0.3 (12.54 KB, application/x-download)
2015-11-10 11:59 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elmar 2015-11-03 06:31:41 UTC
User-Agent:       Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0
Build Identifier: LibreOffice 5.0.3.2

I set print ranges. I set printing to be 2 pages wide and 5 pages deep (Calc does not seem to have a feature similar to Excel where one can leave the depth blank - more often than not, one wants to see certain columns on one printed page, or a grouping of columns and rows on one printed page. 
Calc honours the pages across, but does not fit to the column breaks.

If I save to xls, then reset print ranges as I wanted them using Excel. it prints correctly using Excel, and if I open the xls using Calc, it prints correctly as well.

Reproducible: Always




[Information automatically included from LibreOffice]
Locale: en-US
Module: SpreadsheetDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes


Reset User Profile?No
Comment 1 Buovjaga 2015-11-09 18:16:23 UTC
Please attach an example .ods document.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the document.
Comment 2 Elmar 2015-11-10 06:31:19 UTC
Created attachment 120434 [details]
page breaks are ignired in printing

I inserted col and row breaks in M30.
Do a print screen, this is not what displays.

Whilst we are about that, I cannot find where I specify which rows and columns to repeat on every page.
Comment 3 Buovjaga 2015-11-10 11:59:46 UTC
Created attachment 120445 [details]
PDF printed from LibO 5.0.3

Is this an incorrect result?

Win 7 Pro 64-bit, Version: 5.0.3.2 (x64)
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
Locale: fi-FI (fi_FI)
Comment 4 FutureProject 2016-01-11 17:00:24 UTC
Getting the same result as Beluga, on Win10 using LibreOffice Calc version 5.0.4.2
build ID 2b9802c1994aa0b7dc6079e128979269cf95bc78.

The problem is: Print Ranges were defined. If you go to "View -> Page Break View" you can see a grey set of line/row breaks meeting at M30 in the supplied example document. Those override the normal Page Breaks. Go to "Format -> Print Ranges -> Clear" to make the manual (blue) page breaks count.

I'll mark this as RESOLVED and NOTABUG since it seems more like an unexpected behaviour due to not knowing about Print Ranges.