ScroogeXHTML for the Java™ platform example source code

Habarisoft released source code examples for its RTF to HTML/XHTML converter library, ScroogeXHTML for the Java™ platform. The download archive includes projects for the 4.6 and 5.0 releases.

Included examples

  • tutorial source code from Getting Started PDF (new in 1.0.4)
  • CSS based document size optimization
  • extraction of embedded pictures
  • hyperlink field conversion
  • table conversion (experimental feature)
  • slf4j logging

Continue reading

ScroogeXHTML for the Java™ platform: “Getting Started” guide (draft)

A first draft of the new “Getting Started” Guide (PDF) for the RTF to HTML/XHTML converter library ScroogeXHTML for the Java™ platform version is now available. Note that the PDF uses the root package of the new 5.0 version, com.habarisoft.

Continue reading

ScroogeXHTML for the Java™ platform 4.6 – fast RTF to HTML/XHTML converter

Habarisoft released its RTF to HTML/XHTML converter library, ScroogeXHTML for the Java™ platform, version 4.6.

Release Notes:

  • Fixed image sizing error in the WMF picture helper class WMFPictureHelper
  • Fixed support for special characters
  • Improved support for field conversion

Continue reading

ScroogeXHTML for the Java™ platform feature matrix

A feature matrix for the ScroogeXHTML RTF to HTML and XHTML converter library is now included on the product home page

It shows the RTF elements which are supported in the current release version 4.5 and in the upcoming 5.0 release. Please note that the 5.0 release is currently in an early development stage. Version 4.5 is still the official (shipping) version.

Test your Delphi knowledge: Exception handling

With this code, what will happen:

program FunWithDelphi;


  Controls, SysUtils;

    raise TMouse.Create;
    on E:Exception do
      Writeln(E.Classname, ': E is Exception');
    on E:TObject do
      Writeln(E.Classname, ': E is TObject');
    on E:TMouse do
      Writeln(E.Classname, ': E is TMouse');
  • the program will print “TMouse: E is Exception”
  • the program will print “TMouse: E is TObject”
  • the program will print “TMouse: E is TMouse”
  • compilation fails
  • the program will terminate with a runtime error

Continue reading

RabbitMQ 3.5.0 free open source message broker released

The RabbitMQ team announced the release of RabbitMQ 3.5.0. This release adds support for priority queues which were available as a plugin before. Performance is improved; in particular messages smaller than configurable size are embedded in the queue index to reduce I/O and memory consumption. Stability of clustering and autoheal partition handling is improved as well. A new pause_if_all_down partition handling mode is added. The management web UI now shows many more I/O statistics. Binary and source distributions of the new release can be found on the download page.

For application integration in Delphi and Free Pascal, Habarisoft offers a commercial client library for RabbitMQ 3.4.0 and newer.

ScroogeXHTML 6.8 – fast RTF to HTML / XHTML converter

Habarisoft is pleased to announce the release of ScroogeXHTML 6.8, a fast RTF to HTML / XHTML converter library for Delphi and Free Pascal.

A off-line demo version, the “Getting Started” guide (PDF) and the complete API documentation are available.

An interactive on-line demo is available for ScroogeXHTML for the Java™ platform. (Please be aware that RTF table conversion is still experimental in the on-line demo and not available for Delphi yet).

 Release notes

  • Added ConvertFields property for field expressions (default False)
  • Added Hyperlink field support class TLinkURIBuilder
  • Added HTML Anchor support
  • Added unit SxConst which declares margins (configurable with SCROOGE_NO_INDENT option)
  • Documentation generated with doxygen 1.8.8
  • Use strict private scope where possible
  • Changed THyperlinkEvent signature to procedure(Sender: TObject; const TextElement: ISimpleDomTextNode) of object
  • Moved TRichEdit conversion to separate class TBTScroogeXHTMLVCL
  • Added HTTPS as protocol for RequireHTTP hyperlink option
  • Removed unused hyperlink option hyHyperlinkFootnotes
  • Tested with Free Pascal 2.6.4
  • Web demo built with Indy 10.6.2