Package com.adobe.pdf

Provides classes and interfaces for manipulating Adobe PDF documents and their data.

See:
          Description

Interface Summary
FileAttachment FileAttachment defines a public interface for referencing embedded file streams that can be archived or transmitted along with a PDF file.
PDFDocument PDFDocument defines a public interface for manipulating PDF documents.
PDFImage PDFImage defines a public interface for exporting or importing image XMP metadata.
PDFWord PDFWord defines a public interface for accessing one word from a list of the static-text words in a PDF document.
Point Point defines a public interface for obtaining the X and Y values associated with one corner of the area that one or more characters occupy.
Quad Quad defines a public interface for obtaining the location and orientation of one or more characters in a word.
 

Class Summary
FormDataFormat FormDataFormat indicates in which format to export form data.
FormType FormType defines the valid form types.
PDFFactory PDFFactory defines a static PDFFactory object.
 

Package com.adobe.pdf Description

Provides classes and interfaces for manipulating Adobe PDF documents and their data.

XML/PDF Access API for Java is a Java library that enables you to incorporate PDF documents into existing XML based workflows. This product provides document-level operations. You can import and export annotations, form data, XMP metadata, and file attachments. In addition, a text extraction capability is provided to support word searches and indexing.

About the XML/PDF Access API for Java SDK

The XML/PDF Access API for Java SDK works with the XML subassemblies of PDF documents or the XML Forms Architecture datasets associated with an XDP file. The XML subassemblies conform to the Adobe XML Forms Architecture specification, which can be viewed at http://partners.adobe.com/asn/tech/pdf/xmlformspec.jsp.

You can use XML/PDF Access API for Java to perform these tasks programmatically:

Access PDF documents and XDP files as XML streams You can access unencrypted PDF documents or XDP files and perform simple query operations, such as determining the form type, the number of pages, and the PDF version.

Prepopulate forms and extract form data You can prepopulate interactive form fields and export form data.

Search for and extract text You can search for and extract text at the word level.

Convert the PDF representation of a form to its XDP counterpart You can convert a PDF document to an XDP file.

Save changes to a modified XML stream After PDF data is exported as an XML data stream, you can modify the data and optionally save the changes in a file or back into the PDF document.

Export and import document XMP metadata and image XMP metadata You can export and import information about a PDF document and its embedded images.

Manipulate annotations You can export, import, save, and delete annotations.

Manipulate file attachments You can create, export, and delete file attachments.

Client applications can be delivered as Java applets or as stand-alone Java applications or, if web-based server-side processing is required, developers can implement servlets. A typical enterprise application would deploy such applications as Java 2 Platform, Enterprise Edition (J2EE) components.

Note: For information about XDP files, see the XML Data Package Specification at http://partners.adobe.com/asn/tech/pdf/xfa/xdp_2.0.pdf.

XML/PDF Access API for Java architecture

XML/PDF Access API for Java is implemented as a Java library based on the Java 2 Platform, Standard Edition (J2SE) 1.4.1 run-time environment. Applications can be deployed in a J2SE or J2EE environment.

Reading and writing operations are performed through a positionable XML stream. For simplicity, most of the methods for manipulating PDF/XDP files and their XML data are provided through the single public interface PDFDocument. The reading and writing operations support access to PDFDocument objects and other high-level objects.

Internally, XML/PDF Access API for Java contains three layers. Each layer contains classes that provide operations on that layer:

Related documentation

The following resources can help you learn more about XPAAJ:

In addition to these resources, the samples location contains information about how to install the sample web applications.