ScroogeXHTML - RTF to XHTML converter component for the Java(tm) platform

ScroogeXHTML for the Java(tm) platform is a JavaBean(tm) which can convert a small subset of the RTF code to XHTML . It is fast, easy to customize and use and comes with full source code.

Features

ScroogeXHTML converts text attributes including background and highlight colors, paragraph attributes including text alignment (left, right, centered, justified) , left/right/first line indent and numbered/unnumbered lists. In combination with CSS support , default font property settings allow to create very small output documents. A hyperlink detection mode, which is based on text attributes, allows to process hyperlinks. Many options are available to control the HTML header. In debug mode, the converter inserts informations about the RTF document in the output code.

Requirements and limitations

ScroogeXHTML requires JRE 1.3 or higher. It has been designed to be fast and easy to use, but the RTF specification contains very many elements and features, so it can not convert all of them. Not supported are - for example - embedded pictures, computed fields, tables and tabulators.

Normative References

HTML 4.01 Specification , W3C Recommendation, Dave Raggett, Arnaud Le Hors, Ian Jacobs, 24 December 1999.
See: http://www.w3.org/TR/1999/REC-html401-19991224
XHTML 1.0: The Extensible HyperText Markup Language , W3C Recommendation, Steven Pemberton, et al., 26 January 2000.
See: http://www.w3.org/TR/2000/REC-xhtml1-20000126
Extensible Markup Language (XML) 1.0 (Second Edition) , W3C Recommendation, Tim Bray, Jean Paoli, C. M. Sperberg-McQueen, Eve Maler, 6 October 2000.
See: http://www.w3.org/TR/2000/REC-xml-20001006
Cascading Style Sheets, level 1 , W3C Recommendation 17 Dec 1996, revised 11 Jan 1999
See: http://www.w3.org/TR/REC-CSS1
Cascading Style Sheets, level 2 , CSS2 Specification, W3C Recommendation,  12-May-1998
See: http://www.w3.org/TR/REC-CSS2/

License

There are four licenses types for ScroogeXHTML: a single user license, a site license, a world wide license, and a client/server license. To read more about the license terms, please visit the ScroogeXHTML prices and license terms page.

About the demo version

The demo version, which is available on the Betasoft web pages, can be used to convert RTF files to XHTML. Note: the ScroogeXHTML demo application can not be installed as a JavaBean(tm) .
Just run the batch file to start the demo application.

About XHTML

XHTML is compatible with HTML and also with XML. It has some small changes (for example, <br /> instead of <br>) but they do not confuse older browsers. Because of its XML compatibility, XHTML can be integrated in next-generation internet systems and works in browsers for devices like TV set top boxes and mobile phones. More information about XHTML can be found at http://www.w3c.org .

If you want to modify the source code to add other features, please check the RTF specification which is available from Microsoft (tm). Some web sites, for example Wotsit , do also have RTF specifications online. The XHTML code generated by ScroogeXHTML can be displayed by many browsers and has passed the online W3C validation service . Please note that ScroogeXHTML allows to insert custom HTML code, which will not be checked automatically for XHTML compliance.

About RTF

The RTF specification is available from Microsoft (tm). Some web sites, for example Wotsit , have the RTF specification online.

ScroogeXHTML for Delphi(tm)

A component version for Borland(tm) Delphi(tm) is also available from BetaSoft .

Documentation

The complete ScroogeXHTML JavaDoc(tm) documentation is available online.

ScroogeXHTML Revision history

2003-03-29: Revision 2.4b3

2003-03-20: Revision 2.4b2

2003-03-19: Revision 2.4b1

2002-12-13: Revision 2.3

2002-05-11: Revision 2.2

2002-05-05: Revision 2.1

2002-03-01: Revision 2.0

Initial revision

Limited Warranty

THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS. BETASOFT DISCLAIMS ALL WARRANTIES RELATING TO THIS SOFTWARE, WHETHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. NEITHER BETASOFT NOR ANYONE ELSE WHO HAS BEEN INVOLVED IN THE CREATION, PRODUCTION, OR DELIVERY OF THIS SOFTWARE SHALL BE LIABLE FOR ANY INDIRECT, CONSEQUENTIAL, OR INCIDENTAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE SUCH SOFTWARE, EVEN IF BETASOFT HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR CLAIMS. THE PERSON USING THE SOFTWARE BEARS ALL RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE.

LINKS TO THIRD PARTY SITES THE LINKS IN THIS AREA WILL LET YOU LEAVE THIS SITE. THE LINKED SITES ARE NOT UNDER THE CONTROL OF BETASOFT AND BETASOFT IS NOT RESPONSIBLE FOR THE CONTENTS OF ANY LINKED SITE OR ANY LINK CONTAINED IN A LINKED SITE, OR ANY CHANGES OR UPDATES TO SUCH SITES. BETASOFT IS NOT RESPONSIBLE FOR WEBCASTING OR ANY OTHER FORM OF TRANSMISSION RECEIVED FROM ANY LINKED SITE. BETASOFT IS PROVIDING THESE LINKS TO YOU ONLY AS A CONVENIENCE, AND THE INCLUSION OF ANY LINK DOES NOT IMPLY ENDORSEMENT BY BETASOFT OF THE SITE.

Copyright © 2002 Michael Justin, Hof 20, 52062 Aachen, Germany. All rights reserved.

top