Overview

ScroogeXHTML for the Java platform is a library which can convert a subset of the Rich Text Format (RTF) standard to HTML5 and XHTML.

It supports conversion of hyperlinks, simple tables, picture data extraction/data URI embedding, cascading style sheet (CSS) based document minimizing, and post processing/analysis of the intermediate DOM document.

ScroogeXHTML for the Java platform is easy to use and configure. It requires no external libraries besides the SLF4J (Simple Logging Facade for Java) API and the Java 7 SE runtime environment.

Online demo

The online demo converts uploaded RTF documents and displays them in your web browser. In case of unexpected conversion results, please contact Habarisoft customer support.

Release Notes

6.3.1
New Progress listeners are now deprecated, they will be removed in a future version to increase conversion performance
New Refactoring of table support (introduced TableWriter interface)
New Minor improvements for bullet lists (WPTools and TRichView)
New Updated izpack installer to version 5.1.1
Fixed Fixed release notes in HTML API docs
Fixed Fixed missing initialization of unicodeSkip state before conversion
6.3.0
New Added option ConversionKeys.CONVERT_HEADERS_AND_FOOTERS to control conversion of header and footer text, default value is 'no' to suppress their conversion
New Added inclusion of the 'lang' attribute in the html element, it will be set if the DefaultLanguage property is not empty
Previous releases ...

Quick Facts

Technical Information

Released 21 June 2017
Platform

Java SE 7

Dependencies Simple Logging Facade for Java (SLF4J)
Size ≈ 110 kB (Jar file)

License

Updates Minor and major updates are included for one year after purchase
Redistribution Free redistribution with your product when used in binary compiled single-user applications

Support

Bug reports Bugs can be reported at cases@habarisoft.com
Email support Basic technical support is included for one year after purchase

Feature Matrix

Text properties
Bold/italic/underlined ✓/✓/✓
Foreground/background/highlight color ✓/✓/✓
Subscript/superscript ✓/✓
Strikethrough/hidden ✓/✓
LTR/RTL text ✓/✓
Unicode / DBCS text ✓/✓
Language attribute
Paragraph properties
Paragraph Alignment: Left/right/centered/justified ✓/✓/✓/✓
Left/right/first line indent ✓/✓/✓
Numbered/unnumbered lists ✓/✓
Tabulators replaced by a sequence of non breaking spaces
Document types
HTML5
XHTML 1.0 Transactional
Optimization
CSS based document minimizer
Font substitution
Logging framework
SLF4J support
Java platform
Minimum version Java SE 7
Dependencies
SLF4J
Advanced features
Picture data extraction ✓ ①
Data URI image embedding
Hyperlink fields
Bookmark fields
Android platform
Simple tables
Table width, left margin, column width, merged cells ✓/✓/✓/✓
Footnotes
List templates
Post processing (XPath based)
Tests
JUnit tests
Other
Installer and uninstaller

① conversion of image data to a web-safe format not included.

Developer License

ScroogeXHTML for the Java platform

  • Non-exclusive lifetime license
  • Updates included for one year
  • Free redistribution with your product when used in binary compiled single-user applications

Source code edition including:

  • Library source code
  • API documentation
  • Getting Started PDF
  • Installer and uninstaller
  • Four Server Deployment Licenses
  • 14 day money back guarantee
  • Instant electronic delivery

Buy now »

Binary (JAR) edition including:

  • Library JAR version
  • API documentation
  • Getting Started PDF
  • Installer and uninstaller
  • Four Server Deployment Licenses
  • Instant electronic delivery

Buy now »

Server Deployment Licenses

Server Deployment Licenses are required for the server side deployment of applications (License Details).

Server Deployment Licenses are available with volume discounts.

License calculator »

Runs on Android

Android support

ScroogeXHTML for the Java platform can be used on the Android platform. A small commercial converter app is available on Google Play.

Android, Google Play, and the Google Play logo are trademarks of Google Inc.

Conversion example generated with ScroogeXHTML 7.0.0.MS1-SNAPSHOT

ScroogeXHTML

Table conversion generated with ScroogeXHTML 7.0.0.MS1-SNAPSHOT

ScroogeXHTML

Frequently asked questions (FAQ)

General

On the library home page you will find a link to the download area for registered users. The credentials (user name and password) will be sent to you when a new release is available.
A trial version download is not available. To check if the library meets your requirements, you can try the online demo or purchase a Single Developer license, which includes a 14 days full money back guarantee. This allows to test the full version of the library without any risk. The reseller (ShareIt) will give a full refund if you find that the library does not work as expected.

Licensing

Yes, each developer that uses our products must have their own license.
No, the licenses are perpetual. However, you will be using the last product version released before your free upgrade period expired.
Yes! If you are a registered user, please contact Habarisoft and ask for discount coupon code.

Distribution

No, the source code is not redistributable, even if you change it. Under no circumstances is it acceptable to disclose the source to any third party.

Server Deployment license

Server Deployment Licenses are required if ScroogeXHTML for the Java platform is used on the server side of a client/server application.
No. A Server Deployment license covers all applications on the server.
No. Server Deployment license are perpetual, except in the case of license violations.
No. The proof of purchase for Server Deployment licenses is your license document.

Picture Support

The library does not convert embedded pictures. It extracts binary picture data from the RTF document. The picture data may be in WMF, JPEG, or other formats.

Actiance

Adobe

Advocate Health Care

Becton, Dickinson and Company

Canadian Natural Resources

Denim Group

GE Medical Systems

Mayo Foundation

Manuh Solutions

NVISIA

Philips Medical Systems

ProClarity Corporation

QuadraMed Corporation

Scherer Software

Sigmalogic