GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV 2024
→
[WD] PDF Data Extraction and saving file
[WD] PDF Data Extraction and saving file
Iniciado por Gianni Spano, mar., 23 2018 1:52 PM - 2 respostas
Conecte-se…
Gianni Spano
#1
Publicado em março, 23 2018 - 1:52 PM
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
Denunciar
0
0
Paulo Oliveira
#2
Publicado em março, 23 2018 - 3:45 PM
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…
Denunciar
0
0
Gianni Spano
#3
Publicado em março, 23 2018 - 10:50 PM
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
Denunciar
0
0
→ Voltar para WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto