Class TWPStringBuilder
Hierarchy
System.TObject | TWPStringBuilder
Subclasses
WPIOReadRTF.TWPStringBuilderReadRTF
Description
Special class to build a string by concatenating AnsiChars. It also includes code to read simplified CSS syntax. This feature is used by the GetWPCSS functions.Properties
Property Codepage : Integer
Property CSSColor : TColor
Property CSSName : AnsiString
Property CSSString : AnsiString
Property CSSValue : Integer
Property Modified : Boolean
Property Name : string
Property Options : Integer
Property Size : Integer
Property StdString : WideString
Property Tag : Integer
Methods
Procedure Append(s:AnsiString)
Procedure AppendCSSValue(ValueName:AnsiString; value:Integer)
Procedure AppendDelimited(s:string; Quotes:Char; delimiter:AnsiString)
Procedure AppendHexEncoded(s:AnsiString)
Procedure AppendHTMLSAVE(s:string)
Procedure AppendNoBracket(s:string)
Procedure AppendNoQuotes(s:string)
Procedure AppendNoSingleQuotes(s:string)
Procedure AppendW(w:Char)
Function AppendWithVariables(Source:string; VarStart:; VarEnd:; CallBack:TWPReplaceVarEvent) : string
Procedure Clear(Codepage:Integer)
Function Copy(FromIndex:Integer; aCount:Integer) : AnsiString
Function CopyBuffer(Dest:Pointer; FromIndex:Integer; aCount:Integer) : Integer
Function CopyBufferW(Dest:Pointer; FromIndex:Integer; aCount:Integer) : Integer
Function CopyW(FromIndex:Integer; aCount:Integer) : WideString
Create(Capacity:Integer; Codepage:Integer)
Function GetFirstWord : WideString
Function GetInteger(value:Integer) : Boolean
Function GetNext : WideString
Function GetRest : string
Function GetSecondParam : WideString
Function GetString : string
Function GetStringA : AnsiString
Function GetStringDequoted : string
Function HasText(text:AnsiString) : Boolean
Function InitCSS : Boolean
Function NextCSSType : TWPStringBuilderCSSElement
Procedure SaveToFile(Filename:string; Encoding:TEncoding)
Procedure SaveToStream(Stream:TStream; Encoding:TEncoding)
Function Write(Dest:TStream) : Boolean
Used or referenced by
-Property TWPTextCombineStack.DestStringBuilder : TWPStringBuilder |