cool the work around worked a treat! thanks again for your help. --- Mathias Bauer <[EMAIL PROTECTED]> wrote:
> Kent Gibson wrote: > > > thanks for the details. What you said about adding > a > > model to the media descriptor seems very > interesting. > > However it does not seem to be documented. I tried > > something quickly along these lines: > > > > XModel model = ( XModel ) > UnoRuntime.queryInterface( > > XModel.class, connection.getTextDocument()); > > > > PropertyValue prop1 = new PropertyValue(); > > prop1.Name = "Model"; > > prop1.Value = model; > > > > loadedComponent = > > frameComponentLoader.loadComponentFromURL( > > "private:stream", "_self", 0, args ); > > > > and I get > > om.sun.star.lang.IllegalArgumentException: URL > seems > > to be an unsupported one. > > It seems that OOo tries to do a type detection > though this is > superfluous here. I will check this. Meanwhile you > could try to provide > a valid stream here to workaround the problem (it > will not be used for > loading!). > > Best regards, > Mathias > > -- > Mathias Bauer - OpenOffice.org Application Framework > Project Lead > Please reply to the list only, [EMAIL PROTECTED] > is a spam sink. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
