C# Class AtspiUiaSource.TextRangePattern

Inheritance: ITextPatternRange
显示文件 Open project: mono/uia2atk Class Usage Examples

Private Properties

Property Type Description
BackwardPeekNewline bool
ForwardPeekNewline bool
GetAtkBoundaryType BoundaryType
IsWordSeparator bool
LineParagraphNormalize void
ParagraphMoveEndPoint int
ParagraphMoveStartEndPoint int
ParagraphMoveStartPoint int
ParagraphNormalize void
WordMoveEndPoint int
WordMoveStartEndPoint int
WordMoveStartPoint int
WordNormalize void

Public Methods

Method Description
AddToSelection ( ) : void
Clone ( ) : ITextPatternRange
Compare ( ITextPatternRange range ) : bool
CompareEndpoints ( TextPatternRangeEndpoint endpoint, ITextPatternRange targetRange, TextPatternRangeEndpoint targetEndpoint ) : int
ExpandToEnclosingUnit ( TextUnit unit ) : void
FindAttribute ( AutomationTextAttribute attribute, object value, bool backward ) : ITextPatternRange
FindText ( string txt, bool backward, bool ignoreCase ) : ITextPatternRange
GetAttributeValue ( AutomationTextAttribute attribute ) : object
GetBoundingRectangles ( ) : System.Windows.Rect[]
GetChildren ( ) : IElement[]
GetEnclosingElement ( ) : IElement
GetText ( int maxLength ) : string
Move ( TextUnit unit, int count ) : int
MoveEndpointByRange ( TextPatternRangeEndpoint endpoint, ITextPatternRange targetRange, TextPatternRangeEndpoint targetEndpoint ) : void
MoveEndpointByUnit ( TextPatternRangeEndpoint endpoint, TextUnit unit, int count ) : int
RemoveFromSelection ( ) : void
ScrollIntoView ( bool alignToTop ) : void
Select ( ) : void
TextRangePattern ( Accessible accessible ) : System
TextRangePattern ( Accessible accessible, int startOffset, int endOffset ) : System

Private Methods

Method Description
BackwardPeekNewline ( int i, string txt, int &n_chars ) : bool
ForwardPeekNewline ( int i, string txt, int &n_chars ) : bool
GetAtkBoundaryType ( TextUnit unit, bool end ) : BoundaryType
IsWordSeparator ( char c ) : bool
LineParagraphNormalize ( bool is_line ) : void
ParagraphMoveEndPoint ( int count ) : int
ParagraphMoveStartEndPoint ( int count, int &point ) : int
ParagraphMoveStartPoint ( int count ) : int
ParagraphNormalize ( ) : void
WordMoveEndPoint ( int count ) : int
WordMoveStartEndPoint ( int count, int &point ) : int
WordMoveStartPoint ( int count ) : int
WordNormalize ( ) : void

Method Details

AddToSelection() public method

public AddToSelection ( ) : void
return void

Clone() public method

public Clone ( ) : ITextPatternRange
return ITextPatternRange

Compare() public method

public Compare ( ITextPatternRange range ) : bool
range ITextPatternRange
return bool

CompareEndpoints() public method

public CompareEndpoints ( TextPatternRangeEndpoint endpoint, ITextPatternRange targetRange, TextPatternRangeEndpoint targetEndpoint ) : int
endpoint TextPatternRangeEndpoint
targetRange ITextPatternRange
targetEndpoint TextPatternRangeEndpoint
return int

ExpandToEnclosingUnit() public method

public ExpandToEnclosingUnit ( TextUnit unit ) : void
unit TextUnit
return void

FindAttribute() public method

public FindAttribute ( AutomationTextAttribute attribute, object value, bool backward ) : ITextPatternRange
attribute System.Windows.Automation.AutomationTextAttribute
value object
backward bool
return ITextPatternRange

FindText() public method

public FindText ( string txt, bool backward, bool ignoreCase ) : ITextPatternRange
txt string
backward bool
ignoreCase bool
return ITextPatternRange

GetAttributeValue() public method

public GetAttributeValue ( AutomationTextAttribute attribute ) : object
attribute System.Windows.Automation.AutomationTextAttribute
return object

GetBoundingRectangles() public method

public GetBoundingRectangles ( ) : System.Windows.Rect[]
return System.Windows.Rect[]

GetChildren() public method

public GetChildren ( ) : IElement[]
return IElement[]

GetEnclosingElement() public method

public GetEnclosingElement ( ) : IElement
return IElement

GetText() public method

public GetText ( int maxLength ) : string
maxLength int
return string

Move() public method

public Move ( TextUnit unit, int count ) : int
unit TextUnit
count int
return int

MoveEndpointByRange() public method

public MoveEndpointByRange ( TextPatternRangeEndpoint endpoint, ITextPatternRange targetRange, TextPatternRangeEndpoint targetEndpoint ) : void
endpoint TextPatternRangeEndpoint
targetRange ITextPatternRange
targetEndpoint TextPatternRangeEndpoint
return void

MoveEndpointByUnit() public method

public MoveEndpointByUnit ( TextPatternRangeEndpoint endpoint, TextUnit unit, int count ) : int
endpoint TextPatternRangeEndpoint
unit TextUnit
count int
return int

RemoveFromSelection() public method

public RemoveFromSelection ( ) : void
return void

ScrollIntoView() public method

public ScrollIntoView ( bool alignToTop ) : void
alignToTop bool
return void

Select() public method

public Select ( ) : void
return void

TextRangePattern() public method

public TextRangePattern ( Accessible accessible ) : System
accessible Atspi.Accessible
return System

TextRangePattern() public method

public TextRangePattern ( Accessible accessible, int startOffset, int endOffset ) : System
accessible Atspi.Accessible
startOffset int
endOffset int
return System