C# Class UiaAtkBridge.TextProviderTextImplementor

Inheritance: BaseTextImplementor
Mostrar archivo Open project: mono/uia2atk

Public Methods

Method Description
AddSelection ( int startOffset, int endOffset ) : bool
GetRunAttributes ( int offset, int &startOffset, int &endOffset ) : Atk.Attribute[]
GetSelection ( int selectionNum, int &startOffset, int &endOffset ) : string
RemoveSelection ( int selectionNum ) : bool
SetSelection ( int selectionNum, int startOffset, int endOffset ) : bool
TextProviderTextImplementor ( Adapter resource, ITextProvider textProvider ) : System

Private Methods

Method Description
AddTextAttribute ( CG attrs, Atk atkAttr, ITextRangeProvider textRange ) : void
GetAttributesInRange ( int start, int end ) : Atk.Attribute[]
GetTextRange ( int start, int end ) : ITextRangeProvider
IsAttrNotNullOrMultiValued ( int providerAttrId, ITextRangeProvider prov, object &val ) : bool

Method Details

AddSelection() public method

public AddSelection ( int startOffset, int endOffset ) : bool
startOffset int
endOffset int
return bool

GetRunAttributes() public method

public GetRunAttributes ( int offset, int &startOffset, int &endOffset ) : Atk.Attribute[]
offset int
startOffset int
endOffset int
return Atk.Attribute[]

GetSelection() public method

public GetSelection ( int selectionNum, int &startOffset, int &endOffset ) : string
selectionNum int
startOffset int
endOffset int
return string

RemoveSelection() public method

public RemoveSelection ( int selectionNum ) : bool
selectionNum int
return bool

SetSelection() public method

public SetSelection ( int selectionNum, int startOffset, int endOffset ) : bool
selectionNum int
startOffset int
endOffset int
return bool

TextProviderTextImplementor() public method

public TextProviderTextImplementor ( Adapter resource, ITextProvider textProvider ) : System
resource Adapter
textProvider ITextProvider
return System