|
ScroogeXHTML for Object Pascal 9.5
|
This class reads the RTF input and sends the property changes to an instance of TSxWriter. More...
Public Member Functions | |
| TSxReader (const TSxBase AOwner, const ISxWriter AWriter) | |
| create a new instance of a TSxReader | |
| ~TSxReader () | |
| destroy the TSxReader | |
| BeforeEndGroup () | |
| ChangeDestination (TRTFDestination ADestination) | |
| ConvertRTFToHTML () | |
| ConvertRTFToHTML (const RawByteString RTF) | |
| the main converter procedure | |
| FinishColorTableEntry () | |
| add a color (RGB-value) to the color table | |
| FinishFontName () | |
| FinishFontTable () | |
| replace fonts and set the default font name | |
| TCharset | GetFontCharSetByNr (const Int64 FontNr) |
| get a font character set using its number as key | |
| string | GetFontNameByNr (const Int64 FontNr) |
| get a font name using its number as key | |
| AnsiChar | GetNextCharacter () |
| ParseCharacter (AnsiChar c) | |
| ParseRTFKeyword (Shortint &PreviewTextNibble) | |
| ParseSpecialKeyword (TRTFFunction RTFFnct) | |
| PopRTFState () | |
| restore the last reader state | |
| PrintCharacter (const AnsiChar Ch) | |
| PushRTFState () | |
| save the current reader state | |
| SetDestination (const TRTFDestination Value) | |
| change the destination | |
| SetParagraphNumberingProperty (const TRTFProperty Prop, const Int64 Value) | |
| SetProperty (const TRTFProperty Prop, const Int64 Value) | |
| change a property to a new value | |
| SetSkipUnknownDestination (const Boolean Value) | |
| change the 'skip unknown destination' flag | |
| SkipWord () | |
| TranslateKeyword (const string AToken, Int64 AParamValue, const Boolean hasParam) | |
| UndoGetNextCharacter () | |
Public Attributes | |
| string | Anchor |
| Int64 | BinByteCount |
| TStrings | ColorTable |
| TSxBase | Converter |
| Int64 | CurFontCSet |
| TFontFamily | CurFontFamily |
| string | CurFontName |
| Int64 | CurFontNr |
| Int64 | CurrUniSkip |
| Int64 | DefaultFontNr |
| TRTFDestination | Destination |
| the current Destination | |
| TRTFDestination | FDestination |
| string | FieldExpression |
| <, > TFontDescriptor | FontTable |
| TInternalState | IntState |
| TRTFDestination | LeavingDestination |
| AnsiChar | NextChar |
| Int64 | ParamVal |
| string | PictHex |
| Integer | PictNibble |
| Int64 | Red |
| Integer | RTFLength |
| RawByteString | RTFsource |
| Boolean | SkipPicture |
| Boolean | SkipUnknownDestination |
| the 'skip unknown destination' flag | |
| Integer | SourcePos |
| <> TObjectStack | Stack |
| Boolean | strict |
| IUnicodeConverter | UnicodeConverter |
| Int64 | UnicodeSkip |
| ISxWriter | Writer |
This class reads the RTF input and sends the property changes to an instance of TSxWriter.
create a new instance of a TSxReader
| TSxReader::~TSxReader | ( | ) |
destroy the TSxReader
| TSxReader::BeforeEndGroup | ( | ) |
| TSxReader::ChangeDestination | ( | TRTFDestination | ADestination | ) |
| TSxReader::ConvertRTFToHTML | ( | ) |
| TSxReader::ConvertRTFToHTML | ( | const RawByteString | RTF | ) |
the main converter procedure
Implements ISxReader.
| TSxReader::FinishColorTableEntry | ( | ) |
add a color (RGB-value) to the color table
| TSxReader::FinishFontName | ( | ) |
| TSxReader::FinishFontTable | ( | ) |
replace fonts and set the default font name
| TCharset TSxReader::GetFontCharSetByNr | ( | const Int64 | FontNr | ) |
get a font character set using its number as key
| string TSxReader::GetFontNameByNr | ( | const Int64 | FontNr | ) |
get a font name using its number as key
| AnsiChar TSxReader::GetNextCharacter | ( | ) |
| TSxReader::ParseCharacter | ( | AnsiChar | c | ) |
| TSxReader::ParseRTFKeyword | ( | Shortint & | PreviewTextNibble | ) |
| TSxReader::ParseSpecialKeyword | ( | TRTFFunction | RTFFnct | ) |
| TSxReader::PopRTFState | ( | ) |
restore the last reader state
| TSxReader::PrintCharacter | ( | const AnsiChar | Ch | ) |
| TSxReader::PushRTFState | ( | ) |
save the current reader state
| TSxReader::SetDestination | ( | const TRTFDestination | Value | ) |
change the destination
| TSxReader::SetParagraphNumberingProperty | ( | const TRTFProperty | Prop, |
| const Int64 | Value ) |
| TSxReader::SetProperty | ( | const TRTFProperty | Prop, |
| const Int64 | Value ) |
change a property to a new value
| TSxReader::SetSkipUnknownDestination | ( | const Boolean | Value | ) |
change the 'skip unknown destination' flag
| TSxReader::SkipWord | ( | ) |
| TSxReader::TranslateKeyword | ( | const string | AToken, |
| Int64 | AParamValue, | ||
| const Boolean | hasParam ) |
| TSxReader::UndoGetNextCharacter | ( | ) |
| string TSxReader::Anchor |
| Int64 TSxReader::BinByteCount |
| TStrings TSxReader::ColorTable |
| TSxBase TSxReader::Converter |
| Int64 TSxReader::CurFontCSet |
| TFontFamily TSxReader::CurFontFamily |
| string TSxReader::CurFontName |
| Int64 TSxReader::CurFontNr |
| Int64 TSxReader::CurrUniSkip |
| Int64 TSxReader::DefaultFontNr |
| TRTFDestination TSxReader::Destination |
the current Destination
| TRTFDestination TSxReader::FDestination |
| string TSxReader::FieldExpression |
| <, > TFontDescriptor TSxReader::FontTable |
| TInternalState TSxReader::IntState |
| TRTFDestination TSxReader::LeavingDestination |
| AnsiChar TSxReader::NextChar |
| Int64 TSxReader::ParamVal |
| string TSxReader::PictHex |
| Integer TSxReader::PictNibble |
| Int64 TSxReader::Red |
| Integer TSxReader::RTFLength |
| RawByteString TSxReader::RTFsource |
| Boolean TSxReader::SkipPicture |
| Boolean TSxReader::SkipUnknownDestination |
the 'skip unknown destination' flag
| Integer TSxReader::SourcePos |
| <> TObjectStack TSxReader::Stack |
| Boolean TSxReader::strict |
| IUnicodeConverter TSxReader::UnicodeConverter |
| Int64 TSxReader::UnicodeSkip |
| ISxWriter TSxReader::Writer |