Open HTML to PDF is a pure-Java library for rendering a reasonable subset of well-formed XML/XHTML (and even some HTML5) using CSS 2.1 (and later standards) for layout and formatting, outputting to PDF or images. Use this library to generated nice looking PDF documents. But be aware that you can not throw modern HTML5+ at this engine and expect a great result. You must special craft the HTML document for this library and use it's extended CSS feature like #31 or #32 to get good results. Avoid floats near page breaks and use table layouts.

Features

  • Uses the well-maintained and open-source (LGPL compatible) PDFBOX as PDF library
  • Proper support for generating accessible PDFs
  • New, faster renderer means this project can be several times faster for very large documents
  • Font fallback support
  • Limited support for RTL and bi-directional documents
  • Better support for CSS3 transforms

Project Samples

Project Activity

See All Activity >

License

GNU Library or Lesser General Public License version 3.0 (LGPLv3)

Follow Open HTML to PDF

Open HTML to PDF Web Site

You Might Also Like
Cloudflare secures and ensures the reliability of your external-facing resources such as websites, APIs, and applications. Icon
It protects your internal resources such as behind-the-firewall applications, teams, and devices.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Open HTML to PDF!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Java

Related Categories

Java PDF Generation Libraries

Registered

2023-11-17