Conversions
On-line converter demos

Two development snapshots of ScroogeXHTML for the Java platform are available, please choose:

Customer Stories

"This is an excellent unique product that has saved us many hours of work. It is simple to use with lots of documentation."

Stewart Spink, Technical Director, Watermark Technologies Limited

"Scrooge has really helped me out! I'm converting a database of 10,000 questions in RTF into HTML, Scrooge has been invaluable!"

J.M., USA

" It works great and it is stunningly fast - on production, converting 115.000 documents takes 25 seconds instead of 9 hours."

R.S., Germany

"We are very, very glad with this Component"

M.R., Germany

Overview

ScroogeXHTML is a library which can convert a subset of the RTF standard to XHTML and HTML.

It converts text attributes including background and highlight colors, paragraph attributes including alignment (left, right, centered, justified) and paragraph indent (left, right, first line) and simple numbered or unnumbered lists.

Unicode conversion allows multi-language documents, including simplified and traditional Chinese, Korean and Japanese.

CSS and default font settings instead of in-place formatting help to create optimized documents.

Speed

With a throughput of several MB per second, ScroogeXHTML is one of the fastest solutions available.

Embedded images

Basic support for the extraction of raw data of embedded images is included. Experimental code for the conversion of embedded WMF images to PNG is available for ScroogeXHTML for the Java platform and ScroogeXHTML for Delphi.

Limitations

The library supports a limited subset of the RTF standard. If you are unsure about support for a specific conversion feature, please contact us. Some of the document elements which will not be converted are:

  • Tables
  • Tabulators (a tab character will be replaced by a sequence of non breaking spaces)
  • Non-alphabetic characters in the "Symbol" font
  • Unicode font names, and font names which contain a semicolon

Compare editions

ScroogeXHTML for the Java platform

Code example

  ScroogeXHTML scrooge = new ScroogeXHTML();
  scrooge.setAddOuterHTML(true);
  scrooge.setIncludeDocType(true);
  scrooge.setDocType(W3CDocument.DOCTYPE_HTML5);

  String html = scrooge.convert(rtf);
                        

Size

The library adds less than 100 kB to the application size.

Dependencies

The library depends on the Simple Logging Facade for Java (SLF4J). Experimental WMF to PNG conversion requires the Apache Batik open source library.

ScroogeXHTML for Delphi

Code example

  Scrooge := TBTScroogeXHTML.Create;
  Scrooge.OptionsHead.AddOuterHTML := True;
  Scrooge.IncludeDocType := True; 
  Scrooge.DocumentType := dtHTML_50;

  UTF8 := Scrooge.Convert(RTF);
                        

Size

The library normally adds less than 300 kB to the application size.

Dependencies

The library has no third-party library dependencies. It optionally uses the Log4D framework.

Adobe

BEA Systems

Berlitz GlobalNET

The Blackstone Group

Cambridge Assessment

Compoze Software, Inc.

Concept Engineering Limited

Denim Group

Department of Health and Ageing Australia

Ennoview, Inc.

Fujitsu Siemens Computers

Gendel Advertising Group

General Electric

Hyperion Solutions

IBM

Infocob SARL

InQuira, Inc.

Mayo Foundation

McGrathNicol

microtech GmbH

Oracle

Philips Medical Systems

PricewaterhouseCoopers

ProClarity

QuadraMed Corporation

Synthos S.A.

Watermark Technologies Ltd