User defined Clipboard objects in other applications

  • Thread starter Thread starter Christian Nein
  • Start date Start date
C

Christian Nein

Hi,

I am storing userdefined objects in the clipboard and I want them to be
available for external applications (Notepad, Excel, Word, ...) How does my
userdefined object have to look like to be usable in other applications? Do
I have to implement a special named method or something like that?

Best regards
Christian
 
Christian said:
I am storing userdefined objects in the clipboard and I want them to be
available for external applications (Notepad, Excel, Word, ...) How does my
userdefined object have to look like to be usable in other applications? Do
I have to implement a special named method or something like that?

No, you have to make your data available using specific formats that these
applications are interested in. A normal text format will be evaluated by
many other applications (and may be sufficient for Notepad) and there are
other catch-all formats (HTML based formats come to mind), but to send
data into Word or Excel, other more complicated formats are needed. It
really depends on the exact kind of data you have and how it can be
transferred usefully into the target application - and some internal
formats used by Office apps may also be undocumented.


Oliver Sturm
 
Back
Top