Johan Vromans wrote: > "Eric Wood" <[EMAIL PROTECTED]> writes: > >> 4. Parsing textual delimited files no matter the extension still >> opens in Writer instead of auto-parsing into Calc. Quattro and Excel >> do this and only Calc can't do this smoothly. > > A textual file is a textual file, meaning text. > > One of the biggest problems with MS-DOS and Windows and many > applications is that they assume a file to be of a specific 'kind' by > only looking at the extension. The easiest way to crash MS-DOS was to > give an arbitrary file a ".com" extension and the system would happily > execute whatever was in it. > > OOo does a much better job, it looks at the file contents. When you > rename an imoress .sxi to .txt, it will still be opened in impress. > Text files will be opened in writer. A CSV file is a text file. > > In the Open Dialogue, it is possible to select specific open actions. > In the "File Type" box, select "Text CSV" and the CSV file will be > handed to the Text CSV importer. > > Having said that, I think that it would be nice if OOo could apply > some heuristics when opening a text document, and offer to open it as > a spreadsheet instead.
OOo2.0 will offer two improvements here: first you can extend the list of extensions manually (by editing a configuration file) that OOo will open in Calc if it recognizes it as a text file. Currently, it's "csv" only, in OOo2.0 "xls" will also be added by default (yes, many people create text files with this extension). Additionally "soffice -Calc foo.bar" will try to open the file "foo.bar" in Calc if there is any possible filter otherwise OOo will proceed as usual. There are "scalc" files (on Windows it's a binary, on Linux/Solaris it's a shell script) that do the same: scalc foo.bar will do what you want. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
