将剪贴板文本粘贴到OpenOffice文档 [英] Paste Clipboard text to OpenOffice document

查看:88
本文介绍了将剪贴板文本粘贴到OpenOffice文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Windows应用程序,它创建一个OpenOffice编写器(.odt)文件。

我在剪贴板中复制了一些文本。我想将它粘贴到这个开放的办公室文档中。

如何实现这一目标。请帮忙。

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.

推荐答案



我假设你的代码工作正在创建.ODT文件。您需要做的就是从剪贴板中获取文本并将其放入文件中。请参阅下面的MSDN文章,以便从剪贴板中读取。



如何:从剪贴板中检索数据 - MSDN [ ^ ]



希望它有所帮助。
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.


这篇关于将剪贴板文本粘贴到OpenOffice文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆