C# Class UiaAtkBridge.BaseTextImplementor

Inheritance: ITextImplementor
Mostrar archivo Open project: mono/uia2atk

Protected Properties

Property Type Description
resource Adapter
selectionEndOffset int
selectionStartOffset int

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

AddSelection() public method

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

BaseTextImplementor() public method

public BaseTextImplementor ( Adapter resource ) : System
resource Adapter
return System

EmitTextChanged() public method

public EmitTextChanged ( Atk detail, int position, int length ) : void
detail Atk
position int
length int
return void

EmitTextChanged() public method

public EmitTextChanged ( Atk detail, int position, int length, string curText ) : void
detail Atk
position int
length int
curText string
return void

GetBoundedRanges() public method

public GetBoundedRanges ( Atk rect, Atk coordType, Atk xClipType, Atk yClipType ) : Atk.TextRange
rect Atk
coordType Atk
xClipType Atk
yClipType Atk
return Atk.TextRange

GetCharacterAtOffset() public method

public GetCharacterAtOffset ( int offset ) : char
offset int
return char

GetCharacterExtents() public method

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
return void

GetOffsetAtPoint() public method

public GetOffsetAtPoint ( int x, int y, Atk coords ) : int
x int
y int
coords Atk
return int

GetRangeExtents() public method

public GetRangeExtents ( int startOffset, int endOffset, Atk coordType, Atk &rect ) : void
startOffset int
endOffset int
coordType Atk
rect Atk
return void

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

GetText() public method

public GetText ( int startOffset, int endOffset ) : string
startOffset int
endOffset int
return string

GetTextAfterOffset() public method

public GetTextAfterOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
offset int
boundaryType Atk
startOffset int
endOffset int
return string

GetTextAtOffset() public method

public GetTextAtOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
offset int
boundaryType Atk
startOffset int
endOffset int
return string

GetTextBeforeOffset() public method

public GetTextBeforeOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
offset int
boundaryType Atk
startOffset int
endOffset int
return string

HandleSimpleChange() public method

public HandleSimpleChange ( string &oldText, int &caretOffset ) : bool
oldText string
caretOffset int
return bool

HandleSimpleChange() public method

public HandleSimpleChange ( string &oldText, int &caretOffset, bool updateCaret ) : bool
oldText string
caretOffset int
updateCaret bool
return bool

RaiseAutomationEvent() public method

public RaiseAutomationEvent ( AutomationEvent eventId, AutomationEventArgs e ) : bool
eventId System.Windows.Automation.AutomationEvent
e System.Windows.Automation.AutomationEventArgs
return bool

RaiseAutomationPropertyChangedEvent() public method

public RaiseAutomationPropertyChangedEvent ( AutomationPropertyChangedEventArgs e ) : bool
e System.Windows.Automation.AutomationPropertyChangedEventArgs
return bool

RemoveSelection() public method

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

SetCaretOffSet() public method

public SetCaretOffSet ( int offset ) : bool
offset int
return bool

SetSelection() public method

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

Property Details

resource protected_oe property

protected Adapter,UiaAtkBridge resource
return Adapter

selectionEndOffset protected_oe property

protected int selectionEndOffset
return int

selectionStartOffset protected_oe property

protected int selectionStartOffset
return int