Registry / utility / openpdf

openpdf

JSON →
library3.0.5javamavenunverified

An open-source PDF library for Java, fork of iText, supporting creation, manipulation, and rendering of PDF documents.

<dependency> <groupId>com.github.librepdf</groupId> <artifactId>openpdf</artifactId> <version>3.0.5</version> </dependency>
INSTALL
IMPORT
SIG · OPENPDF
O
openpdf
utilityjavav3.0.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PdfDocument
org.openpdf.PdfDocument

Creates a new PDF document and adds a page.

import org.openpdf.PdfDocument; import org.openpdf.PdfWriter; public class Example { public static void main(String[] args) throws Exception { PdfDocument pdf = new PdfDocument(new PdfWriter("output.pdf")); pdf.addNewPage(); pdf.close(); } }
Debug
Known issues
breakingOpenPDF uses the package name `org.openpdf` instead of the old `com.lowagie` from iText 2.x.
fix
Update imports from `com.lowagie.text.*` to `org.openpdf.*` when migrating from older iText forks.
affects: >=3.0.0
Upgrade
Version history
3.0.5latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
6
Meta
2
Amazon
1
Resources
openpdf — mvn dependency:get openpdf · libregistry