ScroogeXHTML for Object Pascal
RTF to HTML converter library

Released 28 November 2021

format_quote

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

format_quote

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

Overview

ScroogeXHTML for Object Pascal 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.

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:

  • Tabulators (a tab character will be replaced by a sequence of non breaking spaces)
  • Tables

Embedded images

Support for the extraction of raw data of embedded images is included. Conversion of pictures to a web-ready format may require third-party libraries. Complimentary conversion code is included for WMF to PNG conversion (Delphi only). Version 7.2 introduced embedding of PNG and JPG pictures as Data URIs.

Speed

With a throughput of up to several MB per second, ScroogeXHTML for Object Pascal is one of the fastest solutions available.

Conversion example with embedded images

Input (RTF document) - as shown in MS Wordpad
example 2 RTF
Notes
  • The first picture uses the JPG format, the second uses PNG
Output (HTML document) - as shown in Mozilla Firefox
example 2 HTML
Notes
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 ✓/✓/✓
Space before/after ✓/✓
Background color
Box border
Lists
Numbered/unnumbered lists ✓/✓
Optimization
CSS based document minimizer
Advanced features
Custom post processing ✓ improved in 8.0
Bookmark fields
Hyperlink fields
Picture data extraction
Picture data conversion The distribution may include complimentary and unsupported 'picture adapter' code to convert pictures to 'web-ready' formats. WMF to PNG conversion is not supported for Free Pascal.
Picture embedding The distribution may include complimentary code to embed pictures as Data URIs.

Prices below are per developer seat.

  INDIE
35 €
BUSINESS
95 €
Permitted use Individual Organization
Lifetime license
Redistribution in single-user applications
Basic support included One year One year
Updates and upgrades included One year One year
Instant electronic delivery
Library source code included
Server Deployment License discount
Early access to development snapshots (without technical support)  
  Subscribe
Subscribe
① Single Developer License and Server Deployment License terms are explained here

Released 28 November 2021

book

Manual

The "Getting Started" user guide

search

API Docs

Online API documentation

list

Release Notes

Enhancements and bug fixes

help_outline

FAQ

Frequently Asked Questions

alternate_email

Contact

Support and sales inqueries

pages

Blog

Technical articles and announcements

Released 28 November 2021

get_app

Free demo version:

Download »

get_app

Installer for registered users:

Download »

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 is not available. To check if the library meets your requirements, you can try the free demo application.

Developer License

check

Yes, each developer that uses our products must have their own license.

No, developer licenses are perpetual. However, you will be using the last product version released before your free upgrade period expired. A license may also be revoked in case of license violations.

Source Code Distribution

block

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

help_outline

License types (Single Developer License and Server Deployment License) are explained on the page https://www.scroogexhtml.com/scroogexhtml_license.html.

ScroogeXHTML License Types

No. A Server Deployment License covers all applications on the server.

help_outline

Server Deployment Licenses are available under two license models, 'Perpetual' or 'Subscription'. When licensed as a subscription, the license expires when the subscription ends. Licenses may also expire in case of license violations.

No, the proof of purchase for Server Deployment Licenses is your license document.

block

No. ScroogeXHTML Server Deployment Licenses or parts of it may not be distributed, sold, rented or transferred to any other party, this includes mergers and acquisitions of the license holder.

Picture Support

No, 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. The distribution may include complimentary and unsupported 'picture adapter' code to convert and embed pictures.

More questions and answers are included in the Getting Started document (PDF).