Version 10.2 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
* 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
New in version 10.2:
* new property TablePropConfiguration#MaxTableWidthPercent
* target Java SE 8 and newer
* bump slf4j from 2.0.6 to 2.0.7
Home page: https://www.scroogexhtml.com
Resources: https://www.scroogexhtml.com/#resources
Live conversions: https://www.scroogexhtml.com/#examples
Online demo: https://www.scroogexhtml.com/sxd
The online demo converts a RTF document to HTML5, and allows to set many conversion options.
Feel free to submit example RTF documents.
It is also available for Object Pascal (different feature set).
Trademarks
Oracle® and Java are registered trademarks of Oracle and/or its affiliates.
Discover more from Habarisoft Blog
Subscribe to get the latest posts sent to your email.