-
Notifications
You must be signed in to change notification settings - Fork 0
Home
iText 7 is a comprehensive library for creating and manipulating PDF documents in Java and other JVM languages. Below is a detailed overview of the key modules, their dependencies, and the functionalities they offer.
- Purpose: The core library for PDF creation and manipulation.
-
Maven Dependency:
<dependency> <groupId>com.itextpdf</groupId> <artifactId>itext7-core</artifactId> <version>x.x.x</version> <!-- Replace with the latest version --> </dependency>
- Purpose: Supports font management, including custom fonts and font styles.
-
Maven Dependency:
<dependency> <groupId>com.itextpdf</groupId> <artifactId>itext7-font</artifactId> <version>x.x.x</version> </dependency>
- Purpose: Provides I/O operations for reading and writing PDF documents.
-
Maven Dependency:
<dependency> <groupId>com.itextpdf</groupId> <artifactId>itext7-io</artifactId> <version>x.x.x</version> </dependency>
- Purpose: Facilitates the creation and manipulation of PDF forms (AcroForms).
-
Maven Dependency:
<dependency> <groupId>com.itextpdf</groupId> <artifactId>itext7-forms</artifactId> <version>x.x.x</version> </dependency>
- Purpose: Enables the rendering of SVG content in PDF documents.
-
Maven Dependency:
<dependency> <groupId>com.itextpdf</groupId> <artifactId>itext7-svg</artifactId> <version>x.x.x</version> </dependency>
- Purpose: Supports PDF annotations such as highlights, comments, and notes.
-
Maven Dependency:
<dependency> <groupId>com.itextpdf</groupId> <artifactId>itext7-annotations</artifactId> <version>x.x.x</version> </dependency>
- Purpose: Provides high-level layout functionalities for complex documents.
-
Maven Dependency:
<dependency> <groupId>com.itextpdf</groupId> <artifactId>itext7-layout</artifactId> <version>x.x.x</version> </dependency>
- Purpose: Supports digital signatures, including signing PDFs and verifying signatures.
-
Maven Dependency:
<dependency> <groupId>com.itextpdf</groupId> <artifactId>itext7-signatures</artifactId> <version>x.x.x</version> </dependency>
- Purpose: Supports the creation of PDF/A compliant documents for archiving.
-
Maven Dependency:
<dependency> <groupId>com.itextpdf</groupId> <artifactId>itext7-pdfa</artifactId> <version>x.x.x</version> </dependency>
- Purpose: Extracts data from PDF documents, particularly useful for form data.
-
Maven Dependency:
<dependency> <groupId>com.itextpdf</groupId> <artifactId>itext7-pdf2data</artifactId> <version>x.x.x</version> </dependency>
- Purpose: Converts HTML and XML content to PDF.
-
Maven Dependency:
<dependency> <groupId>com.itextpdf</groupId> <artifactId>itext7-xmlworker</artifactId> <version>x.x.x</version> </dependency>
-
PDF Creation and Manipulation:
- Generate new PDF documents.
- Modify existing PDF files (adding/removing content).
-
Font Handling:
- Embed and manage various font types, including custom fonts.
-
Form Handling:
- Create, fill, and manipulate PDF forms.
- Support for both AcroForms and XFA forms.
-
Annotations:
- Add interactive elements such as comments, highlights, and links.
-
SVG Support:
- Render and embed SVG images within PDF documents.
-
Digital Signatures:
- Create secure, digitally signed PDFs.
- Validate and verify signatures.
-
PDF/A Compliance:
- Ensure documents meet PDF/A standards for long-term archiving.
-
Data Extraction:
- Extract text and data from forms and structured PDFs.
-
HTML to PDF Conversion:
- Convert HTML content directly into a well-formatted PDF.
-
Document Layout:
- Advanced layout capabilities for complex documents, including multi-column layouts and pagination.
iText 7 is a powerful and flexible library for handling PDF documents, offering a wide range of modules tailored for specific tasks. By including the necessary dependencies, you can leverage these functionalities to create, manipulate, and manage PDF documents effectively. For the latest information and detailed usage, always refer to the official iText documentation.