PDA

View Full Version : Convert Pdf to Txt



henriquez0
29th December 2006, 12:30
Hello. I need convert file in extension PDF to extension TXT for QT 3.3.3 library, and i don´t know make this. Please help me

:crying: :crying: :crying:

wysota
29th December 2006, 12:55
Use external tools such as PDF2TXT or PDF2HTML or ActiveX (there are plugins for Adobe Acrobat that convert pdf into text). Qt3 doesn't support handling pdf documents in any way.

peterlee
21st December 2015, 13:24
Do you have any experience about pdf conversion process? Any suggetsion will be appreciated. Thanks in advance.



Best regards,
Lee

ChrisW67
21st December 2015, 19:54
Nine years! That has to be some kind of record for waking a dormant thread.

The options wysota pointed out way back are still good although Qt3.3 is long retired.

Poppler (http://poppler.freedesktop.org/) is a common choice for reading PDF from C/C++ program code... There may even be a Qt-like wrapper for it. You can then do anything you like with the text objects. The problem is not as simple as it might appear: do you try to keep the text in roughly the correct layout or make it sequential stream?