Sign in Join
FPDoc Onlineexperiment

THTMLWriter class

In unit WHtml

HTML implementation of formatting writer

Declaration

pascal
THTMLWriter = class(TFormattingWriter)

Inheritance

  1. THTMLWriter
  2. 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

Methods

CreatepublicCreates a new HTML writer instance
TagStartpublicWrites an opening HTML tag with optional attributes
TagEndpublicWrites a closing HTML tag
EscapeTextpublicEscapes HTML special characters
DocumentStartpublicBegins an HTML document
DocumentEndpublicEnds the HTML document
HeaderStartpublicBegins HTML header tag at specified level
HeaderEndpublicEnds HTML header tag at specified level
ParagraphStartpublicBegins HTML paragraph tag
ParagraphEndpublicEnds HTML paragraph tag
LineBreakpublicInserts HTML line break tag
RulepublicInserts HTML horizontal rule tag
BoldStartpublicBegins HTML bold formatting
BoldEndpublicEnds HTML bold formatting
ItalicStartpublicBegins HTML italic formatting
ItalicEndpublicEnds HTML italic formatting
UnderlineStartpublicBegins HTML underline formatting
UnderlineEndpublicEnds HTML underline formatting
PreformatStartpublicBegins HTML preformatted text block
PreformatEndpublicEnds HTML preformatted text block
TableStartpublicBegins HTML table with optional border
TableEndpublicEnds HTML table
RowStartpublicBegins HTML table row
RowEndpublicEnds HTML table row
CellStartpublicBegins HTML table cell
CellEndpublicEnds HTML table cell
HeaderCellStartpublicBegins HTML table header cell
HeaderCellEndpublicEnds HTML table header cell
ListStartpublicBegins HTML list of specified type
ListEndpublicEnds HTML list of specified type
ListItemStartpublicBegins HTML list item
ListItemEndpublicEnds HTML list item
DefinitionItempublicCreates HTML definition list item
FormStartpublicBegins HTML form with action and method
FormEndpublicEnds HTML form
EmitInputpublicEmits HTML input field
EmitPasswordInputpublicEmits HTML password input field
EmitCheckBoxpublicEmits HTML checkbox input
EmitRadioButtonpublicEmits HTML radio button input
EmitAreapublicEmits HTML textarea for multi-line input
EmitComboBoxpublicEmits HTML select dropdown list
EmitButtonpublicEmits HTML button input
EmitSubmitButtonpublicEmits HTML submit button
EmitResetButtonpublicEmits HTML reset button
EmitHiddenVarpublicEmits HTML hidden input field

Inherited

From TFormattingWriter (11)

CellNext Dump DumpLn Header HeaderCellNext ListItem RowNext Stream Write WriteFmt WriteList

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.