FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
[WD] PDF Data Extraction and saving file
[WD] PDF Data Extraction and saving file
Débuté par Gianni Spano, 23 mar. 2018 13:52 - 2 réponses
Connectez-vous…
Gianni Spano
#1
Posté le 23 mars 2018 - 13:52
Hello to all
I have about 1000 pdf files and each filename is like "CU2018_1.pdf", "CU2018_2.pdf" and so on for the rest.
Each filename has in a specific position in the 1st page of each pdf, a fiscal code to recognize the person name.
What i would try to do is to read this fiscal code and save (or rename) the file using this information, like SPNGNN56T08G015-2018.pdf.
Of course the fiscal code (i.e. SPNGNN56T08G015D) is printed at the same position in each pdf file.
Is there a library or some tools that allow me to extract the fiscal code passing the coordinates where it is located inside the pdf file??
Thanks in advance
Gianni
Signaler
0
0
Paulo Oliveira
#2
Posté le 23 mars 2018 - 15:45
I never done it but probably you can achieve this using the PDFToText function and some lines of code to extract the fiscal code from the string.
https://doc.windev.com/en-US/index.awp…
Signaler
0
0
Gianni Spano
#3
Posté le 23 mars 2018 - 22:50
Hello Paulo
Yes...this is the easy way...with a few lines of code to find the fiscal code inside the extracted text from the pdf file.
Thanks for your help
Gianni
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte