在VC ++中将PDF转换为DOC [英] PDF to DOC in VC++

查看:140
本文介绍了在VC ++中将PDF转换为DOC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
任何人都可以给我一些关于如何使用vc ++/MFC将PDF文件转换为DOC(MS.Word)文件的想法.
谢谢
Dev

Hi All,
Could any one please give me some idea for how to convert PDF file to DOC(MS.Word) file programmatically using vc++/MFC.
Thanks
Dev

推荐答案

Google是您的朋友:
Google is your friend: http://www.google.it/search?sourceid=chrome&ie=UTF-8&q=pdf+to+doc[^].
:)


您是要通过编程方式还是使用某些工具来完成此操作..?
如果您想以编程方式使用ITextSharp,则它是.NET的开源库.
Do you want to do it programmatically or using some tool..?
If you want to so programmatically then use ITextSharp, it is a opensource library for .NET


这并不是一项琐碎的任务(取决于您的经验).您首先需要一个库(或编写您自己的库)来读取PDF数据及其格式信息.从这些信息中,您将需要一些代码将其转换为与Word等效的代码.最后,您将需要一个编写器部分,该部分使用Office互操作库来编写word文档.
This is not exactly a trivial task (depending on your experience). You will first need a library (or write your own) to read the PDF data and its formatting information. From that information you will need some code to convert it to the equivalent for Word. Finally you will need a writer portion which uses the Office interop libraries to write the word document.


这篇关于在VC ++中将PDF转换为DOC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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