Extract values (or text) from a PDF file

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
Puffolino
User
Posts: 321
Joined: Wed Feb 09, 2011 1:06 pm

Extract values (or text) from a PDF file

Post by Puffolino »

I need to build a sum of certain values from a PDF file, like the distances in the given example below. I tried copy and paste and exporting (also when flattening all comments and selecting the text content only), but never get all numbers.

Is there a nice trick to get all of the content as a text?

Get Values.pdf
(18.71 KiB) Downloaded 43 times
Willy Van Nuffel
User
Posts: 2393
Joined: Wed Jan 18, 2006 12:10 pm

Re: Extract values (or text) from a PDF file

Post by Willy Van Nuffel »

Can you do something with this:
- show the Comments pane (View > (Other) Panes > Comments)
- in the Comments pane: click Options > Summarize Comments...
- in the Summarize Comments dialog-box:
- - un-check all check-boxes below Comments Information
- - at Options > Layout, make sure to select Comments Only
- - select your preferred Destination Folder
- click OK

The resulting PDF should be equal to the one attached at this post.

A next step could be to save the resulting PDF as a TXT file, like in the ZIP-file attached to this post.

Or, still a shorter way: in the Summarize Comments dialog-box, select Output > Type = Plain Text (*.txt)

Regards.
Attachments
Get Values_1.pdf
(6.99 KiB) Downloaded 45 times
Get Values_2.zip
(273 Bytes) Downloaded 38 times
Puffolino
User
Posts: 321
Joined: Wed Feb 09, 2011 1:06 pm

Re: Extract values (or text) from a PDF file

Post by Puffolino »

W :shock: W

Never had a look at this function before, it does a great job (as you do).

Thanks!
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8593
Joined: Wed Jan 03, 2018 6:52 pm

Extract values (or text) from a PDF file

Post by TrackerSupp-Daniel »

:)
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Post Reply