Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to copy Acrobat document text programmatically
Message
 
À
27/01/2006 17:47:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01091105
Message ID:
01091450
Vues:
32
Alejandro:

I cannot tell what is the "best" as it depends on how the text is displayed/incorporated into the PDF document, and what kind of fonts are used.
Also it depends on what kind of application you are going to do (for in_office use, for your own, for distribution, etc).

Anyway, try pdftotext: http://www.aboutlyrics.com/Software/Download/pdftotext.php.

There were posts here explaining how to get the PDF document window handler, and how to send keystrokes to the window. In some cases you could use it too.



>I need to extract text from two Acrobat documents programmatically. What is the best way to do it?
>
>As an experiment, I was able to open the first document with the Adobe reader, select all text, copy/paste to a text file and parse from there. The second document only allows selecting text from one page at a time, so you have to copy/paste each page separately.
>
>TIA,
>
>Alex
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform