About HTML-to-RTF Pro DLL component |
The "HTML-to-RTF
Pro DLL" component converts HTML and ASP files into good-looking
RTF with tables or transform tables to text. An output rtf file is smaller than
input HTML.
The DLL doesn't require Microsoft Word or any other word-processors.
Our DLLs are COM components and developers can call it from
Visual Basic, C#, VB.Net,
Delphi, Java or other language.
See samples.
The Win32 DLL (non COM) version of DLL you can find here.
Component takes HTML string and returns RTF
string. The DLL can work with files and strings, it
takes HTML file and creates RTF file.See properties
and methods description.
The HTML-to-RTF (Pro) DLL
completely standalone and supports:
- has 4methods:
- Convert() - takes HTML string and returns RTF string
- ConvertFileToString()
- ConvertStringToFile()
- converts images (.gif, .jpg and .png)
- tables;
- nested tables;
- CSS;
- hyperlinks;
- font face, color, size;
- page alignment;
- bold, italic and underline 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 &
<, � - ÿ 	 - я etc.
Both DLLs are written on programming language
C++ and work on all versions Windows. (NT4/95/98/Me/2000/XP/2003).
The size of dll is very small about 190 Kb, but speed of converting is about:
- 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: | |
margin-top: | |
background-color: | |
font: | |
top: | |
left: |
You may adjust the components and output RTF file will look as you wish, see features.
Version histotry:
Version 1.7 (build November 7, 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.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.
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.