Skip to content

Sample code for the Datalogics Java interface of the Adobe PDF Library setup to build with Maven

Notifications You must be signed in to change notification settings

datalogics/apdfl-java-maven-samples

Repository files navigation

Datalogics Adobe PDF Library

Documentation   |   Support   |   Release Notes   |  Homepage

Download a Free Trial

Adobe PDF Library

Built upon Adobe source code used for Acrobat, Datalogics Adobe PDF Library SDK provides stable, reliable code and the flexibility to develop with Java, C#, VB (VB.NET), or C++. APDFL is the most complete SDK for PDF creation, manipulation and management. Best for enterprise/larger organizations of developers and independent software vendors (ISVs) who need to incorporate Adobe's PDF functionality into their own internal or external applications.

Live support from PDF development experts.

Licensing and Pricing options are customized to your usage and requirements. For OEM and SaaS customers we will provide you with a non-license managed software package for easier distribution embedded within your applications.

Free trial & license activation

To activate the free trial:

  1. Visit https://www.datalogics.com/pdf-sdk-free-trial to obtain an activation key.
  2. A prompt will appear on your console when executing Datalogics sample code.

Alternatively, to use an activation key in code, the setLicenseKey() method of the Library class can be set to a valid activation key prior to instantiating the library.

    Library.setLicenseKey("xxxx-xxxx-xxxx-xxxx");
    Library lib = new Library();

Extensive PDF Capabilities

  • NewFeature Windows Conversion of PDF to Microsoft Office Word, Excel, and PowerPoint (.docx, .xlsx, .pptx) documents.
  • Create and edit annotations
  • Content creation and editing
  • Color management and conversion
  • Extraction of text, images, forms
  • Redaction
  • Content modification - merge, split, flatten, layers
  • Compression / optimization / linearization for Fast Web View
  • Display, Render, Print
  • Conversion to PDF/A, PDF/X, EPS, PostScript, XPS, Factur-X, ZUGFeRD, image formats (JPG, TIFF, PNG, BMP), Office formats (docx, xlsx, pptx)
  • Forms - Import, export, flatten, AcroForms
  • Image manipulation and conversion
  • OCR
  • Support for Optional Content Groups and PDF Layers
  • Printing
  • Security - Password, encrypt, watermark
  • Search for and replace or edit text

Running the Samples

For 64-bit Intel Windows, 64-bit Intel Linux, or Mac ARM systems:

  • Clone this repository to your system
  • Select a sample you would like to try
  • Open the folder containing the sample in IntelliJ IDEA
  • From the Maven tab in the right sidebar, run the "Compile" phase
  • Run the sample

For other systems: See Using APDFL and Maven on other platforms