Re: [dev] Buggy insertDocumentFromURL

2005-11-03 Thread Mathias Bauer
Christoph Lutz wrote: Hi Mathias, I currently have no idea why you don't get the error message from Java. OTOH I think that the error message in an API call is a bug, so the behavior in Java is correct, why ever. A message box shouldn't be shown if no InteractionHandler set set. thats

Re: [dev] Buggy insertDocumentFromURL

2005-10-31 Thread Mathias Bauer
Christoph Lutz wrote: Hi Christian, 2005/10/27, Christian Junker [EMAIL PROTECTED]: I tested all the small examples on Mac OS X with OOo 2.0 using Starbasic and I can only reproduce Bug 1 (it's probably not a bug here). Bug 2: That's also my experience using Starbasic. In Starbasic the

Re: [dev] Buggy insertDocumentFromURL

2005-10-31 Thread Christoph Lutz
Hi Mathias, I currently have no idea why you don't get the error message from Java. OTOH I think that the error message in an API call is a bug, so the behavior in Java is correct, why ever. A message box shouldn't be shown if no InteractionHandler set set. thats right, but OTOH a unresolved

Re: [dev] Buggy insertDocumentFromURL

2005-10-28 Thread Christoph Lutz
Hi Christian, 2005/10/27, Christian Junker [EMAIL PROTECTED]: I tested all the small examples on Mac OS X with OOo 2.0 using Starbasic and I can only reproduce Bug 1 (it's probably not a bug here). Bug 2: That's also my experience using Starbasic. In Starbasic the insertDocumentFromURL throws

[dev] Buggy insertDocumentFromURL

2005-10-27 Thread Christoph Lutz
Hi, in the following example-code I found some bugs in the XDocumentInsertable.insertDocumentFromURL() method. Can you confirm these bugs, so I can report an issue? Are there known workarounds? import com.sun.star.beans.PropertyValue; import com.sun.star.comp.helper.Bootstrap; import

Re: [dev] Buggy insertDocumentFromURL

2005-10-27 Thread Christian Junker
Hi Christoph, 2005/10/27, Christoph Lutz [EMAIL PROTECTED]: Hi, // Bug 1: // providing a non-empty MediaDescriptor throws an // IllegalArgumentException. try { insertProps = new PropertyValue[] { new PropertyValue() };

Re: [dev] Buggy insertDocumentFromURL

2005-10-27 Thread Mathias Bauer
Christoph Lutz wrote: // Bug 1: // providing a non-empty MediaDescriptor throws an // IllegalArgumentException. try { insertProps = new PropertyValue[] { new PropertyValue() }; insertProps[0].Name = Author;