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

unit for the TSxWriter class More...

Inheritance diagram for TSxWriter:
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
 

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...
 
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

TParagraphAlignment TSxWriter::Alignment

Paragraph alignment property.

See Also
SetAlignment For writing

Referenced by ResetParagraphAttributes().

string TSxWriter::DefaultFontName

default font name property

See Also
GetDefaultFontName For reading
SetDefaultFontName For writing
TDirection TSxWriter::Direction
See Also
SetDirection For writing
TCharset TSxWriter::DocCharset

the character set used in the document

See Also
GetDocCharset For reading
SetDocCharset For writing

Referenced by ResetCharacterAttributes(), and TSxWriter().

ISimpleDomDocument TSxWriter::DomDocument

the output document structure

See Also
GetDomDocument For reading
SetDomDocument For writing

Referenced by AddChar(), StoreParagraphProperties(), StoreTextProperties(), and TSxWriter().

Integer TSxWriter::FirstIndent

first indent property

See Also
SetFirstIndent For writing

Referenced by ResetParagraphAttributes().

string TSxWriter::FontBGColor

font background color property

See Also
SetFontBGColor For writing

Referenced by ResetCharacterAttributes().

TCharset TSxWriter::FontCharSet

font character set property

See Also
SetFontCharSet For writing
string TSxWriter::FontColor

font color property

See Also
SetFontColor For writing

Referenced by ResetCharacterAttributes().

string TSxWriter::FontHLColor

font highlight color property

See Also
SetFontHLColor For writing

Referenced by ResetCharacterAttributes().

string TSxWriter::FontName

font name property

See Also
SetFontName For writing

Referenced by ResetCharacterAttributes().

Integer TSxWriter::FontSize

font size property

See Also
SetFontSize For writing

Referenced by ResetCharacterAttributes().

TFontstyles TSxWriter::FontStyle

font style property

See Also
GetFontStyle For reading
SetFontStyle For writing

Referenced by ResetCharacterAttributes().

Boolean TSxWriter::IsHidden

font hidden property

See Also
GetHidden For reading
SetHidden For writing

Referenced by AddChar(), and ResetCharacterAttributes().

string TSxWriter::Language

Langauge property.

See Also
SetLanguage For writing
Integer TSxWriter::LeftIndent

left indent property

See Also
SetLeftIndent For writing

Referenced by ResetParagraphAttributes().

TNumberingLevel TSxWriter::NumberingLevel

Paragraph numbering level property.

See Also
GetNumberingLevel For reading
SetNumberingLevel For writing

Referenced by ResetParagraphAttributes().

Boolean TSxWriter::NumberingStyle

Paragraph numbering style property.

See Also
GetNumberingStyle For reading
SetNumberingStyle For writing

Referenced by ResetParagraphAttributes().

TDirection TSxWriter::ParDirection

Paragraph text direction property.

See Also
SetParDirection For writing
Integer TSxWriter::RightIndent

right indent property

See Also
SetRightIndent For writing

Referenced by ResetParagraphAttributes().

boolean TSxWriter::Subscript

subscript property

See Also
GetSubscript For reading
SetSubscript For writing

Referenced by ResetCharacterAttributes().

boolean TSxWriter::Superscript

superscript property

See Also
GetSuperscript For reading
SetSuperscript For writing

Referenced by ResetCharacterAttributes().