com.antonyudin.filters.pdf:ay-filters-pdf-filter

XHTML To PDF Filter

License

License

Categories

Categories

Ant Build Tools PDF Data
GroupId

GroupId

com.antonyudin.filters.pdf
ArtifactId

ArtifactId

ay-filters-pdf-filter
Last Version

Last Version

1.0
Release Date

Release Date

Type

Type

jar
Description

Description

XHTML To PDF Filter

Download ay-filters-pdf-filter

How to add to project

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

Dependencies

provided (1)

Group / Artifact Type Version
javax : javaee-api jar 8.0

Project Modules

There are no modules declared in this project.

pdffilter

XHTML To PDF Filter

This is a javax.servlet filter that converts xhtml pages with styles to a PDF document in real-time. The filter can be used to publish any xhtml resource (jsf or static) as a PDF document. The filter supports caching. The original document is MessageDigest-ed and a copy of the resulted PDF is kept in a ConcurrentHashMap. If the original document's digest changes, the PDF is regenerated. This functionality can be turned off.

The actual transformation of the XHTML into PDF is done using one of the following libraries:

Maven

                <dependency>
                        <groupId>com.antonyudin.filters.pdf</groupId>
                        <artifactId>ay-filters-pdf-filter</artifactId>
                        <version>1.0</version>
                </dependency>

                <dependency>
                        <groupId>com.antonyudin.filters.pdf</groupId>
                        <artifactId>ay-filters-pdf-openhtmltopdf</artifactId>
                        <version>1.0</version>
                </dependency>

                <dependency>
                        <groupId>com.antonyudin.filters.pdf</groupId>
                        <artifactId>ay-filters-pdf-itextpdf</artifactId>
                        <version>1.0</version>
                </dependency>

Versions

Version
1.0