Skip to content

AntonYudin/pdffilter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

XHTML To PDF Filter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published