Lines Matching refs:wrapper

46 +(id)valueAttributeForElement:(AquaA11yWrapper *)wrapper {
47 return CreateNSString ( [ wrapper accessibleText ] -> getText() );
50 +(void)setValueAttributeForElement:(AquaA11yWrapper *)wrapper to:(id)value
53 (void)wrapper;
57 +(id)numberOfCharactersAttributeForElement:(AquaA11yWrapper *)wrapper {
58 return [ NSNumber numberWithLong: [ wrapper accessibleText ] -> getCharacterCount() ];
61 +(id)selectedTextAttributeForElement:(AquaA11yWrapper *)wrapper {
62 return CreateNSString ( [ wrapper accessibleText ] -> getSelectedText() );
65 +(void)setSelectedTextAttributeForElement:(AquaA11yWrapper *)wrapper to:(id)value {
66 if ( [ wrapper accessibleEditableText ] != nil ) {
69 …edTextRange = [ [ AquaA11yTextWrapper selectedTextRangeAttributeForElement: wrapper ] rangeValue ];
71 …[ wrapper accessibleEditableText ] -> replaceText ( selectedTextRange.location, selectedTextRange.…
79 +(id)selectedTextRangeAttributeForElement:(AquaA11yWrapper *)wrapper {
80 sal_Int32 start = [ wrapper accessibleText ] -> getSelectionStart();
81 sal_Int32 end = [ wrapper accessibleText ] -> getSelectionEnd();
85 long caretPos = [ wrapper accessibleText ] -> getCaretPosition();
86 if ( caretPos < 0 || caretPos > [ wrapper accessibleText ] -> getCharacterCount() ) {
93 +(void)setSelectedTextRangeAttributeForElement:(AquaA11yWrapper *)wrapper to:(id)value {
96 … [ wrapper accessibleText ] -> setSelection ( range.location, range.location + range.length );
102 +(id)visibleCharacterRangeAttributeForElement:(AquaA11yWrapper *)wrapper {
104 …return [ NSValue valueWithRange: NSMakeRange ( 0, [ wrapper accessibleText ] -> getCharacterCount(…
107 +(void)setVisibleCharacterRangeAttributeForElement:(AquaA11yWrapper *)wrapper to:(id)value
110 (void)wrapper;
114 +(id)sharedTextUIElementsAttributeForElement:(AquaA11yWrapper *)wrapper
116 (void)wrapper;
120 +(id)sharedCharacterRangeAttributeForElement:(AquaA11yWrapper *)wrapper
122 (void)wrapper;
160 +(id)lineForIndexAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)index {
163 …sal_Int32 line = [ wrapper accessibleMultiLineText ] -> getLineNumberAtIndex ( (sal_Int32) [ index…
171 +(id)rangeForLineAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)line {
174 …TextSegment textSegment = [ wrapper accessibleMultiLineText ] -> getTextAtLineNumber ( [ line intV…
182 +(id)stringForRangeAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)range {
187 …[ textRange appendString: CreateNSString ( [ wrapper accessibleText ] -> getTextRange ( loc, loc +…
194 +(id)attributedStringForRangeAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)range {
195 …return [ AquaA11yTextAttributesWrapper createAttributedStringForElement: wrapper inOrigRange: rang…
198 +(id)rangeForIndexAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)index {
201 …TextSegment textSegment = [ wrapper accessibleText ] -> getTextBeforeIndex ( [ index intValue ], A…
211 +(id)rangeForPositionAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)point {
214 const Point screenPos = [ wrapper accessibleComponent ] -> getLocationOnScreen();
217 sal_Int32 index = [ wrapper accessibleText ] -> getIndexAtPoint( aPoint );
219 …value = [ AquaA11yTextWrapper rangeForIndexAttributeForElement: wrapper forParameter: [ NSNumber n…
224 +(id)boundsForRangeAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)range {
233 Rectangle vclRect = [ wrapper accessibleText ] -> getCharacterBounds ( loc + i );
247 if ( [ wrapper accessibleComponent ] != nil ) {
249 Point screenPos = [ wrapper accessibleComponent ] -> getLocationOnScreen();
262 +(id)styleRangeForIndexAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)index {
265 …TextSegment textSegment = [ wrapper accessibleText ] -> getTextAtIndex ( [ index intValue ], Acces…
275 +(id)rTFForRangeAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)range {
277 …ng *) [ AquaA11yTextWrapper attributedStringForRangeAttributeForElement: wrapper forParameter: ran…
288 +(BOOL)isAttributeSettable:(NSString *)attribute forElement:(AquaA11yWrapper *)wrapper {
294 …if ( ! [ [ wrapper accessibilityAttributeValue: NSAccessibilityRoleAttribute ] isEqualToString: NS…