Issue 44675 - Type detection fails on SYLK when opening from Java
Summary: Type detection fails on SYLK when opening from Java
Status: CLOSED DUPLICATE of issue 29925
Alias: None
Product: Calc
Classification: Application
Component: save-export (show other issues)
Version: OOo 1.1.4
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: spreadsheet
QA Contact: issues@sc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-10 06:13 UTC by chrisbitmead
Modified: 2005-03-11 11:55 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description chrisbitmead 2005-03-10 06:13:24 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.
Comment 1 frank 2005-03-11 11:54:43 UTC
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 ***
Comment 2 frank 2005-03-11 11:55:02 UTC
closed double