heavywar/itext7


iText 7 represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText 7 can be a boon to nearly every workflow. https://itextpdf.com/en/products/itext-7/

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    
	dependencies {
		implementation 'com.github.heavywar:itext7:7.2.0'
	}
	dependencies {
		implementation("com.github.heavywar:itext7:7.2.0")
	}
	<dependency>
	    <groupId>com.github.heavywar</groupId>
	    <artifactId>itext7</artifactId>
	    <version>7.2.0</version>
	</dependency>

                            
    libraryDependencies += "com.github.heavywar" % "itext7" % "7.2.0"
        
        

                            
    :dependencies [[com.github.heavywar/itext7 "7.2.0"]]
        
        

Readme


iText 7 Community consists of several jars.

The iText 7 Core/Community release contains:

  • kernel-x.y.z.jar: low-level functionality
  • io-x.y.z.jar: low-level functionality
  • layout-x.y.z.jar: high-level functionality
  • forms-x.y.z.jar: AcroForms
  • pdfa-x.y.z.jar: PDF/A-specific functionality
  • pdftest-x.y.z.jar: test helper classes
  • barcode-x.y.z.jar: use this if you want to create bar codes
  • hyph-x.y.z.jar: use this if you want text to be hyphenated
  • font-asian-x.y.z.jar: use this is you need CJK functionality (Chinese / Japanese / Korean)
  • sign-x.y.z.jar: use this if you need support for digital signatures
  • styled-xml-parser-x.y.z.jar: use this if you need support for SVG or html2pdf
  • svg-x.y.z.jar: SVG support

The iText 7 Community source code is hosted on Github, where you can also download the latest releases.

You can also build iText 7 Community from source.

We also provide opensource add-ons and tools to complement the core functionality:

  • pdfHTML — allows you to easily convert HTML to PDF or iText objects
  • pdfSweep — a highly efficient PDF tool to merge, split and redact data
  • RUPS — a Java tool that can help you debug PDFs

If you have an idea on how to improve iText 7 Community and you want to submit code, please read our Contribution Guidelines.

iText 7 is dual licensed as AGPL/Commercial software.

AGPL is a free / open source software license.

This doesn't mean the software is gratis!

Buying a license is mandatory as soon as you develop commercial activities distributing the iText software inside your product or deploying it on a network without disclosing the source code of your own applications under the AGPL license. These activities include:

  • offering paid services to customers as an ASP
  • serving PDFs on the fly in the cloud or in a web application
  • shipping iText with a closed source product

Contact sales for more info.