ScroogeXHTML for Delphi  7.2
TSxWriter Class Reference

unit for the TSxWriter class More...

Inherits TInterfacedObject, and ISxWriter.

Public Member Functions

 TSxWriter (const ISxWriterOptions Owner)
 get a new ScroogeXHTMLWriter instance
 
 ~TSxWriter ()
 destroy the ScroogeXHTMLWriter instance
 
 AddChar (const AnsiChar Ch)
 add a character to the output document
 
 StoreTextProperties ()
 save all current text properties in the current ScroogeXHTMLDocText object
 
 StoreParagraphProperties ()
 save all current paragraph properties in the current ScroogeXHTMLDocParagraph object
 
 ResetCharacterAttributes ()
 set all character attributes to default values
 
 SetCharacterProperties (const TCharacterProperties Value)
 set all character properties
 
 ResetParagraphAttributes ()
 set all paragraph properties to default values
 
TCharacterProperties CloneCharacterProperties ()
 get a clone of all paragraph properties
 
TParagraphProperties CloneParagraphProperties ()
 Get a clone of all paragraph properties.
 
 SetParagraphProperties (const TParagraphProperties Value)
 set all paragraph properties
 
 SetAnchor (const string Value)
 set the anchor
 
 SetFieldExpression (const string Value)
 set the field expression
 

Public Attributes

string DefaultFontName
 default font name property More...
 
TDirection Direction
 
string FontBGColor
 font background color property More...
 
string FontHLColor
 font highlight color property More...
 
string FontColor
 font color property More...
 
string FontName
 font name property More...
 
TCharset FontCharSet
 font character set property More...
 
TFontstyles FontStyle
 font style property More...
 
Integer FontSize
 font size property More...
 
Boolean IsHidden
 font hidden property More...
 
boolean Subscript
 subscript property More...
 
boolean Superscript
 superscript property More...
 
TNumberingLevel NumberingLevel
 Paragraph numbering level property. More...
 
Boolean NumberingStyle
 Paragraph numbering style property. More...
 
TParagraphAlignment Alignment
 Paragraph alignment property. More...
 
TDirection ParDirection
 Paragraph text direction property. More...
 
string Language
 Langauge property. More...
 
Integer LeftIndent
 left indent property More...
 
Integer RightIndent
 right indent property More...
 
Integer FirstIndent
 first indent property More...
 
Integer SpaceBefore
 
Integer SpaceAfter
 
string BGColor
 
Boolean ParagraphBorder
 
TCharset DocCharset
 the character set used in the document More...
 
ISimpleDomDocument DomDocument
 the output document structure More...
 

Detailed Description

unit for the TSxWriter class

Class which writes text and properties to a TSimpleDomDocument instance.

Member Data Documentation

◆ Alignment

TParagraphAlignment TSxWriter::Alignment

Paragraph alignment property.

See also
SetAlignment For writing

◆ BGColor

string TSxWriter::BGColor
See also
SetBGColor For writing

◆ DefaultFontName

string TSxWriter::DefaultFontName

default font name property

See also
GetDefaultFontName For reading
SetDefaultFontName For writing

◆ Direction

TDirection TSxWriter::Direction
See also
SetDirection For writing

◆ DocCharset

TCharset TSxWriter::DocCharset

the character set used in the document

See also
GetDocCharset For reading
SetDocCharset For writing

◆ DomDocument

ISimpleDomDocument TSxWriter::DomDocument

the output document structure

See also
GetDomDocument For reading
SetDomDocument For writing

◆ FirstIndent

Integer TSxWriter::FirstIndent

first indent property

See also
SetFirstIndent For writing

◆ FontBGColor

string TSxWriter::FontBGColor

font background color property

See also
SetFontBGColor For writing

◆ FontCharSet

TCharset TSxWriter::FontCharSet

font character set property

See also
SetFontCharSet For writing

◆ FontColor

string TSxWriter::FontColor

font color property

See also
SetFontColor For writing

◆ FontHLColor

string TSxWriter::FontHLColor

font highlight color property

See also
SetFontHLColor For writing

◆ FontName

string TSxWriter::FontName

font name property

See also
SetFontName For writing

◆ FontSize

Integer TSxWriter::FontSize

font size property

See also
SetFontSize For writing

◆ FontStyle

TFontstyles TSxWriter::FontStyle

font style property

See also
GetFontStyle For reading
SetFontStyle For writing

◆ IsHidden

Boolean TSxWriter::IsHidden

font hidden property

See also
GetHidden For reading
SetHidden For writing

◆ Language

string TSxWriter::Language

Langauge property.

See also
SetLanguage For writing

◆ LeftIndent

Integer TSxWriter::LeftIndent

left indent property

See also
SetLeftIndent For writing

◆ NumberingLevel

TNumberingLevel TSxWriter::NumberingLevel

Paragraph numbering level property.

See also
GetNumberingLevel For reading
SetNumberingLevel For writing

◆ NumberingStyle

Boolean TSxWriter::NumberingStyle

Paragraph numbering style property.

See also
GetNumberingStyle For reading
SetNumberingStyle For writing

◆ ParagraphBorder

Boolean TSxWriter::ParagraphBorder
See also
SetParagraphBorder For writing

◆ ParDirection

TDirection TSxWriter::ParDirection

Paragraph text direction property.

See also
SetParDirection For writing

◆ RightIndent

Integer TSxWriter::RightIndent

right indent property

See also
SetRightIndent For writing

◆ SpaceAfter

Integer TSxWriter::SpaceAfter
See also
SetSpaceAfter For writing

◆ SpaceBefore

Integer TSxWriter::SpaceBefore
See also
SetSpaceBefore For writing

◆ Subscript

boolean TSxWriter::Subscript

subscript property

See also
GetSubscript For reading
SetSubscript For writing

◆ Superscript

boolean TSxWriter::Superscript

superscript property

See also
GetSuperscript For reading
SetSuperscript For writing