Skip to content
No description, website, or topics provided.
Java
Branch: master
Clone or download
Ralf Stuckert
Latest commit d9c0a95 Aug 15, 2017

README.md

Release MIT licensed

pdfbox-layout

A tiny layout library on top of pdfbox. Main features are

  • word wrapping
  • text alignment
  • paragraphs
  • pagination

See the Wiki for more information on the usage, or browse the javadoc.

These articles may also be useful as a short introduction:

Supports pdfbox 1.8.x and 2.x

The library comes in two flavors: one for Apache pdfbox 1.8.x, and the other for pdfbox 2.x

artifactId pdfbox version
pdfbox1-layout pdfbox 1.8.x
pdfbox2-layout pdfbox 2.x

Get it:

As of 0.2.0 pdfbox-layout is available from jitpack.io.

Maven:

    <repositories>
        <repository>
            <id>jitpack.io</id>
            <url>https://jitpack.io</url>
        </repository>
    </repositories>
    ...
    <dependency>
        <groupId>com.github.ralfstuckert.pdfbox-layout</groupId>
        <artifactId>pdfbox2-layout</artifactId>
        <version>1.0.0</version>
    </dependency>

Gradle:

   repositories { 
        jcenter()
        maven { url "https://jitpack.io" }
   }
   dependencies {
         compile 'com.github.ralfstuckert.pdfbox-layout:pdfbox2-layout:1.0.0'
   }

Download:

artifact pdfbox1-layout pdfbox2-layout
binary pdfbox1-layout-1.0.0.jar pdfbox2-layout-1.0.0.jar
sources pdfbox1-layout-1.0.0-sources.jar pdfbox2-layout-1.0.0-sources.jar
javadoc pdfbox1-layout-1.0.0-javadoc.jar pdfbox2-layout-1.0.0-javadoc.jar
examples pdfbox1-layout-1.0.0-examples.jar pdfbox2-layout-1.0.0-examples.jar
You can’t perform that action at this time.