C# Класс UiaAtkBridge.BaseTextImplementor

Наследование: ITextImplementor
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
resource Adapter
selectionEndOffset int
selectionStartOffset int

Открытые методы

Метод Описание
AddSelection ( int startOffset, int endOffset ) : bool
BaseTextImplementor ( Adapter resource ) : System
EmitTextChanged ( Atk detail, int position, int length ) : void
EmitTextChanged ( Atk detail, int position, int length, string curText ) : void
GetBoundedRanges ( Atk rect, Atk coordType, Atk xClipType, Atk yClipType ) : Atk.TextRange
GetCharacterAtOffset ( int offset ) : char
GetCharacterExtents ( int offset, int &x, int &y, int &width, int &height, Atk coords ) : void
GetOffsetAtPoint ( int x, int y, Atk coords ) : int
GetRangeExtents ( int startOffset, int endOffset, Atk coordType, Atk &rect ) : void
GetRunAttributes ( int offset, int &startOffset, int &endOffset ) : Atk.Attribute[]
GetSelection ( int selectionNum, int &startOffset, int &endOffset ) : string
GetText ( int startOffset, int endOffset ) : string
GetTextAfterOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
GetTextAtOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
GetTextBeforeOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
HandleSimpleChange ( string &oldText, int &caretOffset ) : bool
HandleSimpleChange ( string &oldText, int &caretOffset, bool updateCaret ) : bool
RaiseAutomationEvent ( AutomationEvent eventId, AutomationEventArgs e ) : bool
RaiseAutomationPropertyChangedEvent ( AutomationPropertyChangedEventArgs e ) : bool
RemoveSelection ( int selectionNum ) : bool
SetCaretOffSet ( int offset ) : bool
SetSelection ( int selectionNum, int startOffset, int endOffset ) : bool

Приватные методы

Метод Описание
BackwardToNextSeparator ( char seps, int startOffset, bool stopEarly ) : int
BackwardToNextSeparator ( char seps, int startOffset, int &stopEarlyOffset, int &stopLateOffset ) : void
CharEqualsAny ( char boilerPlate, char candidates ) : bool
ForwardToNextSeparator ( char seps, int startOffset, bool stopEarly ) : int
ForwardToNextSeparator ( char seps, int startOffset, int &stopEarlyOffset, int &stopLateOffset ) : void
ForwardToNextSeparator ( char seps, int startOffset, int &stopEarlyOffset, int &stopLateOffset, bool findNonSeparators ) : void
GetNotSupportedBoundary ( Atk bType ) : NotSupportedException
IsAddition ( string super, string sub, int &offset ) : bool
ReturnTextWrtOffset ( int startOffset ) : string
ReturnTextWrtOffset ( int startOffset, int endOffset ) : string
UpdateCaretToValidValue ( ) : void

Описание методов

AddSelection() публичный Метод

public AddSelection ( int startOffset, int endOffset ) : bool
startOffset int
endOffset int
Результат bool

BaseTextImplementor() публичный Метод

public BaseTextImplementor ( Adapter resource ) : System
resource Adapter
Результат System

EmitTextChanged() публичный Метод

public EmitTextChanged ( Atk detail, int position, int length ) : void
detail Atk
position int
length int
Результат void

EmitTextChanged() публичный Метод

public EmitTextChanged ( Atk detail, int position, int length, string curText ) : void
detail Atk
position int
length int
curText string
Результат void

GetBoundedRanges() публичный Метод

public GetBoundedRanges ( Atk rect, Atk coordType, Atk xClipType, Atk yClipType ) : Atk.TextRange
rect Atk
coordType Atk
xClipType Atk
yClipType Atk
Результат Atk.TextRange

GetCharacterAtOffset() публичный Метод

public GetCharacterAtOffset ( int offset ) : char
offset int
Результат char

GetCharacterExtents() публичный Метод

public GetCharacterExtents ( int offset, int &x, int &y, int &width, int &height, Atk coords ) : void
offset int
x int
y int
width int
height int
coords Atk
Результат void

GetOffsetAtPoint() публичный Метод

public GetOffsetAtPoint ( int x, int y, Atk coords ) : int
x int
y int
coords Atk
Результат int

GetRangeExtents() публичный Метод

public GetRangeExtents ( int startOffset, int endOffset, Atk coordType, Atk &rect ) : void
startOffset int
endOffset int
coordType Atk
rect Atk
Результат void

GetRunAttributes() публичный Метод

public GetRunAttributes ( int offset, int &startOffset, int &endOffset ) : Atk.Attribute[]
offset int
startOffset int
endOffset int
Результат Atk.Attribute[]

GetSelection() публичный Метод

public GetSelection ( int selectionNum, int &startOffset, int &endOffset ) : string
selectionNum int
startOffset int
endOffset int
Результат string

GetText() публичный Метод

public GetText ( int startOffset, int endOffset ) : string
startOffset int
endOffset int
Результат string

GetTextAfterOffset() публичный Метод

public GetTextAfterOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
offset int
boundaryType Atk
startOffset int
endOffset int
Результат string

GetTextAtOffset() публичный Метод

public GetTextAtOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
offset int
boundaryType Atk
startOffset int
endOffset int
Результат string

GetTextBeforeOffset() публичный Метод

public GetTextBeforeOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
offset int
boundaryType Atk
startOffset int
endOffset int
Результат string

HandleSimpleChange() публичный Метод

public HandleSimpleChange ( string &oldText, int &caretOffset ) : bool
oldText string
caretOffset int
Результат bool

HandleSimpleChange() публичный Метод

public HandleSimpleChange ( string &oldText, int &caretOffset, bool updateCaret ) : bool
oldText string
caretOffset int
updateCaret bool
Результат bool

RaiseAutomationEvent() публичный Метод

public RaiseAutomationEvent ( AutomationEvent eventId, AutomationEventArgs e ) : bool
eventId System.Windows.Automation.AutomationEvent
e System.Windows.Automation.AutomationEventArgs
Результат bool

RaiseAutomationPropertyChangedEvent() публичный Метод

public RaiseAutomationPropertyChangedEvent ( AutomationPropertyChangedEventArgs e ) : bool
e System.Windows.Automation.AutomationPropertyChangedEventArgs
Результат bool

RemoveSelection() публичный Метод

public RemoveSelection ( int selectionNum ) : bool
selectionNum int
Результат bool

SetCaretOffSet() публичный Метод

public SetCaretOffSet ( int offset ) : bool
offset int
Результат bool

SetSelection() публичный Метод

public SetSelection ( int selectionNum, int startOffset, int endOffset ) : bool
selectionNum int
startOffset int
endOffset int
Результат bool

Описание свойств

resource защищенное свойство

protected Adapter,UiaAtkBridge resource
Результат Adapter

selectionEndOffset защищенное свойство

protected int selectionEndOffset
Результат int

selectionStartOffset защищенное свойство

protected int selectionStartOffset
Результат int