To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=79951





------- Additional comments from [EMAIL PROTECTED] Fri Jul 27 07:36:30 +0000 
2007 -------
our test server doesn't require authentication. Anyway in this case the UCB
webdav provider is used for loading. The UCB uses an Interactionhandler (see
css.document.MediaDescriptor) to handle this kind of extra or exceptional
handling. You can implement an own InteractionHandler. I have never implemented
an InteractionHandler. If you test it, it would be nice to have a code snippet
in our snippet collection. 

It should be also possible to use a dispatch. The advantage of a dispatch here
is that you get all the defaults set in the same way as in the office UI. But
then you have to select/find your document for further operations :-(

sub loadViaDispatch
  dim urltransformer as object 
  dim url as new com.sun.star.util.URL

  urltransformer = createUnoService("com.sun.star.util.URLTransformer")
  url.Complete = "http://10.16.67.238/uploads/testdoc.odt";
  urltransformer.parseStrict(url)
  xdispatch = StarDesktop.queryDispatch(url, "_blank", 0)
  xdispatch.dispatch(url, DimArray())
end

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to