Hi Joan,

I'm trying to load several documents in the same window, and I found
this piece of example that works with the XComponentLoader

... loadComponentFromURL(url1,"Mydoc", 1, loadProps);
... loadComponentFromURL(url2,"Mydoc", 2, loadProps);

This should work with a new window, but I'm trying to load them into an applet. The OOBean just gives me this method to do it (no title, no id)

... loadFromURL( url1, loadProps );

Can anybody help me to find the way to load various docs into an applet?

I suppose you want to load several documents into one document.
For this you could open an empty writer document by using

        loadFromURL("private:factory/swriter", loadProps)

and then use the interface XDocumentInsertable, which you can query at this document to insert several document into your single text document.

Hope that helps

Regards

Stephan

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

Reply via email to