Jump to content
Sign in to follow this  
mjustin

ScroogeXHTML for Object Pascal 9.1 - RTF to HTML5 converter

Recommended Posts

Posted (edited)

ScroogeXHTML for Object Pascal converts RTF (Rich Text Format) documents to HTML5 and other markup formats.

 

Major changes in the 9.1 release:

  • The ConvertHyperlinks property is enabled by default.
  • The ConvertSpaces property is enabled by default.
  • Default replacement fonts “Courier” and “Times” are now “Courier New” and “Times New Roman”.
  • Add support for document language detection, based on deflang RTF token.
  • Add the lang-attribute to the HTML root element (unconditionally).

 

The 9.0 release included these changes:

  • Extend the complimentary picture conversion code to convert embedded BMP and WMF pictures to PNG, allowing to include them as Base64 encoded data URIs.
  • Add support for reading pictures stored as binary data from RTF documents which use the \bin token.
  • Add a new property to control generation of margin-top and margin-bottom styles.
  • Add a new property to set additional attributes on the <p> element.

 

Features

  • Exports to stand-alone documents or fragments for embedding.
  • Minimizes documents using CSS and default font definitions.
  • Supports hyperlink fields, bookmarks, multi-language and LTR/RTL text.
  • Includes complimentary code for converting and embedding images as Data URIs. Conversion of pictures to a web-ready format may require third-party libraries.
  • Includes an API for post-processing of the intermediate DOM-like document.
  • Supports logging via slf4p (simple logging facade for Pascal).
  • Compatible with Delphi 2009 and newer and Free Pascal 3.2.2.
  • Includes full source code.

 

Resources
Home page: https://www.scroogexhtml.com/object_pascal.html
Demo version: https://www.habarisoft.com/scroogexhtml/9.1/ScroogeXHTMLDemo.zip
User guide: https://www.habarisoft.com/scroogexhtml/9.1/docs/ScroogeXHTMLGettingStarted.pdf
Release notes: https://www.habarisoft.com/scroogexhtml/9.1/docs/api/version.html

 

Other platforms
ScroogeXHTML is also available for the Java platform. (different feature set)

 

 

scrooge_portrait_logo_2016.png

Edited by mjustin

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×