Class TWPCursorCharAttrInterface

Hierarchy

System.TObject | WPRTEDefs.TWPAbstractCharAttrInterface | WPRTEDefs.TWPAbstractCharParAttrInterface | TWPCursorCharAttrInterface

Description

The TWPCursorCharAttrInterface is used for read and write access to attributes at the cursor position (similar to CPAttr^ in WPTools 4).

Properties

Property CharAttr : Cardinal

Methods

Procedure ADel(WPAT_Code:Byte)

Function AGet(WPAT_Code:Byte; Value:Integer) : Boolean

Function AGetBaseStyle(StyleNr:Integer) : Boolean

Procedure AInc(WPAT_Code:Byte; Offset:Integer; MinValue:Integer)

Procedure ASet(WPAT_Code:Byte; Value:Integer)

Procedure ASetAdd(WPAT_Code:Byte; Value:Cardinal)

Procedure ASetBaseStyle(StyleNr:Integer)

Procedure ASetColor(WPAT_Code:Byte; Value:TColor)

Procedure ASetDel(WPAT_Code:Byte; Value:Cardinal)

Procedure ASetNeutral(WPAT_Code:Byte; Value:Integer)

Procedure BeginUpdate

Procedure Clear

Create(Cursor:TWPRTFDataCursor; WorkPar:TParagraph; posinpar:Integer)

Procedure DelIntValue(Index:Integer)

Destroy

Function EndUpdate : Boolean

Function GetIntValue(Index:Integer; Value:Integer) : Boolean

Function GetObject : TWPTextObj

Function GetStyle : Integer

Function IsObject : Boolean

Procedure SetCharStyles(WPSTY_mask:Integer; WPSTY_on:Integer)

Procedure SetIntValue(Index:Integer; Value:Integer)

Procedure SetPos(Cursor:TWPRTFDataCursor; WorkPar:TParagraph; posinpar:Integer)

Procedure SetStyle(ParStyleNr:Integer; ClearParStyles:Boolean; ClearCharStyles:Boolean)

Function TabstopAdd(Value:Integer; Kind:TTabKind; Fill:TTabFill; ColorNr:Integer) : Boolean

Procedure TabstopClear

Function TabstopCount : Integer

Function TabstopDelete(Value:Integer) : Boolean

Procedure TabstopGet(nr:Integer; Value:Integer; Kind:TTabKind; FillMode:TTabFill; FillColor:Integer)

Procedure TabstopMove(OldValue:Integer; NewValue:Integer)

Used or referenced by

-Procedure TWPTextStyle.Assign(Source:TWPAbstractCharAttrInterface)
-Property TWPTAttrEmulator.Ex : TWPCursorCharAttrInterface