Class TWPCustomRichText
Hierarchy
System.TObject | System.Classes.TPersistent | System.Classes.TComponent | Vcl.Controls.TControl | Vcl.Controls.TWinControl | Vcl.Controls.TCustomControl | WPRTEDefs.TWPCustomRTFControl | WPCTRMemo.TWPCustomRtfEdit | TWPCustomRichText
Subclasses
WPCTRRich.TWPRichText | Wpdbrich.TDBWPRichText
Description for Class TWPCustomRtfEdit
This is the central component in WPTools, the editor. It hosts the 'RTF-Engine' which is defined in class RTFEngineMemo.RTFDataA) The editor will always creates line breaks to fit the lines on the current page width (Properties
Property ActionList : TCustomActionList
Property ActionList2 : TCustomActionList
Property AllowMultiView : Boolean
Property CurrAttr : TWPSetModeControl
Property DefaultIOFormat : string
Property HeaderFooterTextRange : TWPPagePropertyRange
Property InitialDir : string
Property InitialGraphicDir : string
Property InitialStyleDir : string
Property InsertedObj : TWPTextObj
Property RTFText : TWPRTFBlobContents
Property RTFVariables : TWPRTFExtraDataCollection
Property VRuler : TWPVertRuler
Property WorkOnText : TWPPagePropertyKind
Property WPDialogCollection : TWPDialogCollection
Property WPGutter : TWPCustomGutter
Methods
Function AppendParagraph(lastpar:TParagraph) : TParagraph
Procedure ApplySPANStyles(and_remove:Boolean; ignore_charattr:Boolean)
Function BookmarkEdit(initialname:string) : Boolean
Function CanClose : Boolean
Function DeleteMarkedChar(InAllText:Boolean; DeleteEmptyParAndTables:Boolean) : Boolean
Procedure DoChangeZooming(Sender:TObject)
Function EditHyperlink(linktext:string) : Boolean
Function EditMergeField(fieldname:string) : TWPTextObj
Procedure FastAddTable(col:Integer; Pprp:PTParProps)
Procedure FastAddText(prp:TParProps)
Function FastAppendParagraph : TParagraph
Procedure FastApplyPProp(par:TParagraph; prp:TParProps; Options:TParPropsOptions)
Procedure FastCopyProperties(source:TObject)
Function FastDeleteLine : Boolean
Function FastDeleteParagraph : Boolean
Function FastGetCharAttrFromOldAttr(Attr:TAttr) : Cardinal
Function FastInputParagraph : TParagraph
Procedure FastInputText(prp:TParProps)
Function FastInsertParagraph : Boolean
Function FastMoveParagraph(Dest:TParagraph; after:Boolean) : Boolean
Procedure FastSetPageBreak(yes:Boolean; ReuseParInAppendText:Boolean)
Function FindDialog(initaltext:string) : Boolean
Function FontSelect : Boolean
Function HasFocus : Boolean
Function InputParagraphChild : TParagraph
Function Insert(InitPath:string; Filter:string) : Boolean
Function InsertGraphic(filename:string; InsertLink:Boolean; ObjectModes:TWPTextObjModes) : TWPObject
Function InsertGraphicDialog(filter:string; InsertLink:Boolean; ObjectModes:TWPTextObjModes; path:string) : TWPObject
Function Load(InitPath:string; Filter:string) : Boolean
Function LoadEx(InitPath:string; Filter:string; UseConvDLLIfAvailable:Boolean) : Boolean
Function LoadWithConverter(FileName:string) : Boolean
Procedure OnToolBarSelection(Sender:TObject; Typ:TWpSelNr; str:string; num:Integer)
Function OpenDialog(DialogType:TWPCustomRtfEditDialog; Param:string) : Boolean
Function PrintDialog(PageRange:string) : Boolean
Function PrinterSetup : Boolean
Procedure ReadPrinterProperties(aPrinter:TPrinter)
Function ReplaceDialog(initaltext:string) : Boolean
Function Save(InitPath:string; Filter:string) : Boolean
Function SaveAs(InitPath:string; Filter:string) : Boolean
Procedure ScrollLinePos(par:TParagraph; posinpar:Integer; LimitScrolling:Boolean)
Function SetCharacterSet(FromChar:Integer; ToChar:Integer; FontName:string; CharSet:Integer) : Integer
Procedure SetFocusValues(Always:Boolean)
Procedure SetIToolCtrl(x:IWPCustomToolCtrlInterface)
Procedure SetRTFData(ARTFData:TWPRTFDataCollection)
Procedure UISizeReadInitial(r:TWPEditInitialUISize)
Function UpdateFontValues : TFont
Events
AfterExecuteAction : TNotifyEvent= procedure (Sender : TObject) of Object
This event is triggered after an action was executed. It will also be triggered by the method OpenDialog. YOu can use this event to update GUI elements with current states of selected printer, page format etc.
OnCharacterAttrChange : TWPNotifyAttrEvent= TWPNotifyAttrEvent
Used or referenced by
-Procedure TWPCustomAttrDlg.ChangeApplied(aEditBox:TWPCustomRtfEdit) |
-Function TWPSuperMerge.GetEditor : TWPCustomRTFControl |
-Procedure TWPCustomAttrDlg.ChangeApplied(aEditBox:TWPCustomRtfEdit) |
-Procedure WPCreateTableForm(Form:TWinControl; Sender:TControl; editor:TWPCustomRichText; AllowNestedTables:Boolean) |