pdfreplacer

Replaces entire text boxes with custom content. Useful for programmatically filling out PDF forms.

License

License

Categories

Categories

PDF Data
GroupId

GroupId

com.allpiper
ArtifactId

ArtifactId

pdfreplacer
Last Version

Last Version

0.3.3
Release Date

Release Date

Type

Type

jar
Description

Description

pdfreplacer
Replaces entire text boxes with custom content. Useful for programmatically filling out PDF forms.
Project URL

Project URL

https://github.com/klaus7/pdfreplacer
Source Code Management

Source Code Management

https://github.com/klaus7/pdfreplacer

Download pdfreplacer

How to add to project

<!-- https://jarcasting.com/artifacts/com.allpiper/pdfreplacer/ -->
<dependency>
    <groupId>com.allpiper</groupId>
    <artifactId>pdfreplacer</artifactId>
    <version>0.3.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.allpiper/pdfreplacer/
implementation 'com.allpiper:pdfreplacer:0.3.3'
// https://jarcasting.com/artifacts/com.allpiper/pdfreplacer/
implementation ("com.allpiper:pdfreplacer:0.3.3")
'com.allpiper:pdfreplacer:jar:0.3.3'
<dependency org="com.allpiper" name="pdfreplacer" rev="0.3.3">
  <artifact name="pdfreplacer" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.allpiper', module='pdfreplacer', version='0.3.3')
)
libraryDependencies += "com.allpiper" % "pdfreplacer" % "0.3.3"
[com.allpiper/pdfreplacer "0.3.3"]

Dependencies

compile (2)

Group / Artifact Type Version
org.apache.pdfbox : pdfbox jar 2.0.17
org.apache.commons : commons-lang3 jar 3.0

provided (1)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.18.8

test (3)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-api jar 5.4.0
org.junit.jupiter : junit-jupiter-engine jar 5.4.0
org.assertj : assertj-core jar 3.11.1

Project Modules

There are no modules declared in this project.

PDF Search & Replace

This little library can be used to find text markers in PDF documents and add text blocks at the found locations. Placeholders in the original PDF are used to detect the location of the field, where the custom value can be added. Text dimensions are kept from the found marker text box

This library was written to automatically create filled-out agreement forms and similar documents.

This library is an addition to Apache's pdfbox.

Example

From ... To ...
Alt text Alt text

Maven

<dependency>
    <groupId>com.allpiper</groupId>
    <artifactId>pdfreplacer</artifactId>
    <version>0.2.0</version>
</dependency>

Versions

Version
0.3.3
0.3.2
0.3.1
0.3.0
0.2.0
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0