Class TWPSelectedTextAttrInterface

Hierarchy

System.TObject | WPRTEDefs.TWPAbstractCharAttrInterface | WPRTEDefs.TWPAbstractCharParAttrInterface | TWPSelectedTextAttrInterface

Subclasses

WPRTEDefs.TWPCurrentWritingmodeAttrInterface | WPRTEDefs.TWPFoundTextAttrInterface

Description

TWPSelectedTextAttrInterface is used for read and write access to the character attributes of the text which is currently selected.Clear

Properties

Property CharAttr : Cardinal

Property NeedReadAttributes : Boolean

Methods

Procedure ADel(WPAT_Code:Byte)

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

Function AGetBaseStyle(StyleNr:Integer) : Boolean

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

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

Procedure Apply

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 AutoIndentFirst(DefaultValue:Integer)

Procedure BeginUpdate

Procedure Clear

Procedure ClearAttr(ParAttr:Boolean; CharAttr:Boolean)

Procedure ClearAttrOverride

Create(Cursor:TWPRTFDataCursor)

Procedure DecIndent

Procedure DecNumberingLevel

Procedure DelIntValue(Index:Integer)

Destroy

Function EndUpdate : Boolean

Procedure ExcludeStyle(Element:TOneWrtStyle)

Procedure ExcludeStyles(Elements:WrtStyle)

Function GetCharAttr : Cardinal

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

Function GetStyle : Integer

Procedure IncIndent

Procedure IncludeStyle(Element:TOneWrtStyle)

Procedure IncludeStyles(Elements:WrtStyle)

Procedure IncNumberingLevel

Procedure SelParSetWPSS(WPCSS:string)

Procedure SetCAFSStyle(AddStyle:Cardinal; DelStyle:Cardinal)

Procedure SetCharAttr(x:Cardinal)

Procedure SetCharStyles(WPSTY_mask:Integer; WPSTY_on:Integer)

Procedure SetIntValue(Index:Integer; Value:Integer)

Procedure SetNumberIndent

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

Function TabstopDiffCount : Integer

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

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

Procedure TabstopMove(OldValue:Integer; NewValue:Integer)

Procedure ToggleCharstyle(WPSTY_code:Integer)

Used or referenced by

-Procedure TWPTextStyle.Assign(Source:TWPAbstractCharAttrInterface)
-Function TWPRTFDataCursor.CurrAttribute : TWPSelectedTextAttrInterface