Apache OpenOffice (AOO) Bugzilla – Issue 29925
Type detection fails on SYLK when opening from Java
Last modified: 2005-03-11 11:54:43 UTC
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.
Hi, is it possible that you do not set the correct filter for that type of document ? SLK is not tied to OOo Calc, so it opens as text as it is a text based document format. Questions about how to achieve your goals maybe sent to the mailing lists especially dev@api... Frank
No response, so I assume my guess was right. So I close this one. Feel free to re-open this Issue if you have some more information on how you call the filter. Frank
closed invalid
*** Issue 44675 has been marked as a duplicate of this issue. ***