JVCL Help:TJvRichEditToHtml
JVCL Help: TJvRichEditToHtml Class
Search in JVCL Help
Search in all projectsClass Hierarchy
TJvRichEditToHtml
run\JvRichEditToHtml.pas
Summary
Converts the contents of a rich edit control to HTML.
Pascal
run\JvRichEditToHtml.pas
TJvRichEditToHtml = class(TJvComponent);
Description
- JVCLInfo
TJvRichEditToHtml is a TJvComponent used to convert the content in a rich edit control to HTML. TJvRichEditToHtml provides methods and properties needed to control converting the RTF-based content of a TRichEdit or TJvRichEdit component to HTML.
Use ConvertToHtml to store the converted RTF content for the rich edit control to a specified file name.
Use ConvertToHtmlStrings to store the HTML converted from the RTF content for the rich edit control to a TStrings instance passed as a parameter to the method.
Use Header and Footer to control the HTML tags prior to and following the generated HTML when converting the RTF content for the rich edit control.
Use the Title property to set the value used in the HTML <TITLE> tag when converting the RTF content for the rich edit control.
TJvRichEditToHtml detects changes to font and paragraph attributes in the RTF content for the specified rich edit control, and converts the RTF markup to the equivalent HTML markup.
RTF font attributes handled by TJvRichEditToHtml include:
- Font Family (or Face)
- Size
- Color
RTF paragraph attributes handled by TJvRichEditToHtml include:
- Alignment
- Numbering
- Bullets
- Bold
- Italic
- Strikeout
- Underline
Please note that TJvRichEditToHtml does not attempt to convert tabs, tables, images, or other advanced RTF markup instructions.
See Also
TJvRichEditToHtml.Title, TJvRichEditToHtml.Header, TJvRichEditToHtml.Footer, TJvRichEditToHtml.ConvertToHtml, TJvRichEditToHtml.ConvertToHtmlStrings
About
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page