Issue 29925 - Type detection fails on SYLK when opening from Java
Summary: Type detection fails on SYLK when opening from Java
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC5
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: frank
QA Contact: issues@sc
URL:
Keywords:
: 44675 (view as issue list)
Depends on:
Blocks:
 
Reported: 2004-06-07 04:05 UTC by chrisbitmead
Modified: 2005-03-11 11:54 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 2004-06-07 04:05:11 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.
Comment 1 frank 2004-06-07 07:59:59 UTC
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
Comment 2 frank 2004-06-18 16:10:52 UTC
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
Comment 3 frank 2004-06-18 16:11:16 UTC
closed invalid
Comment 4 frank 2005-03-11 11:54:43 UTC
*** Issue 44675 has been marked as a duplicate of this issue. ***