Apache OpenOffice (AOO) Bugzilla – Issue 44675
Type detection fails on SYLK when opening from Java
Last modified: 2005-03-11 11:55:02 UTC
This is a restarting of issue # 29925 for which I somehow didn't reply to. I have some Java code which calls the OpenOffice APIs to make it load files. This works fine with MS-Word, Excel and other file types. However when it comes to SYLK spreadsheet files (.slk files), it doesn't work, and OpenOffice thinks that it is a text file. Now, OpenOffice can open these files when a user manually selects Open File, so I don't understand why it doesn't from Java code, when OOo detects many other file types correctly when called from Java. In answer to the question: "is it possible that you do not set the correct filter for that type of document ?". I'm not sure I understand the question. I set the convertor to be "Flat XML File (Calc)" if that is what is being asked. Since this option successfully opens various types of spreadsheets including OOo and MS I presume it should open SYLK too.
Double to Issue 29925 You have to set the converter to SYLK as this is the file format you want to use. Any questions about this may be asked on the users@... mailing list or the dev@ list. Frank *** This issue has been marked as a duplicate of 29925 ***
closed double