[Libreoffice-bugs] [Bug 118345] New: FILESAVE: Decimal part of scientific numbers not correctly saved in ODF with '?'
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun Jun 24 12:30:13 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=118345
Bug ID: 118345
Summary: FILESAVE: Decimal part of scientific numbers not
correctly saved in ODF with '?'
Product: LibreOffice
Version: 5.4.7.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: jumbo4444 at yahoo.fr
Description:
Number can have in their decimal part '?' to indicate a decimal digit, which
will be replaced by a space if not necessary, whereas '#' is replaced by
nothing and '0' by a zero. Scientific numbers have the same behavior. But if
such format is saved in ODF, '?' are replaced by '#' and decimal alignment is
lost.
Steps to Reproduce:
1. Define a scientific format with '?' in decimal part such as 0.???E+00
Format > Cells > Numbers, type code in Format Description
2. Save and Reload
3. Check format
Actual Results:
'?' are replaced by '#' which gives 0.###E+00
Expected Results:
Format should not be modified as it is correctly in initial step
Reproducible: Always
User Profile Reset: Yes
Additional Info:
In xmlnumfe.cxx, it seems that SvXMLNumFmtExport::WriteScientificElement_Impl
does not care if there are some decimal replacement.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180624/19e38bd9/attachment.html>
More information about the Libreoffice-bugs
mailing list