ScroogeXHTML for Delphi 6.17 released

ScroogeXHTML for Delphi is a library which can convert a subset of the RTF standard to XHTML and HTML5. It is compatible with Delphi 2009+ and Free Pascal 3.0.

Version 6.17 features improved support for the Symbol font, minor CSS fixes, and logging support for the DUnit test suite.

Home page, API, Getting Started PDF, full release notes and demo download: https://www.scroogexhtml.com/scroogexhtml_delphi.html

scrooge_portrait_logo_2016.png.html

ScroogeXHTML-LibreOffice-Example-HTML5

Advertisements

ScroogeXHTML for the Java™ platform 7.2.0

Habarisoft announces version 7.2.0 of its RTF to HTML5 and XHTML converter library, ScroogeXHTML for the Java™ platform.

Download

The installer for 7.2.0 is now available at https://www.habarisoft.com/scroogexhtml_j/download/release (Source edition) and https://www.habarisoft.com/scroogexhtml_j/download-jar/release (Jar edition), for registered users only.

API

The Javadoc API is included in the installer.

Getting Started PDF

The “Getting Started” PDF is included in the installer.

Changes in 7.2.0

  • Added support for vertical alignment in table cells
  • Changed table conversion to use the attribute class=”table table-bordered” (instead of border=”1″) to indicate that the table is bordered. This fixes the W3C HTML validator warning: “The border attribute on the table element is presentational markup”.
  • Added the XML declaration to XHTML documents if the charset is not UTF-8
  • Removed the attribute type=”text/css” for the style element (this fixes the W3C HTML validator warning: “The type attribute for the style element is not needed and should be omitted”)
  • Removed the enclosing comments around the CSS code within the style element for standalone documents
  • Files generated by unit tests include the lang=”en” attribute on the body element (to follow a W3C HTML validator recommendation)
  • Changed BODY {... to lowercase body {... in auto-generated CSS code
  • The <style> element includes comments before auto-generated and custom styles
  • Fixed Findbugs warnings
  • Documentation includes hints and recommendations about usage of cascading style sheete (CSS)

Table border formatting

Bordered tables will carry the class=”table table-bordered” attribute, which may be styled using CSS to your needs. For example, the following CSS definition will cause border style similar to the default HTML table border style with the attribute border=”1″

table.table-bordered {
border-width: 1px;
border-spacing: 2px;
border-style: outset;
border-color: gray;
border-collapse: separate;
background-color: white;
}

table.table-bordered td {
border-width: 1px;
padding: 1px;
border-style: inset;
border-color: gray;
background-color: white;
}

Java code to add the style sheet definition to the HTML document:

scrooge.setStyleSheetInclude(
"table.table-bordered {\n"
+ " border-width: 1px;\n"
+ " border-spacing: 2px;\n"
+ " border-style: outset;\n"
+ " border-color: gray;\n"
+ " border-collapse: separate;\n"
+ " background-color: white;\n"
+ "}\n"
+ "\n"
+ "table.table-bordered td {\n"
+ " border-width: 1px;\n"
+ " padding: 1px;\n"
+ " border-style: inset;\n"
+ " border-color: gray;\n"
+ " background-color: white;\n"
+ "}");

scrooge_portrait_logo_2016

 

ScroogeXHTML for the Java™ platform 7.2 Snapshot 2

Habarisoft announces the second snapshot for version 7.2 of its RTF to HTML5 and XHTML converter library, ScroogeXHTML for the Java™ platform.

Download

The installer for 7.2.0-SNAPSHOT is now available at https://www.habarisoft.com/scroogexhtml_j/download/release (Source edition) and https://www.habarisoft.com/scroogexhtml_j/download-jar/release (Jar edition), for registered users only.

API

The Javadoc API is included in the installer.

Getting Started PDF

The “Getting Started” PDF is included in the installer.

Changes in 7.2.0-SNAPSHOT

  • Added support for vertical alignment in table cells
  • Changed table conversion to use the attribute class=”table table-bordered” (instead of border=”1″) to indicate that the table is bordered. This fixes the W3C HTML validator warning: “The border attribute on the table element is presentational markup”.
  • Added the XML declaration to XHTML documents if the charset is not UTF-8
  • Removed the attribute type=”text/css” for the style element (this fixes the W3C HTML validator warning: “The type attribute for the style element is not needed and should be omitted”)
  • Removed the enclosing comments around the CSS code within the style element for standalone documents
  • Files generated by unit tests include the lang=”en” attribute on the body element (to follow a W3C HTML validator recommendation)
  • Changed BODY {... to lowercase body {... in auto-generated CSS code
  • The <style> element includes comments before auto-generated and custom styles
  • Fixed Findbugs warnings (with “high” priority)

Table border formatting

Bordered tables will carry the class=”table table-bordered” attribute, which may be styled using CSS to your needs. For example, the following CSS definition will cause border style similar to the default HTML table border style with the attribute border=”1″

table.table-bordered {
border-width: 1px;
border-spacing: 2px;
border-style: outset;
border-color: gray;
border-collapse: separate;
background-color: white;
}

table.table-bordered td {
border-width: 1px;
padding: 1px;
border-style: inset;
border-color: gray;
background-color: white;
}

Java code to add the style sheet definition to the HTML document:

scrooge.setStyleSheetInclude(
"table.table-bordered {\n"
+ " border-width: 1px;\n"
+ " border-spacing: 2px;\n"
+ " border-style: outset;\n"
+ " border-color: gray;\n"
+ " border-collapse: separate;\n"
+ " background-color: white;\n"
+ "}\n"
+ "\n"
+ "table.table-bordered td {\n"
+ " border-width: 1px;\n"
+ " padding: 1px;\n"
+ " border-style: inset;\n"
+ " border-color: gray;\n"
+ " background-color: white;\n"
+ "}");

scrooge_portrait_logo_2016

 

ScroogeXHTML for the Java™ platform 7.2 Snapshot 1

Habarisoft announces the first snapshot for version 7.2 of its RTF to HTML5 and XHTML converter library, ScroogeXHTML for the Java™ platform.

Download

The installer for 7.2.0-SNAPSHOT is now available at https://www.habarisoft.com/scroogexhtml_j/download/release (Source edition) and https://www.habarisoft.com/scroogexhtml_j/download-jar/release (Jar edition), for registered users only.

API

The Javadoc API is included in the installer.

Getting Started PDF

The “Getting Started” PDF is included in the installer.

Changes in 7.2.0-SNAPSHOT

  • Added support for vertical alignment in table cells
  • Changed table conversion to use the attribute class=”table table-bordered” (instead of border=”1″) to indicate that the table is bordered. This fixes the W3C HTML validator warning: “The border attribute on the table element is presentational markup”.
  • Added the XML declaration to XHTML documents if the charset is not UTF-8
  • Removed the attribute type=”text/css” for the style element (this fixes the W3C HTML validator warning: “The type attribute for the style element is not needed and should be omitted”)
  • Files generated by unit tests include the lang=”en” attribute on the body element (to follow a W3C HTML validator recommendation)

Table border formatting

Bordered tables will carry the class=”table table-bordered” attribute, which may be styled using CSS to your needs. For example, the following CSS definition will cause border style similar to the default HTML table border style with the attribute border=”1″

 table.table-bordered {
 border-width: 1px;
 border-spacing: 2px;
 border-style: outset;
 border-color: gray;
 border-collapse: separate;
 background-color: white;
}

table.table-bordered td {
 border-width: 1px;
 padding: 1px;
 border-style: inset;
 border-color: gray;
 background-color: white;
}

Java code to add the style sheet definition to the HTML document:

scrooge.setStyleSheetInclude(
"table.table-bordered {\n"
+ " border-width: 1px;\n"
+ " border-spacing: 2px;\n"
+ " border-style: outset;\n"
+ " border-color: gray;\n"
+ " border-collapse: separate;\n"
+ " background-color: white;\n"
+ "}\n"
+ "\n"
+ "table.table-bordered td {\n"
+ " border-width: 1px;\n"
+ " padding: 1px;\n"
+ " border-style: inset;\n"
+ " border-color: gray;\n"
+ " background-color: white;\n"
+ "}");

 

 

scrooge_portrait_logo_2016

 

ScroogeXHTML for the Java™ platform 7.1 released

Habarisoft announces version 7.1 of its RTF to HTML5 and XHTML converter library, ScroogeXHTML for the Java™ platform. The installer for version 7.1 is now available at https://www.habarisoft.com/scroogexhtml_j/download/release (Source edition) and https://www.habarisoft.com/scroogexhtml_j/download-jar/release (Jar edition), for registered users only. The Javadoc API is included in the installer and available on-line at https://www.habarisoft.com/scroogexhtml_j/7.1.0/docs/api/index.html.

Changes in 7.1

  • Added support for five character encodings, including MacRoman
  • Added support for non-breaking hyphen (RTF token \_)
  • Improved conversion of Symbol font.
  • As a side effect of enhanced symbol font conversion, bullet list conversion now (correctly) emits &amp;bullet; HTML entities instead of &amp;middot;
  • FIX: emit the HTML bullet character \u2022 or &amp;bullet; for RTF token ‘\bullet’ instead of &amp;middot;

Update discount available

Registered users may receive a discount of 30% or more if they extend expired update subscriptions until 28 February 2018. To receive your individual discount coupon code please contact Habarisoft by email.

scrooge_portrait_logo_2016