ScroogeXHTML for Object Pascal 9.3
Loading...
Searching...
No Matches
TSxWriter Class Reference

Class which writes text and properties to a TSimpleDomDocument instance. More...

Inheritance diagram for TSxWriter:
ISxWriter

Public Member Functions

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

Public Attributes

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

Detailed Description

Class which writes text and properties to a TSimpleDomDocument instance.

Constructor & Destructor Documentation

◆ TSxWriter()

TSxWriter::TSxWriter ( const ISxWriterOptions Owner)

get a new SxWriter instance

◆ ~TSxWriter()

TSxWriter::~TSxWriter ( )

destroy the SxWriter instance

Member Function Documentation

◆ AddChar()

TSxWriter::AddChar ( const AnsiChar Ch)

add a character to the output document

Implements ISxWriter.

◆ AddLinebreak()

TSxWriter::AddLinebreak ( const string Tag)

Implements ISxWriter.

◆ CloneCharacterProperties()

TCharacterProperties TSxWriter::CloneCharacterProperties ( )

get a clone of all paragraph properties

Implements ISxWriter.

◆ CloneParagraphProperties()

TSxWriter::CloneParagraphProperties ( )

Get a clone of all paragraph properties.

Implements ISxWriter.

◆ ResetCharacterAttributes()

TSxWriter::ResetCharacterAttributes ( )

set all character attributes to default values

Implements ISxWriter.

◆ ResetParagraphAttributes()

TSxWriter::ResetParagraphAttributes ( )

set all paragraph properties to default values

Implements ISxWriter.

◆ SetAnchor()

TSxWriter::SetAnchor ( const string Value)

set the anchor

Implements ISxWriter.

◆ SetCharacterProperties()

TSxWriter::SetCharacterProperties ( const TCharacterProperties Value)

set all character properties

Implements ISxWriter.

◆ SetFieldExpression()

TSxWriter::SetFieldExpression ( const string Value)

set the field expression

Implements ISxWriter.

◆ SetParagraphProperties()

TSxWriter::SetParagraphProperties ( const TParagraphProperties Value)

set all paragraph properties

Implements ISxWriter.

◆ StoreTextProperties()

TSxWriter::StoreTextProperties ( )

save all current text properties in the current TTextNode object

Implements ISxWriter.

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

◆ Hidden

Boolean TSxWriter::Hidden

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

◆ Numbered

Boolean TSxWriter::Numbered

Paragraph numbering style property.

See also
GetNumbered For reading
SetNumbered For writing

◆ NumberingLevel

TNumberingLevel TSxWriter::NumberingLevel

Paragraph numbering level property.

See also
GetNumberingLevel For reading
SetNumberingLevel 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