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: [email protected]
Reporter: [email protected]
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._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs