Click here to Skip to main content
16,006,531 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a Windows application which creates an OpenOffice writer(.odt) file.
I have some text copied in the clipboard. I want to paste it into this open office document.
How do I achieve this. Please help.
Posted
Updated 22-Oct-13 2:11am
v3

1 solution

Hi,
I assume that you have your code working that creates the .ODT files. All you need to do is get the text from clip board and put that into the file. refer MSDN article below for reading from clipboard.

How to: Retrieve Data from the Clipboard - MSDN[^]

hope it helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900