• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
14

Export characters from a specific field

Explorer ,
Jan 25, 2024 Jan 25, 2024

Copy link to clipboard

Copied

How can I export the characters (10-12 characters) within a certain area of a PDF document (A4) to txt?

 

Does anyone have any ideas or guidance on this matter?  Thank you.Ekran Resmi 2024-01-25 11.03.10.png

TOPICS
Edit and convert PDFs , JavaScript , Modern Acrobat , PDF , Scan documents and OCR

Views

143

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 25, 2024 Jan 25, 2024

Copy link to clipboard

Copied

Is this a form field or a plain text?

Where exactly do you want to export it?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 25, 2024 Jan 25, 2024

Copy link to clipboard

Copied

Pdf file as shown in attachment,

I want to transfer the marked part to a .txt file

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 25, 2024 Jan 25, 2024

Copy link to clipboard

Copied

LATEST

The text in that image looks very much like a form field. Is it a form field?  Or is it text that is part of the page content. 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 25, 2024 Jan 25, 2024

Copy link to clipboard

Copied

A script can be used to identify text in a specific part of a page, but it's not a trivial task.
You would need to iterate over the entire page's contents, checking the quads array for each word, which defines its location(s) on the page, and compare it to a known rectangle that represents the area you're looking for.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines