An open API service indexing awesome lists of open source software.

https://github.com/quarkiverse/quarkus-itext

Create and manipulate PDFs on the fly with iText/OpenPDF
https://github.com/quarkiverse/quarkus-itext

itext openpdf pdf quarkus-extension reader writer

Last synced: 5 months ago
JSON representation

Create and manipulate PDFs on the fly with iText/OpenPDF

Awesome Lists containing this project

README

          



Quarkus logo
Plus sign
iText/OpenPDF logo

Quarkus iText/OpenPDF




[![Version](https://img.shields.io/maven-central/v/io.quarkiverse.itext/quarkus-itext?logo=apache-maven&style=flat-square)](https://search.maven.org/artifact/io.quarkiverse.itext/quarkus-itext)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=flat-square)](https://opensource.org/licenses/Apache-2.0)
[![Build](https://github.com/quarkiverse/quarkus-itext/actions/workflows/build.yml/badge.svg)](https://github.com/quarkiverse/quarkus-itext/actions/workflows/build.yml)

[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat-square)](#contributors-)

## Overview

A Quarkus extension that lets you utilize [OpenPDF](https://github.com/LibrePDF/OpenPDF) or [iText](https://itextpdf.com/) or to create and manipulate PDFs on the fly.

> [!NOTE]
> The main purpose of this extension is to make iText/OpenPDF work in a native executable built with GraalVM/Mandrel.

> [!IMPORTANT]
> Consider using OpenPDF first, as it is modern and supports encrypted PDFs. Only resort to the legacy iText version if OpenPDF doesn't meet your needs.

## Versioning

There are multiple versions available please check which one for your Quarkus release version.

| Extension Version | OpenPDF version | Quarkus Version |
| --- | --- | --- |
| ![3.3.0](https://img.shields.io/maven-central/v/io.quarkiverse.itext/quarkus-itext?versionPrefix=3.3.0&color=cyan) | [![OpenPDF](https://img.shields.io/maven-central/v/com.github.librepdf/openpdf?versionPrefix=2.2&color=green)](https://github.com/LibrePDF/OpenPDF/releases/tag/2.2.4) | [![Quarkus](https://img.shields.io/badge/Quarkus-3.15+-purple.svg)](https://github.com/quarkusio/quarkus/releases/tag/3.15.0) |
| ![3.3.1](https://img.shields.io/maven-central/v/io.quarkiverse.itext/quarkus-itext?versionPrefix=3.3.1&color=cyan) | [![OpenPDF](https://img.shields.io/maven-central/v/com.github.librepdf/openpdf?versionPrefix=2.2&color=green)](https://github.com/LibrePDF/OpenPDF/releases/tag/2.2.4) | [![Quarkus](https://img.shields.io/badge/Quarkus-3.27+-purple.svg)](https://github.com/quarkusio/quarkus/releases/tag/3.27.0) |
| ![latest](https://img.shields.io/maven-central/v/io.quarkiverse.itext/quarkus-itext?&color=cyan) | [![OpenPDF](https://img.shields.io/maven-central/v/com.github.librepdf/openpdf?versionPrefix=3.0&color=green)](https://github.com/LibrePDF/OpenPDF/releases/tag/3.0.0) | [![Quarkus](https://img.shields.io/badge/Quarkus-3.27+-purple.svg)](https://github.com/quarkusio/quarkus/releases/tag/3.27.0) |

## Getting started

Read the full [iText/OpenPDF documentation](https://docs.quarkiverse.io/quarkus-itext/dev/index.html).

### Prerequisite

* Create or use an existing Quarkus application
* Add the iText or OpenPDFextension with the [Quarkus CLI](https://quarkus.io/guides/cli-tooling):

**Recommended:**
```bash
quarkus ext add io.quarkiverse.openpdf:quarkus-openpdf
```
or

**Legacy:**
```bash
quarkus ext add io.quarkiverse.itext:quarkus-itext
```

Or add to your pom.xml directly:

**Recommended:**
```xml

io.quarkiverse.openpdf
quarkus-openpdf
{project-version}

```

**Legacy:**
```xml

io.quarkiverse.itext
quarkus-itext
{project-version}

```

## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):



Melloware
Melloware

💻 🚧
George Gastaldi
George Gastaldi

🚇
Alberto Fernández
Alberto Fernández

💻
gattinaresh
gattinaresh

⚠️
comrt
comrt

🤔
Andreas Røsdal
Andreas Røsdal

💻
Harriebo
Harriebo

💻

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!