ScroogeXHTML for the Java platform is a library which can convert a subset of the Rich Text Format (RTF) standard to HTML5 and XHTML, as a complete document or only a fragment which may be embedded (inserted) in other documents.
It supports conversion of hyperlinks, simple tables, picture data extraction/data URI embedding, cascading style sheet (CSS) based document minimizing, and post processing/analysis of the intermediate DOM document.
ScroogeXHTML for the Java platform is easy to use and configure. It requires no external runtime libraries besides SLF4J (Simple Logging Facade for Java) and Java 7 SE.
The online demo converts uploaded RTF documents and displays them in your web browser. In case of unexpected conversion results, please contact Habarisoft customer support.
Version 7.2.0 | |
---|---|
❄ New | Added support for vertical alignment in table cells |
❄ New | Standalone XHTML documents begin with a XML declaration if the charset is not UTF-8 |
❄ New | Table conversion uses the class="table table-bordered" attribute (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". Applications which still require the border="1" attribute may enable it with setOutputProperty(ConversionKeys.USE_TABLE_BORDER_ATTRIBUTE, "yes"); |
❄ New | Removed the enclosing <!-- ... --> around the CSS code within the <style> element for standalone documents |
❄ New | Removed the attribute type="text/css" for the <style> element for standalone HTML5 documents. This fixes the W3C HTML validator warning: "The type attribute for the style element is not needed and should be omitted". |
❄ New | Changed BODY {... to lowercase body {... in auto-generated CSS code |
❄ New | The <style> element includes comments before auto-generated and custom styles |
✓ Fixed | Fixed Findbugs warnings for non-transient non-serializable instance fields in MemoryPictureAdapter and ListHeaderInfo class |
✓ Fixed | Fixed Findbugs warnings for reliance on default encoding in com.habarisoft.scroogexhtml.ScroogeXHTML.convert |
✓ Fixed | Fixed Findbugs warnings for casting and passing to ceil in com.habarisoft.scroogexhtml.converter.AbstractWriter.getFontSizeStyle |
✓ Fixed | Fixed Findbugs warnings for casting and passing to ceil in com.habarisoft.scroogexhtml.pictures.EmbeddedPicture.getHGoalPx and getWGoalPx |
✓ Fixed | Fixed Findbugs warnings with medium severity |
Technical Information |
|
---|---|
Version | 7.2.0 |
Released | 24 March 2018 |
Platform |
Java SE 7 |
Dependencies | Simple Logging Facade for Java (SLF4J) |
Size | ≈ 126 kB (Jar file) |
License |
|
---|---|
Redistribution | Free redistribution with your product in binary compiled single-user applications |
Server Deployment Licenses included | The price for a Developer License includes four Server Deployment Licenses. Single Developer Licenses and Server Deployment Licenses are explained here |
Updates |
|
---|---|
Included | Minor and major updates are included for one year after purchase |
Support |
|
---|---|
Bug reports | Bugs can be reported at cases@habarisoft.com |
Email support | Basic technical support is included for one year after purchase (Source edition) / 30 days after purchase (Binary edition) |
Need a password? Send account access inquiry
Account has expired? Account renewal inquiry
Jar edition | Source edition | |
Lifetime license | ✓ | ✓ |
Updates included for one year | ✓ | ✓ |
Free redistribution in single-user applications | ✓ | ✓ |
Server deployment licenses included | Four | Four |
Library source code included | - | ✓ |
Free basic support included | 30 days | One year |
Instant electronic delivery | ✓ | ✓ |
Single Developer / Server Deployment License explained | Buy now » | Buy now » |
Text properties | |
Bold/italic/underlined | ✓/✓/✓ |
Foreground/background/highlight color | ✓/✓/✓ |
Subscript/superscript | ✓/✓ |
Strikethrough/hidden | ✓/✓ |
LTR/RTL text | ✓/✓ |
Unicode/DBCS text | ✓/✓ |
Language attribute | ✓ |
Paragraph properties | |
Left/right/centered/justified alignment | ✓/✓/✓/✓ |
Left/right/first line indent | ✓/✓/✓ |
Background color | ✓ |
Border box | ✓ |
Space before/after | ✓/✓ |
Numbered/unnumbered lists | ✓/✓ ① |
Tabulators | replaced by a sequence of non breaking spaces |
Tables | |
Simple tables | ✓ |
Total width | ✓ |
Left margin | ✓ |
Column width | ✓ |
Horizontal cell merging | ✓ |
Cell background color | ✓ |
Row height | ✓ |
Simple border detection | ✓ |
Other content | |
Hyperlink fields | ✓ |
Bookmark fields | ✓ |
Footnotes | ✓ |
Document types | |
HTML5 | ✓ |
XHTML 1.0 Transactional | ✓ |
Optimization | |
CSS based document minimizer | ✓ |
Font substitution | ✓ |
Logging framework | |
SLF4J support | ✓ |
Java platform | |
Minimum version | Java SE 7 |
Dependencies | |
SLF4J | ✓ |
Advanced features | |
Picture data extraction | ✓ ② |
Data URI image embedding | ✓ ③ |
Post processing (XPath based) | ✓ |
Android platform | ✓ see Base64Utils API docs |
Experimental | |
List templates (RTF listtable section) | ✓
generates <ol>/<ul>/<li> elements but result quality varies between RTF writer applications |
Tests | |
JUnit tests | ✓ |
Other | |
Installer and uninstaller | ✓ |
① uses direct text formatting, does not generate <ol>/<ul>/<li> HTML elements ② conversion of image data to a web-safe format is not included ③ the included MemoryPictureAdapterBase64 supports embedding of PNG and JPG pictures |
Paragraph box borders and paragraph background colors are new features in version 6.5
Table cell background colors are supported since version 6.6
Acesis
Actiance
Adobe
Advocate Health Care
APT Business Solutions
Becton, Dickinson and Company
Canadian Natural Resources
Denim Group
e-vendo
Fatax
FOF
GE Medical Systems
Include Software
洁茹 牛
Mayo Foundation
Manuh Solutions
Micrologos Software Developer
NVISIA
NxGen Software
PAGU.at
PENTA college
Philips Medical Systems
ProClarity Corporation
QuadraMed Corporation
상호 정
Saxos Informatica
Scherer Software
Sigmalogic
TIP Technologies
YADA Systems