Bug 39109 - Below checkbox 'Suppress output of empty pages' add also check of empty strings.
Summary: Below checkbox 'Suppress output of empty pages' add also check of empty strings.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
3.4.1 release
Hardware: All Windows (All)
: medium enhancement
Assignee: Not Assigned
URL: http://wiki.documentfoundation.org/Ca...
Whiteboard:
Keywords:
Depends on:
Blocks: Printer-Settings Options-Dialog-Calc
  Show dependency treegraph
 
Reported: 2011-07-10 03:25 UTC by Rainer Bielefeld Retired
Modified: 2021-03-04 11:37 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Bielefeld Retired 2011-07-10 03:25:10 UTC
I found with "LibreOffice 3.4.1  - WIN7  Home Premium (64bit) German UI [OOO340m1 (Build:103)]" that in Menu 'File -> Printer Settinggs -> Options - "Suppress output or empty pages" is without influence. 

IMHO setting here should be preselection for checkbox in Menu 'File -> Print -> LibO Calc - Include output of empty pages', what will cause expected print results. For details please see Specification under URL.

@David:
Currently Help is not useful, Help that will be reached clicking Help button does not mention "Options" button in printer settings dialog. Can you please check?
Comment 1 André Schnabel 2011-08-02 12:01:16 UTC
I cannot confirm using LibO3.4.2 (win7 64bit, German UI)

The print dialog for spreadsheets actually *does* respect the settings in tools - options - calc - print. But you need to be aware, that Tools - Options and the print dialog have inverse logic.

Disable "Supress output of empti pages" in Tools - Options 
-> will enable "Include Output of Empty pages" in Print Dialog, Calc

Enable "Supress output of empti pages" in Tools - Options 
-> will Disbale "Include Output of Empty pages" in Print Dialog, Calc

so I'm closing with worksforme .. feel free to reopen, if the bug still exists
Comment 2 Mark Hedges 2016-08-10 22:34:54 UTC
The problem seems to be if the "empty pages" actually have cells with formulas in them that yield empty strings.

Take a sheet with A1=1, A2=2, A3=3; B1-B100 => =IF(Ax,Ax,"") where x is row num.

Result is B1, B2, B3 contain A1, A2, A3 and B4-B100 contain empty strings.

However, all rows B1-B100 will be printed.

Only B1-B3 should be printed because the rest are empty.  Empty string means empty.  There is no content there.

Or, if they were zeros, then they should not be printed if "print zeros" is not selected.

This is useful to create a general calculator sheet template that has room for several hundred entries, for example, with the formula already pasted in for each row ... but maybe on this copied instance of the sheet I only have 5 entries.  Categorized profit and loss statements or other financial projections, for instance.

Thanks.
Comment 3 Mark Hedges 2016-08-10 22:35:36 UTC
BTW I have Version: 4.3.3.2, Build ID: 430m0(Build:2)
Comment 4 Buovjaga 2016-10-21 16:52:29 UTC
Ok, seems we can set to NEW.

Mark: can you also test with version 5.2 to verify the problem persists?
Comment 5 QA Administrators 2017-10-23 14:12:07 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2020-01-02 03:25:19 UTC Comment hidden (obsolete)
Comment 7 Timur 2021-03-04 11:37:20 UTC
As reported, this is NotABug. 
Per comment 2,this may also be NotABug, but let's consider enhancement, to add check box for "Consider empty strings as empty cells".