Apache OpenOffice (AOO) Bugzilla – Issue 54377
table user defined number format not saved correctly
Last modified: 2017-05-20 11:29:53 UTC
When creating a user defined number format for a column of cells in a table, it is not saved correctly after exiting openoffice and restarting openoffice and reopening the file. I created the following custom number format: #,##0.00# This will stay saved correctly during the current openoffice session. After closing openoffice and then restarting it and reopening the file, the number format is changed to: #,##0.000 Steps to reproduce: 1. Create a new openoffice writer document 2. Insert a table 3. Select column of the table 4. Table -> Number Format 5. Create user defined format, #,##0.00# 6. Click "Add" button and assign this format to the cells 7. Save the document and quit openoffice. 8. Reopen the document and check the number format of the cells. It will have been changed to #,##0.000 I have noticed that it will replace #s with 0s for all #s if a 0 appears to the right of the decimal place, *except* it will replace 0s with #s if a # appears to the decimal point's immediate right. This last behavior might be desirable. I believe #,##0.00# should be a valid format.
Created attachment 29409 [details] 3rd column has be formatted. Created with OOo 1.9.125.
ES->ER: same behavior in Calc. Please have a look.
Niklas, One for the file format. A trailing # for decimals shouldn't add to number:decimal-places as a 0 does. Looks like we'd need an additional number:optional-decimal-places or so.. Eike
*** Issue 67605 has been marked as a duplicate of this issue. ***
I have voted for this issue although I really want to vote for issue 67065 which has been marked as a duplicate of this issue although it relates to Calc, where the issue is, if anything, more pertinent. Another user has reported a similar problem with a date format lost on reopening the file.
*** Issue 72549 has been marked as a duplicate of this issue. ***
There was a report through Korean community forum that user defined format for number such as '0.0#' is not saved correctly in Calc. The format works OK when editing documents, but after saving and reopening them, the format is changed into '0.00'. This problem happens when saving Calc document with ods format, but does not happen when saving the document with xls format.
This problem is still here in oo3.0.1. Formats like 0.0#### are changed to 0.00000 by (save,exit,restart,open) in oocalc.
Confirmed in 3.2rc5
Still here in 3.4.1
Reset assigne to the default "issues@openoffice.apache.org".