APache PDFBox API Usage (3)----How to get a form structure with a PDF file with a form

Source: Internet
Author: User

We know that not only can we save images and text in a PDF file, but we can also create a form in a PDF file. For example, figure 1 below is a PDF file in which some forms are created.

In fact, the PDF file is a special structure of the file, then, if we need to go through the PDFBox API to fill these forms, we need to know how these forms are defined in the PDF file,

What the name is. In general, we use the PDFBox API directly, then is there another simpler way? Of course, that's http://support.persits.com/pdf/demo_formfields.asp.

This website can be used to parse the structure of our uploaded pdf file form online. Let's take a PDF of Figure one as an example, using the website in Figure 2 to see the structure of the form in the current PDF file.

For the results of the query, see Figure 3.


Figure 1



Figure 2




Figure 3





APache PDFBox API Usage (3)----How to get a form structure with a PDF file with a form

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.