Hi Mathias,

That's the easy part - call setComponent(). The problem is creating it,
we currently don't have an API for that. You can do the following: a
frame implements the XComponentLoader interface and so you can call the
loadComponentFromURL() method on it. If you pass the document as "Model"
argument to the call, the document will not be loaded a second time but
instead of that the frame should create a second view. You can do it
even easier by not creating the frame manually but using the
XComponentLoader of the desktop.

What a nice surprise, the argument wins over the URL (that's important cause the documents are "unbenannt" loaded as a stream from a database).

So it doesn't matter if the url is private:factory/swriter.

Thank you


Peter


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

Reply via email to