ScroogeXHTML for Delphi  6.7
 All Classes Functions Variables Pages
TSxFormatter Class Reference

A text formatter for HTML and XHTML output beautification. More...

Inheritance diagram for TSxFormatter:
ISxFormatter

Public Member Functions

string Add (const string Text)
 Add.
 
string Indent (const string Text)
 Indent. More...
 
string UnIndent (const string Text)
 UnIndent. More...
 
string GetIndent (const Integer Level)
 GetIndent.
 
string GetIndent ()
 GetIndent.
 

Public Attributes

Integer IndentLevel
 
string NewLine
 
string Spaces
 

Detailed Description

A text formatter for HTML and XHTML output beautification.

Member Function Documentation

string TSxFormatter::Indent ( const string  Text)

Indent.

Indent text.

References Add().

string TSxFormatter::UnIndent ( const string  Text)

UnIndent.

Un-Indent text.

References Add().

Member Data Documentation

Integer TSxFormatter::IndentLevel
See Also
GetIndentLevel For reading
SetIndentLevel For writing
string TSxFormatter::NewLine
See Also
GetNewLine For reading
SetNewLine For writing
string TSxFormatter::Spaces
See Also
GetSpaces For reading
SetSpaces For writing