THTMLWriter class
HTML implementation of formatting writer
Declaration
THTMLWriter = class(TFormattingWriter)Inheritance
- THTMLWriter
- TFormattingWriter
Description
THTMLWriter is a concrete implementation of
TFormattingWriter that generates HTML output.
It implements all formatting methods to produce valid HTML markup including document structure, text formatting, tables, lists, and HTML forms.
The class properly escapes HTML special characters and generates standard HTML tags.
See also
- TFormattingWriter
- ListTags
Methods
Create | public | Creates a new HTML writer instance |
TagStart | public | Writes an opening HTML tag with optional attributes |
TagEnd | public | Writes a closing HTML tag |
EscapeText | public | Escapes HTML special characters |
DocumentStart | public | Begins an HTML document |
DocumentEnd | public | Ends the HTML document |
HeaderStart | public | Begins HTML header tag at specified level |
HeaderEnd | public | Ends HTML header tag at specified level |
ParagraphStart | public | Begins HTML paragraph tag |
ParagraphEnd | public | Ends HTML paragraph tag |
LineBreak | public | Inserts HTML line break tag |
Rule | public | Inserts HTML horizontal rule tag |
BoldStart | public | Begins HTML bold formatting |
BoldEnd | public | Ends HTML bold formatting |
ItalicStart | public | Begins HTML italic formatting |
ItalicEnd | public | Ends HTML italic formatting |
UnderlineStart | public | Begins HTML underline formatting |
UnderlineEnd | public | Ends HTML underline formatting |
PreformatStart | public | Begins HTML preformatted text block |
PreformatEnd | public | Ends HTML preformatted text block |
TableStart | public | Begins HTML table with optional border |
TableEnd | public | Ends HTML table |
RowStart | public | Begins HTML table row |
RowEnd | public | Ends HTML table row |
CellStart | public | Begins HTML table cell |
CellEnd | public | Ends HTML table cell |
HeaderCellStart | public | Begins HTML table header cell |
HeaderCellEnd | public | Ends HTML table header cell |
ListStart | public | Begins HTML list of specified type |
ListEnd | public | Ends HTML list of specified type |
ListItemStart | public | Begins HTML list item |
ListItemEnd | public | Ends HTML list item |
DefinitionItem | public | Creates HTML definition list item |
FormStart | public | Begins HTML form with action and method |
FormEnd | public | Ends HTML form |
EmitInput | public | Emits HTML input field |
EmitPasswordInput | public | Emits HTML password input field |
EmitCheckBox | public | Emits HTML checkbox input |
EmitRadioButton | public | Emits HTML radio button input |
EmitArea | public | Emits HTML textarea for multi-line input |
EmitComboBox | public | Emits HTML select dropdown list |
EmitButton | public | Emits HTML button input |
EmitSubmitButton | public | Emits HTML submit button |
EmitResetButton | public | Emits HTML reset button |
EmitHiddenVar | public | Emits HTML hidden input field |
Inherited
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
