Page 1 of 1

OpenOffice Clipboard handling

Posted: Wed Mar 26, 2008 7:38 pm
by Deer
Hello!

I couldn't find enough information about clipboard-handling. Can anyone help me? A snippet code or something?
I was bugging hard on api.openoffice.org, but it is not clear for me.

I want to mark a full row in Calc, copy it to clipboard, then browse it within my Delphi application.

Thanks to everyone.

Deer

Re: OpenOffice Clipboard handling

Posted: Sat Mar 29, 2008 12:15 pm
by ms777
Hi,

see http://www.oooforum.org/forum/viewtopic ... 184#156184 for an example how to set the Clipboard. Alternatively, you can use the dispatcher with .uno:Copy. Search for 'DispatchHelper. With the latter method, you do not have full control over the data flavor, so it may be possible that Delphi is not able to understand the clipboard.

Good luck,

ms777