?
Solved

PDF Fields

Posted on 2010-09-24
2
Medium Priority
?
408 Views
Last Modified: 2012-05-10
This is question is a follow up to my last succesfully answered question regarding using VBA to read Adobe field names.

How can I extract ALL the fields names in a PDF document - this would remove the requirement to identify them individually first and allow me to simply move the values to corresponding Database fields which could be dynamically created?

0
Comment
Question by:kokane
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 1000 total points
ID: 33760571
Go back to my old VBA program and after you create the JSO object, insert the following code snippet:

 This will iterate over all fields and create a string with the names of these objects.


' find all form fields
    Dim fields As String
    fields = "Form fields: "
    Dim i As Integer
    Dim f As Object
    For i = 0 To jso.numFields - 1
        fields = fields & " " & jso.getNthFieldName(i)
    Next i
    MsgBox fields

Open in new window

0
 

Author Closing Comment

by:kokane
ID: 33761258
Thanks spot on.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update 21-May-2015: I temporarily removed the source code and the code snippets to make major changes to the program. Regards, Joe INTRODUCTION This Article is a follow-up to the Article entitled How To Rename-Move a Batch of PDF Files Based o…
This article focuses on how to remove password security from multiple PDF files by Adobe Acrobat program. Sometimes it is essential to access the stored data items and to print, edit as well as copy content from Portable Document Format files in abs…
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question