Hi Albert,
I've debugged your problem and found out (as I've already mentioned)
that some detection services dont work correctly in case pure input
stream is provided only .-)
An issue was filed by me so you can track if and when it will be fixed.
http://www.openoffice.org/issues/show_bug.cgi
lto:andreas.schlu...@sun.com]
Sent: Monday, January 12, 2009 03:07
To: dev@api.openoffice.org
Subject: Re: [api-dev] XComponentLoader.ComponentFromURL throws
IllegalArgumentException: URL seems to be an unsupported one.
Hi Albert,
The right FilterName is "MS Word 2007 XML".
And no ... you
Friday, January 09, 2009 02:50
To: dev@api.openoffice.org
Subject: Re: [api-dev] XComponentLoader.ComponentFromURL throws
IllegalArgumentException: URL seems to be an unsupported one.
Hi Albert,
your code works fine for me. Of course, I used only a simple odt
document. Perhaps the filter for loading
ne?
-
Albert
-Original Message-
From: steffen.gr...@sun.com [mailto:steffen.gr...@sun.com]
Sent: Friday, January 09, 2009 02:50
To: dev@api.openoffice.org
Subject: Re: [api-dev] XComponentLoader.ComponentFromURL throws
IllegalArgumentException: URL seems to be an unsupported one.
Hi Alber
-Original Message-
From: Andreas Schlüns [mailto:andreas.schlu...@sun.com]
Sent: Friday, January 09, 2009 06:15
To: dev@api.openoffice.org
Subject: Re: [api-dev] XComponentLoader.ComponentFromURL throws
IllegalArgumentException: URL seems to be an unsupported one.
Hi Albert,
Why do you load the
Hi Albert,
Why do you load the file using "private:stream" instead of using the
original file:///-URL ? Let OOo do that stream stuff internaly. Loading
via stream is supported but detection of pure streams without any hint
about the URL or the mime type will fail very often ... especialy if
a
Hi Albert,
your code works fine for me. Of course, I used only a simple odt
document. Perhaps the filter for loading the docx document cannot be
determined. You can add this to the properties for loadComponentFromUrl,
the name of the property is FilterName, the value the name of the filter
yo