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"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.ntmcminn:alfresco-pdf-toolkit:1.4.0'
}
dependencies {
implementation("com.github.ntmcminn:alfresco-pdf-toolkit:1.4.0")
}
<dependency>
<groupId>com.github.ntmcminn</groupId>
<artifactId>alfresco-pdf-toolkit</artifactId>
<version>1.4.0</version>
</dependency>
libraryDependencies += "com.github.ntmcminn" % "alfresco-pdf-toolkit" % "1.4.0"
:dependencies [[com.github.ntmcminn/alfresco-pdf-toolkit "1.4.0"]]
The new home of the Alfresco PDF Toolkit (replacing the deprecated Google Code project)
Alfresco PDF Toolkit adds additional functionality to Alfresco that allows you to work with PDF files.
The toolkit compatibility matrix and some additional information is available on addons.alfresco.com. If you find this stuff useful, please pop over to the addons site and "like" the project!
Current Functionality:
All of the actions are available as actions that can be used in content rules, and as document library actions in the document browse and detail views.
Note that as of Version 1.2, the legacy Explorer UI components will no longer be maintained and will be fully removed in version 1.3.
NOTE: The latest 1.3 betas remove the PDF/A conversion action, since that action has dependencies on Alfresco Enterprise. I'm committed to keeping this project 100% compatible with Alfresco community. The PDF/A action will be released as a separate module for Alfresco Enterprise.
A teaser screencast is available here:
http://www.youtube.com/watch?v=cJYpFgx037E
Functionality in development:
LICENSING
The Alfresco PDF Toolkit is an unsupported, community developed open source project. The project code itself is released under the AGPL License.
iText - Affero GPL 3 (http://itextpdf.com/terms-of-use/agpl.php)