Class TWPRTFDataCursor

Hierarchy

System.TObject | TWPRTFDataCursor

Properties

Methods

Procedure ApplyChangesRec(ParAttr:Boolean; CharAttr:Boolean; UndoMode:TWPUndoMode; ChangeList:; ChangeListCount:Integer; spar:TParagraph; epar:TParagraph; spos:Integer; epos:Integer)

Procedure CallForSelectedText(Sender:TObject; Options:TWPCallForSelectedTextOptions; ParCallback:TWPParCallback; CharAttCallback:TWPCharAttrCallback; CharCallBack:TWPCharCallback; TextObjCallback:TWPTextObjectCallback; spar:TParagraph; epar:TParagraph; spos:Integer; epos:Integer)

Function ClearSelection(IfTableEmpty:Boolean; OverrideProtection:Boolean; UpdateCPPosition:Boolean) : Boolean

Function ClearTextInbetween(par_s:TParagraph; pos_s:Integer; par_e:TParagraph; pos_e:Integer; WithUNDO:Boolean; OverrideProtection:Boolean) : Boolean

Procedure CollectAllMarker

Procedure CollectMarker(DroppMarkerID:Integer)

Function CPMoveBack : Boolean

Function CPMoveNext : Boolean

Create(aOwner:TWPRTFDataCollectionBase)

Function CurrAttribute : TWPSelectedTextAttrInterface

Destroy

Procedure DisableForms

Function DropMarker : Integer

Function DropMarkerAt(Par:TParagraph; posinpar:Integer) : Integer

Function DropMarkerAtSelEnd : Integer

Function DropMarkerAtSelStart : Integer

Function DropMarkerPosition(DroppMarkerID:Integer) : Integer

Procedure EnableForms

Function Find(FindStr:string; FindNext:Boolean; MoveToEnd:Boolean) : Boolean

Function GetBlockEnd(epos:Integer) : TParagraph

Function GetBlockStart(spos:Integer) : TParagraph

Procedure GetCharAttr(Lock:TThreeState)

Function GetSelectedCells(NoNestedCells:Boolean; NoMergedCols:Boolean) : TWPParagraphList

Function GetSelectedParTree : TParagraph

Function GetSelPosLen(pos:Integer; len:Integer) : Boolean

Function GetSelText(Codepage:Integer) : string

Function GetSelTextW : WideString

Function GotoMarker(Collect:Boolean; DroppMarkerID:Integer) : Boolean

Function HideSelection : Boolean

Function InsideReportGroup : TParagraph

Function InsideSelection(or_at_end:Boolean) : Boolean

Function IsSelected(IgnoreNullLength:Boolean) : Boolean

Function IsSelectionProtected : Boolean

Function IsTextSelected(Par:TParagraph; posinpar:Integer) : Boolean

Procedure LockGetCharAttr(LockAtCurrPos:Boolean)

Function MoveBack(Count:Integer; SkipHidden:Boolean) : Boolean

Function MoveDownLine : Boolean

Function MoveDownPar : Boolean

Function MoveNext(Count:Integer; SkipHidden:Boolean) : Boolean

Function MoveTo(paragraph:TParagraph; posinpar:Integer; UpdateScreen:Boolean; MouseMove:Boolean) : Boolean

Function MoveUpLine : Boolean

Function MoveUpPar : Boolean

Function NextHotId : Integer

Procedure SelectAll(aRTFData:TWPRTFDataBlock)

Function SelectCell(Par:TParagraph; ContinueSelection:Boolean; ToggleSelection:Boolean) : Boolean

Function SelectFromHere(FromPar:TParagraph; FromPosInPar:Integer) : Boolean

Procedure SelectionExtend(Count:Integer)

Procedure SelectionShiftStart(Count:Integer)

Procedure SelectLine

Function SelectMarker(FromMarker:Integer; ToMarker:Integer) : Boolean

Function SelectMarkerStartLen(FromMarker:Integer; Length:Integer) : Boolean

Procedure SelectParagraph(Par:TParagraph)

Function SelectRow(Par:TParagraph; ContinueSelection:Boolean; ToggleSelection:Boolean) : Boolean

Function SelectThisCell(AddToSelection:Boolean) : Boolean

Function SelectThisColumn(AddToSelection:Boolean; cell:TParagraph) : Boolean

Function SelectThisField : Boolean

Function SelectThisRow(AddToSelection:Boolean; cell:TParagraph) : Boolean

Function SelectThisTable : Boolean

Function SelectToHere(DestPar:TParagraph; DestPosInPar:Integer; MouseMove:Boolean; NoAutoSelExtension:Boolean) : Boolean

Function SelectWord(Par:TParagraph; posinpar:Integer; ExtendSelection:Boolean) : Boolean

Function SetSelPosLen(pos:Integer; len:Integer) : Boolean

Procedure SpeedSelectFromTo(FromPar:TParagraph; frompos:Integer; topar:TParagraph; topos:Integer)

Used or referenced by

-Function glWPProcessField(Sender:TWPRTFDataBlock; PostProcess:Boolean; Contents:TWPMMInsertTextContents; Cursor:TWPRTFDataCursor) : Boolean