JVCL Help:TJvStringListToHtml

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

TJvStringListToHtml
run\JvStringListToHtml.pas


Summary

Converts a plain string list to a HTML formatted equivalent.

run\JvStringListToHtml.pas


Pascal

 run\JvStringListToHtml.pas
 TJvStringListToHtml = class(TJvComponent);


Description

  1. JVCLInfo

Use TJvStringListToHtml to simplify the creation of a HTML document from a string list. At design-time, use the property editor from Strings to change th content of the string list. You can then read the formatted strings from the HTML property. At run-time you can call the ConvertToHtml and the ConvertToHTMLStrings methods to perform the conversion on any arbitrary TStrings instance. Use HTMLTitle, HTMLLineBreak and IncludeHeader to modify the HTML inserted into the string list.
The structure of the generated HTML looks like this: <HTML>
<HEAD>

 <TITLE>HTMLTitle</TITLE>

</HEAD>
<BODY>

Strings[0] + HTMLLineBreak
Strings[1] + HTMLLineBreak
Strings[2] + HTMLLineBreak
...
Strings[n] + HTMLLineBreak

</BODY>
</HTML>
If IncludeHeader is false, only the Strings[] + HTMLLineBreak lines are included in the result.

run\JvStringListToHtml.pas


About

Navigation

run\JvStringListToHtml.pas



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