Issue 24983 - CSV and currency export needs fixing....
Summary: CSV and currency export needs fixing....
Status: CLOSED DUPLICATE of issue 4925
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: OOo 1.1
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: ---
Assignee: spreadsheet
QA Contact: issues@sc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-02 04:40 UTC by autonome
Modified: 2004-02-02 10:04 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description autonome 2004-02-02 04:40:44 UTC
CSV exporting is still very important. XML is still not common enough and 
standardized enough to completely replace CSV.

Using a text delimiter seems to result in all fields enclosed with quotes- 
text, number or whatever. Data types of cells get ignored. The quotes will fool 
a lot of other software into importing everything as text, bypassing any 
automatic conversions they might do. Sometimes even preventing conversion.

Currency amounts are not numbers. They should always be exported with the 
currency symbol. This is not an option in OO spreadsheet. In a column of money 
amounts there may be several currencies, all of which must be differentiated. 
It probably should not be exported with text quotes because it is not really 
text and could be incorrectly recognized as simple text. A future feature might 
be to support a conversion rate table (or XML website), and a convert/create 
column command which converts amounts and replaces currency symbols.

There are many CSV export options offered by OO spreadsheet, but no combination 
could duplicate the default CSV export (with no options) that MS Excel offers. 
It's one reason I still am saddled with Excel.

Description of Excel export-
CSV (Comma delimited) format
The CSV (Comma delimited) file format saves only the text and values as they 
are displayed in cells of the active worksheet. All rows and all characters in 
each cell are saved. Columns of data are separated by commas, and each row of 
data ends in a carriage return. ___If a cell contains a comma, the cell 
contents are enclosed in double quotation marks___.

If cells display formulas instead of formula values, the formulas are converted 
as text. All formatting, graphics, objects, and other worksheet contents are 
lost.

Note   If your workbook contains special font characters such as a copyright 
symbol (©), and you will be using the converted text file on a computer with a 
different operating system, save the workbook in the text file format 
appropriate for that system. For example, if you are using Windows and want to 
use the text file on a Macintosh computer, save the file in the CSV (Macintosh) 
format. If you are using a Macintosh computer and want to use the text file on 
a system running Windows or Windows NT, save the file in the CSV (Windows) 
format.
Comment 1 frank 2004-02-02 10:04:25 UTC
Hi,

this is a double to Issue 4925.

Frank

*** This issue has been marked as a duplicate of 4925 ***
Comment 2 frank 2004-02-02 10:04:45 UTC
closed double