Version 10.4 of the RTF to HTML5 and XHTML converter library ScroogeXHTML for the Java SE 8+ platform is available now.

About

ScroogeXHTML is a library which converts RTF to HTML5 as markup fragments (for embedding in other documents), or to stand-alone documents.

Key features:

  • Minimizes documents using CSS and default font definitions
  • Includes an API for post-processing of the intermediate DOM tree
  • Supports hyperlinks, bookmarks, multi-language and LTR/RTL text, field results and simple tables
  • Experimental support for nested tables (unsupported)
  • Picture data extraction (hex and binary)
  • Complimentary code for converting and embedding images as Data URIs
  • Output formats: XHTML and HTML5
  • Small: less than 150 KB
  • Fast: up to several MB/second
  • Tested with Java SE 8, 11 and 17
  • Full source code available

Home page: https://www.scroogexhtml.com
Resources: https://www.scroogexhtml.com/#resources
Release notes: https://www.scroogexhtml.com/release_notes.html

Live conversions: https://www.scroogexhtml.com/#examples
Feel free to submit example RTF documents.

Also available for Object Pascal (different API and feature set).

Trademarks

Oracle® and Java are registered trademarks of Oracle and/or its affiliates.

Leave a comment