Class TWPORTFTextBox
Hierarchy
System.TObject | System.Classes.TPersistent | System.Classes.TComponent | WPRTEDefs.TWPObject | TWPORTFTextBox
Description for Class TWPObject
TWPObject is used as basic class implementation for objects which can be embedded into the editor. It fully implements IWPObjectInterface but also adds some functions which are used to support clipboard and loading and saving. You cannot use TWPObject - you always need to use a class which inherits from it.Properties
Property AsString : string
Methods
Procedure ApplyDoParams(DoParams:TWPRTFDoProp)
Procedure Assign(Source:TPersistent)
Function AsText : string
Function CanSaveAsRTF(Ref:TWPTextObj; AllowBinary:Boolean) : Boolean
Function CurrentExt : string
Function Edit : Boolean
Function FirstPar : TParagraph
Function GetMinHeight(def:Integer) : Integer
Function GetObjProp(id:Integer) : Integer
Function IsEmpty : Boolean
Function LoadFromStream(Source:TStream) : Boolean
Function SaveToStream(Dest:TStream) : Boolean
Function SelectAll : Boolean
Procedure SetObjProp(id:Integer; value:Integer)
Function UseForExtension(Extension:string) : Boolean
Procedure WriteRTFData(Writer:TWPCustomTextWriter; AliasTextObj:TWPTextObj; AllowBinary:Boolean; LinkedToFile:string)
Procedure WriteRTFDataEnd(Writer:TWPCustomTextWriter; AliasTextObj:TWPTextObj; AllowBinary:Boolean)
Used or referenced by
-Property TWPMMInsertTextContents.CurrentObject : TWPObject |
-Property TWPMMInsertTextContents.CurrentObject : TWPObject |