ScroogeXHTML for the Java platform is a library which supports a subset of the Rich Text Format (
RTF) standard and converts to HTML5 and XHTML, as a standalone document, or as a fragment which can be embedded in other documents, with little coding.
supports RTF features such as hyperlinks, field results, simple tables, picture data extraction, and embeds PNG and JPG pictures as data URIsminimizes documents using CSS font definitions, and supports post processing of the intermediate DOM document for additional fine tuningis easy to use, and requires no external runtime libraries except the SLF4J logging APIthe online demo converts a RTF document and displays the result HTML5
Home page:
https://www.scroogexhtml.com
Online demo:
https://www.scroogexhtml.com/sxd8
Javadoc API:
https://www.habarisoft.com/scroogexhtml_j/8.3.0/docs/api/index.html
Full source code available.