ScroogeXHTML for Delphi  6.8
 All Classes Functions Variables Pages
TSxReader Class Reference

main reader and writer routine More...

Inheritance diagram for TSxReader:
ISxReader

Public Member Functions

 PushRTFState ()
 save the current reader state
 
 PopRTFState ()
 restore the last reader state
 
 FinishColorTableEntry ()
 add a color (RGB-value) to the color table
 
 FinishFontTable ()
 replace fonts and set the default font name
 
string GetFontNameByNr (const Integer FontNr)
 get a font name using its number as key
 
TCharset GetFontCharSetByNr (const Integer FontNr)
 get a font character set using its number as key
 
 SetProperty (const TRTFProperty Prop, const Int64 Value)
 change a property to a new value
 
 SetDestination (const TRTFDestination Value)
 change the destination
 
 SetSkipUnknownDestination (const boolean Value)
 change the 'skip unknown destination' flag
 
 TSxReader (const TSxBase AOwner, const ISxWriter AWriter)
 create a new instance of a TSxReader
 
 ~TSxReader ()
 destroy the TSxReader
 
 ConvertRTFToHTML (const RawByteString RTFsource)
 the main converter procedure
 

Public Attributes

boolean strict
 
TRTFDestination FDestination
 
TSxBase Converter
 
ISxWriter Writer
 
Integer GroupLevel
 
Int64 BinByteCount
 
Int64 ParamVal
 
TInternalState IntState
 
Integer DefaultFontNr
 
TStrings ColorTable
 
TStrings FontTable
 
TStrings Stack
 
Integer RTFLength
 
Integer CurFontNr
 
string CurFontName
 
TFontFamily CurFontFamily
 
Integer CurFontCSet
 
Integer Red
 
Integer UnicodeSkip
 
Integer CurrUniSkip
 
Integer PictNibble
 
string PictHex
 
string Anchor
 
string FieldExpression
 
TRTFDestination Destination
 the current Destination More...
 
boolean SkipUnknownDestination
 the 'skip unknown destination' flag More...
 

Detailed Description

main reader and writer routine

This class reads the RTF input and sends the property changes to an instance of TSxWriter.

See also
TSxWriter

Member Data Documentation

TRTFDestination TSxReader::Destination

the current Destination

See also
FDestination For reading
SetDestination For writing
boolean TSxReader::SkipUnknownDestination

the 'skip unknown destination' flag

See also
FSkipUnkDest For reading
SetSkipUnknownDestination For writing