C# Class UiaAtkBridge.BaseTextImplementor

Inheritance: ITextImplementor
Afficher le fichier Open project: mono/uia2atk

Protected Properties

Свойство Type Description
resource Adapter
selectionEndOffset int
selectionStartOffset int

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AddSelection ( int startOffset, int endOffset ) : bool
startOffset int
endOffset int
Résultat bool

BaseTextImplementor() public méthode

public BaseTextImplementor ( Adapter resource ) : System
resource Adapter
Résultat System

EmitTextChanged() public méthode

public EmitTextChanged ( Atk detail, int position, int length ) : void
detail Atk
position int
length int
Résultat void

EmitTextChanged() public méthode

public EmitTextChanged ( Atk detail, int position, int length, string curText ) : void
detail Atk
position int
length int
curText string
Résultat void

GetBoundedRanges() public méthode

public GetBoundedRanges ( Atk rect, Atk coordType, Atk xClipType, Atk yClipType ) : Atk.TextRange
rect Atk
coordType Atk
xClipType Atk
yClipType Atk
Résultat Atk.TextRange

GetCharacterAtOffset() public méthode

public GetCharacterAtOffset ( int offset ) : char
offset int
Résultat char

GetCharacterExtents() public méthode

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
Résultat void

GetOffsetAtPoint() public méthode

public GetOffsetAtPoint ( int x, int y, Atk coords ) : int
x int
y int
coords Atk
Résultat int

GetRangeExtents() public méthode

public GetRangeExtents ( int startOffset, int endOffset, Atk coordType, Atk &rect ) : void
startOffset int
endOffset int
coordType Atk
rect Atk
Résultat void

GetRunAttributes() public méthode

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

GetSelection() public méthode

public GetSelection ( int selectionNum, int &startOffset, int &endOffset ) : string
selectionNum int
startOffset int
endOffset int
Résultat string

GetText() public méthode

public GetText ( int startOffset, int endOffset ) : string
startOffset int
endOffset int
Résultat string

GetTextAfterOffset() public méthode

public GetTextAfterOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
offset int
boundaryType Atk
startOffset int
endOffset int
Résultat string

GetTextAtOffset() public méthode

public GetTextAtOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
offset int
boundaryType Atk
startOffset int
endOffset int
Résultat string

GetTextBeforeOffset() public méthode

public GetTextBeforeOffset ( int offset, Atk boundaryType, int &startOffset, int &endOffset ) : string
offset int
boundaryType Atk
startOffset int
endOffset int
Résultat string

HandleSimpleChange() public méthode

public HandleSimpleChange ( string &oldText, int &caretOffset ) : bool
oldText string
caretOffset int
Résultat bool

HandleSimpleChange() public méthode

public HandleSimpleChange ( string &oldText, int &caretOffset, bool updateCaret ) : bool
oldText string
caretOffset int
updateCaret bool
Résultat bool

RaiseAutomationEvent() public méthode

public RaiseAutomationEvent ( AutomationEvent eventId, AutomationEventArgs e ) : bool
eventId System.Windows.Automation.AutomationEvent
e System.Windows.Automation.AutomationEventArgs
Résultat bool

RaiseAutomationPropertyChangedEvent() public méthode

public RaiseAutomationPropertyChangedEvent ( AutomationPropertyChangedEventArgs e ) : bool
e System.Windows.Automation.AutomationPropertyChangedEventArgs
Résultat bool

RemoveSelection() public méthode

public RemoveSelection ( int selectionNum ) : bool
selectionNum int
Résultat bool

SetCaretOffSet() public méthode

public SetCaretOffSet ( int offset ) : bool
offset int
Résultat bool

SetSelection() public méthode

public SetSelection ( int selectionNum, int startOffset, int endOffset ) : bool
selectionNum int
startOffset int
endOffset int
Résultat bool

Property Details

resource protected_oe property

protected Adapter,UiaAtkBridge resource
Résultat Adapter

selectionEndOffset protected_oe property

protected int selectionEndOffset
Résultat int

selectionStartOffset protected_oe property

protected int selectionStartOffset
Résultat int