Research
Demo
Implement

CambridgeDocs xDoc JPDF Toolkit

Benefits Classes
The Java PDF Driver is one of xDoc's most heavily used features.  It was one of the very first drivers that was added to xDoc during its original development, and the xDoc Converter Desktop even has an example project specifically geared to show you its capabilities.

The Java PDF Driver gives you tremendous programmatic access to the content of the document, simply because you can access the previously inscrutable PDF data by examining the stylistic XML output from the driver.  You can examine the document via standard Java XML programming methodologies like the Document Object Model (DOM).

The JPDF Toolkit, however, gives you even greater access to the content.  Essentially, the JPDF Toolkit is a set of example files and documentation that show you how to manipulate the PDF content as it is being processed by the Java PDF Driver during the initial transformation phase.

The JPDF Toolkit is currently a beta module, and is also being used by PDFAssembly.  Please contact sales@cambridgedocs.com for more information about the availability of JPDF Toolkit.


 
JPDF Toolkit Benefits:
Written in Java from the ground up, so there are no JNI calls to platform specific code
Fully object-oriented library for reading and writing PDF files, so all PDF objects represented as classes
Read / Write textual content, graphics and raster content
Add and read annotations and watermarks
Read metadata (info and XMP), bookmark information, and other internal structure information
Create new PDF files, modify existing PDF files
Export PDF content into XML

The JPDF Toolkit has two levels of API access.

The first level com.cambridgedocs.jpdf, gives you "high-level" access so that you can easily perform certain tasks without any underlying knowledge of the PDF structure, like reading PDF files, copying pages to new files, adding textual and graphic content, and adding / reading bookmarks and other information.

The second level, com.cambridgedocs.jpdf.pdo, gives you "low-level" access, so that you can get access to underlying features that evade the high-level APIs.

The two tables, below, give you a partial list of the classes that are accessible via the JPDF Toolkit API:
 

com.cambridgedocs.jpdf:
JPDFDocument
JPDFDocumentObject
JPDFPage
JPDFReader
JPDFWriter
JPDFBookmark
JPDFGraphicsObject
JPDFText
JPDFImage
JPDFAnnotation
JPDFLink
JPDFTag
JPDFInfoMetadata
JPDFXMPMetadata
JPDFThread
JPDFPermission
JPDFFont
 
com.cambridgedocs.jpdf.pdo:
PdoFileReader
PdoFile
PdoFileTrailer
PdoObject
PdoGraphicsOperator
PdoDictionary
PdoString
PdoArray
PdoStream
PdoFileSpec
PdoOutline
PdoFont
PdoAnnotation
PdoLink
PdoGraphicsState
PdoCurrentTransformationMatrix

PdoColorSpace