OpenOffice Clipboard handling

Java, C++, C#, Delphi, ??? - Using the UNO bridges

OpenOffice Clipboard handling

Postby Deer » Wed Mar 26, 2008 7:38 pm

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
Deer
 
Posts: 4
Joined: Sun Mar 23, 2008 2:24 am

Re: OpenOffice Clipboard handling

Postby ms777 » Sat Mar 29, 2008 12:15 pm

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
ms777
Volunteer
 
Posts: 132
Joined: Mon Oct 08, 2007 1:33 am


Return to External Programs

Who is online

Users browsing this forum: No registered users and 1 guest