Bug 91038 - Importing xls with cell format on money, after changing page layout and saving, formating is changed do decimal values
Summary: Importing xls with cell format on money, after changing page layout and savin...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.4.2.2 release
Hardware: x86 (IA32) Windows (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:xls
Depends on:
Blocks: Number-Format XLS
  Show dependency treegraph
 
Reported: 2015-05-03 08:34 UTC by Andre Santos
Modified: 2019-03-24 19:44 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Original File (5.50 KB, application/vnd.ms-excel)
2015-05-04 08:27 UTC, Andre Santos
Details
The same file after changes made on calc (6.50 KB, application/vnd.ms-excel)
2015-05-04 08:29 UTC, Andre Santos
Details
test file xlsx (10.60 KB, application/vnd.openxmlformats-officedocument.spreadsheetml)
2015-05-07 05:38 UTC, raal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Santos 2015-05-03 08:34:16 UTC
openining an excel file (2007/xls), only changing the page format to landscape, after saving it (never touching any cells), if the file is openned in excel, the cell's with "money" format, are totally wrong!

Ex: a value of  37,01$ will change to 0,037

If we set the "money" format again (in calc), then it saves the file correctly.

This works fine in version 4.2

Tested on version 4.4.2 and 4.4.3.1 with the same problem.

Tested on windows Vista, 2003 server and 8.
Comment 1 raal 2015-05-03 19:11:41 UTC
Hello Andre,

Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 2 Andre Santos 2015-05-04 08:27:11 UTC
Created attachment 115299 [details]
Original File

This is the "no changes file", right from excel.
The cell that will have the problem is H2
Comment 3 Andre Santos 2015-05-04 08:29:35 UTC
Created attachment 115300 [details]
The same file after changes made on calc

the only change is the page from portrait to landscape
Comment 4 Andre Santos 2015-05-04 08:30:31 UTC
Files attached!
Comment 5 raal 2015-05-07 05:38:41 UTC
Created attachment 115399 [details]
test file xlsx

Format of cell is: # ##0,00\ "€";-# ##0,00\ "€"

I can confirm with LO 4.4.2, win7

After save is format of cell changed.
Comment 6 Andre Santos 2015-07-01 08:50:14 UTC
Tested on version 5.0, still with the same problem.
Comment 7 QA Administrators 2016-09-20 10:14:14 UTC Comment hidden (obsolete)
Comment 8 Laurent BP 2019-03-24 19:44:52 UTC
I can reproduce only if thousand separator is space (fr-FR) and not with other thousand separator (en-US)