ScroogeXHTML for Object Pascal 9.3
Loading...
Searching...
No Matches
SxBase.pas File Reference

Classes

class  TSxBase
 The base class for ScroogeXHTML. More...

Typedefs

typedef void(* TEncodingEvent) (TObject Sender, const ISimpleDomTextNode TextElement)
 event called before and after Unicode encoding
typedef void(* TLogEvent) (TObject Sender, const TLogLevel logLevel, const string logText)
 Event called to log internal information.
typedef void(* TReplaceFontEvent) (TObject Sender, string &FontName)
 Event called to substitute font names.

Variables

const VersionString = "@version@"
 the library version

Typedef Documentation

◆ TEncodingEvent

typedef void(* TEncodingEvent) (TObject Sender, const ISimpleDomTextNode TextElement)

event called before and after Unicode encoding

◆ TLogEvent

typedef void(* TLogEvent) (TObject Sender, const TLogLevel logLevel, const string logText)

Event called to log internal information.

Parameters
SenderThe object that triggered the event.
logLevelThe severity level of the log message.
logTextThe log message text.

◆ TReplaceFontEvent

typedef void(* TReplaceFontEvent) (TObject Sender, string &FontName)

Event called to substitute font names.

Parameters
SenderThe object that triggered the event.
FontNameThe font name to be substituted. This is passed as a var parameter, allowing the event handler to modify the font name.

Variable Documentation

◆ VersionString

const VersionString = "@version@"

the library version