Tobias Krais wrote:

> Hi Matthias,
> 
> [...]
> 
>> stardesktop.loadcomponentfromurl("private:factory/swriter","_blank",0,noargs())
>> doc.currentController.insertTransferable(obj)
>> 
>> This API is kind of an "internal" clipboard. Currently it only works in
>> Writer.
> 
> this is a very interesting solution. I wont use it, because I want to
> insert in a existing document.

You can also use it for inserting: place the ViewCursor at the position
where you want to insert the content and use the Controller of the
document you want to insert to, not the Controller of a new document in
my example.

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.

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

Reply via email to