开发者

pdf to txt convertion in qt or c++

开发者 https://www.devze.com 2023-02-26 13:00 出处:网络
Hi How can I convert pdf to txt with qt ? if there isn\'t way to do this , Is there any library for c++ that convert pdf files开发者_运维百科 to txt files ?

Hi How can I convert pdf to txt with qt ? if there isn't way to do this , Is there any library for c++ that convert pdf files开发者_运维百科 to txt files ? thanks. My os is windows7 and my ide is visual studio 2008


Foxit sells their PDF code as a library. I use it, and it's great.

http://www.foxitsoftware.com/pdf/sdk/dll/

You may know them for their very popular free Acrobat Reader alternative.


Not all pdf files contain text. When getting text from them you might need to use OCR. It is possible to build an printer driver for a virtual printer and get the text by capturing undocumented windows messages. To my knowledge there is no easy foolproof way to do this.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号