1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef _SV_AQUA11TEXTWRAPPER_H
25 #define _SV_AQUA11TEXTWRAPPER_H
26 
27 #include "aqua/aquavcltypes.h"
28 #include "aqua/aqua11ywrapper.h"
29 
30 @interface AquaA11yTextWrapper : NSObject
31 {
32 }
33 +(id)valueAttributeForElement:(AquaA11yWrapper *)wrapper;
34 +(id)numberOfCharactersAttributeForElement:(AquaA11yWrapper *)wrapper;
35 +(id)selectedTextAttributeForElement:(AquaA11yWrapper *)wrapper;
36 +(id)selectedTextRangeAttributeForElement:(AquaA11yWrapper *)wrapper;
37 +(id)visibleCharacterRangeAttributeForElement:(AquaA11yWrapper *)wrapper;
38 +(id)sharedTextUIElementsAttributeForElement:(AquaA11yWrapper *)wrapper;
39 +(id)sharedCharacterRangeAttributeForElement:(AquaA11yWrapper *)wrapper;
40 +(id)stringForRangeAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)range;
41 +(id)attributedStringForRangeAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)range;
42 +(id)rangeForIndexAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)index;
43 +(id)rangeForPositionAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)point;
44 +(id)boundsForRangeAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)range;
45 +(id)styleRangeForIndexAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)index;
46 +(id)rTFForRangeAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)range;
47 +(id)lineForIndexAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)index;
48 +(id)rangeForLineAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)line;
49 +(void)addAttributeNamesTo:(NSMutableArray *)attributeNames;
50 +(void)addParameterizedAttributeNamesTo:(NSMutableArray *)attributeNames;
51 +(NSArray *)specialAttributeNames;
52 +(NSArray *)specialParameterizedAttributeNames;
53 +(BOOL)isAttributeSettable:(NSString *)attribute forElement:(AquaA11yWrapper *)wrapper;
54 +(void)setVisibleCharacterRangeAttributeForElement:(AquaA11yWrapper *)wrapper to:(id)value;
55 +(void)setSelectedTextRangeAttributeForElement:(AquaA11yWrapper *)wrapper to:(id)value;
56 +(void)setSelectedTextAttributeForElement:(AquaA11yWrapper *)wrapper to:(id)value;
57 +(void)setValueAttributeForElement:(AquaA11yWrapper *)wrapper to:(id)value;
58 @end
59 
60 #endif // _SV_AQUA11TEXTWRAPPER_H
61