Registry / utility / itext
library4.2.2javamavenunverified

iText is a free Java-PDF library for creating and manipulating PDF documents.

<dependency> <groupId>com.lowagie</groupId> <artifactId>itext</artifactId> <version>4.2.2</version> </dependency>
INSTALL
IMPORT
SIG · ITEXT
I
itext
utilityjavav4.2.2
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.

Document
com.lowagie.text.Document

Creates a simple PDF document with a paragraph of text.

import com.lowagie.text.Document; import com.lowagie.text.Paragraph; import com.lowagie.text.pdf.PdfWriter; import java.io.FileOutputStream; public class Main { public static void main(String[] args) throws Exception { Document document = new Document(); PdfWriter.getInstance(document, new FileOutputStream("output.pdf")); document.open(); document.add(new Paragraph("Hello, iText!")); document.close(); } }
Debug
Known issues
breakingVersion 4.2.2 is outdated; consider using iText 5.x or later for better features and security.
fix
Upgrade to iText 5.x or iText 7 (com.itextpdf:itext7-core).
affects: <=4.2.2
Upgrade
Version history
4.2.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
itext — mvn dependency:get itext · libregistry