Bug 147385 - printing and exporting ZERO [0] as null
Summary: printing and exporting ZERO [0] as null
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.2.5.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-11 19:08 UTC by Ian Eales
Modified: 2022-02-12 00:23 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Source ODS (4.76 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-02-11 19:08 UTC, Ian Eales
Details
Screen shot of source fields (3.53 KB, image/png)
2022-02-11 19:10 UTC, Ian Eales
Details
Exported values screen shot (3.34 KB, image/png)
2022-02-11 19:11 UTC, Ian Eales
Details
Zero print on page style (13.46 KB, image/png)
2022-02-12 00:14 UTC, Ian Eales
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Eales 2022-02-11 19:08:48 UTC
Created attachment 178228 [details]
Source ODS

Printing / exporting a file with 0 in a number field is output as null
Comment 1 Ian Eales 2022-02-11 19:10:18 UTC
Created attachment 178229 [details]
Screen shot of source fields

Source Doc screen shot
Comment 2 Ian Eales 2022-02-11 19:11:22 UTC
Created attachment 178230 [details]
Exported values screen shot

fault occurs from LO Export to PDF or printer Microsoft Print to PDF
Comment 3 m_a_riosv 2022-02-11 23:55:33 UTC
The page style it's set up to not show zeroes.

Change it in Menu/Styles/Page/Sheet - Zero values.

Please best send your question first to ask.libreoffice.org
Comment 4 Ian Eales 2022-02-12 00:14:26 UTC
Created attachment 178233 [details]
Zero print on page style
Comment 5 Ian Eales 2022-02-12 00:15:57 UTC
I've had Pirnt Zero checked for more than a decade.

I r enginerr

Zero is a valid value and is not Null
Comment 6 m_a_riosv 2022-02-12 00:23:24 UTC
At opening your first attached ods, it has not marked 'Zero values' in page style, and the sheet has no zeroes in any cell.
After marking works fine for me.