Results 1 to 4 of 4

Thread: Convert Pdf to Txt

  1. #1
    Join Date
    Dec 2006
    Posts
    8
    Qt products
    Qt3
    Platforms
    Windows

    Default Convert Pdf to Txt

    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


  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Convert Pdf to Txt

    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.

  3. #3

    Default Re: Convert Pdf to Txt

    Do you have any experience about pdf conversion process? Any suggetsion will be appreciated. Thanks in advance.



    Best regards,
    Lee

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Convert Pdf to Txt

    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 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?

Similar Threads

  1. How to convert from QString to string ?
    By probine in forum Newbie
    Replies: 2
    Last Post: 1st December 2010, 01:50
  2. How to convert from QString to quint16 ?
    By probine in forum Qt Programming
    Replies: 5
    Last Post: 31st March 2006, 09:00
  3. convert iterator
    By mickey in forum General Programming
    Replies: 8
    Last Post: 20th March 2006, 21:59
  4. How to convert binary data to hexadecimal data
    By yellowmat in forum Newbie
    Replies: 4
    Last Post: 8th March 2006, 16:17
  5. How to convert QTextDocument to PNG file?
    By Gonzalez in forum Qt Programming
    Replies: 1
    Last Post: 2nd February 2006, 14:46

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.