(3.0.9.1 - March 27th, 2009)


Manual for HTML-to-RTF Pro DLL .Net
- pure C# component to convert HTML to Word, HTML to DOC, HTML to RTF, HTML to Text. Works with strings and files.
  about | methods and properties | code samples | html samples | faq | order and pricing | support and contacts
About HTML-to-RTF Pro DLL component .Net version

The HTML-to-RTF Pro DLL component converts HTML and ASP documents into good-looking RTF with tables, images and CSS or transform tables to simple text. An output rtf file is smaller than input HTML.
The DLL component doesn't require Microsoft Word or any other word-processors. The .Net version represents SautinSoft.HtmlToRtf.dll, created with only managed C#. Developers can work with our component in C#, VB.Net, ASP.Net etc. See code samples.

The Win32 API DLL and COM you can find here.

Component able to work with HTML strings and files. See properties and methods description.

The HTML-to-RTF Pro DLL .Net is completely standalone and supports:

- has 4 methods:
- ConvertFile() - converts HTML file into DOC, RTF or Text file
- ConvertString() - converts HTML string to DOC, RTF or Text string
- ConvertFileToString() - converts HTML file to DOC, RTF or Text string
- ConvertStringToFile() - converts HTML string to DOC, RTF or Text file

- converts remote HTML documents;
- converts images
(.gif, .jpg, .bmp and .png);
- converts remote http:// images;
- tables;
- nested tables;
- CSS styles;
- hyperlinks;
- font face, color, size;
- page alignment;
- bold, italic and underline, strike text;
- special characters;
- automatic encoding select (UTF-8, Windows-1251, etc..);
- select page size (A4, B5, Letter...);
- select page orientation (Landscape or Portrait);
- select page margins;
- It supports all HTML tags and special characters, such as   & &lt, � - ÿ 	 - я etc.

The .Net assembly is written on programming language C# and works on all Windows versions. (2000/XP/2003/Vista). The HTML-to-RTF Pro .Net is absolutely standalone and requires only .Net 1.1 or higher installed.

The component's size is about only 300 Kb, but speed of converting is: (for average 70 kb HTML)

- 2 web-pages/per second for RTF mode with nested tables and images;
- 5 web-pages/per second for RTF mode with nested tables;
- 10 web-pages/per second for RTF mode with plain tables;
- 15 web-pages/per second for RTF mode;
- 17 web-pages/per second for TXT mode;

These CSS styles are suppoted now:

font-family: width:
color: text-decoration:
font-weight: vertical-align:
font-size: page-break-before:
text-align: page-break-aftrer:
font-style: list-style-type:
background-color: margin-bottom:
font: margin-top:
top: margin-left:
left: margin-right:
  text-indent:

You may adjust the component and output RTF file will look as you wish, see component's properties .

Version histotry:

Version 3.0.9.1 (March 27th, 2009)

What's new:

  • Added support of UTF-16 encoding;
  • Improved HTML tables converting;

Version 3.0.8.16 (December 16th, 2008)

What's new:

  • Improved image converting algorithm, now produced RTF/DOC files with images light in 10%;
  • Fixed issue in converting of nested bullets and lists.

Version 3.0.8.12 (November 30th, 2009)

What's new:

  • fixed processing of CSS styles 'margin-top:' and 'margin-bottom:';
  • improved support of CSS for hyperlinks.

Version 3.0.8 (November 15th, 2008)

What's new:

  • added support of UNC paths inside <img ..> tags;
  • fixed issue with roman and alphabetic numbered lists;
  • now tags <h1>, <h2> ... will bemarked as header 1, header 2 in MS Word;
  • fixed minor issues.

Version 3.0.7 (September 30th, 2008)

What's new:

  • added support of new CSS styles: 'text-indent:' and 'margin:';
  • fixed issues with multiple bullets and numbering;
  • fixed minor issues with paragraphs and text indents;
  • impoved engine for table converting.

Version 3.0.0 (May 25th, 2008)

The component got a new converting engine. This made conversion much accurate, especially text formatting and supporting CSS styles.

What's new:

  • new engine, improved text formatting bold, italic, strike, underline, supporting CSS;
  • ability to download and convert remote HTML documents and images;
  • perfect working with text indents, margins and line spacing.

Version 2.0.0 (May 31st, 2007)
We released completely C# managed version.

Version 1.8.1 (April 12th, 2007)
Added:
- Converting remote images and HTML files which refer from "http://"
- New properties:
- 'DeleteImages'
- 'DeleteTables'
- 'TableCellPadding'
- 'PreserveHttpImages'
- 'BaseURL'
- New conversion mode HTML to HTML, you can specify component to deleting tables or images or transfer HTML tables to HTML text.

All these properties help you to adjust component that output file looks as you wish. These properties are described in documentation -> Methods and properties.

Version 1.8 (build January 18th, 2007)

Added:
- support of image conversion into two methods ConvertString() and ConvertFileToString().
Now all methods support HTML converting with images.

Fixed:
- visble/invisible borders for nested tables.

Version 1.7 (build November 7th, 2006)

Added:
- methods ConvertFileToString() and ConvertStringToFile();
- two new css-styles: 'list-style-type' and 'margin-bottom';
- new members to debug component: CreateTraceFile and TraceFilePath.

Version 1.6 (build February 21st, 2006)

Version 1.5 (build October 3, 2005)

Version 1.4 (build June 17, 2005)

Added:
- support new languages: Japanese, Chinese, Thai and Korean;
- new features for page numbers;
Fixed:
- bug with image conversion;

Version 1.3 (build March 21, 2005)

Added:
- Turkish, Arabic encoding;
- member 'ImageCompatibles', you may select image type which will procuded by DLL, compatible for MS Word (wmf, jpeg, png) or for WordPad (bitmap format).
- Page numbers;
- Headers and Footers;

Fixed:
- working with CSS was improved;

Version 1.2 (build January 20, 2005)

Added:
- UTF encoding;
- CSS;
- new method Convert() - for working with strings;
- page sizes: Letter, Legal, Executive and Monarch;
- background colors;

Fixed:
- working with complex tables;
- support attributes rowspan and colspan;


Version 1.1 (build August 5, 2004) - released HTML-to-RTF DLL and HTML-to-RTF Pro DLL, we added many new features:

- method ConvertFile();
- converting images (gif, jpg and png);
- support nested tables;
- select page size (A4, B5,...);
- select page orientation (Landscape or Portrait);
- selecting page margins;

Fixed:

- working with colspan and rowspan attributes in tables.

Version 1.01 (build June 2, 2004) - this is the first COM version of HTML-to-RTF DLL.

Version 1.0 (build February, 12 2004 ) - we released HTML-to-RTF DLL.

Gratitude

We thank to George Hayes (George@bcisolutions.com) for the huge help in creation ActiveX/COM version. We estimate him as highly professional software developer.

© Copyright SautinSoft™ 2002 - 2009