1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 #include <osx/osxvcltypes.h>
23 #include <osx/a11ywrapper.h>
25 @interface AquaA11yTextWrapper
: NSObject
28 + (id
)valueAttributeForElement
:(AquaA11yWrapper
*)wrapper
;
29 + (id
)numberOfCharactersAttributeForElement
:(AquaA11yWrapper
*)wrapper
;
30 + (id
)selectedTextAttributeForElement
:(AquaA11yWrapper
*)wrapper
;
31 + (id
)selectedTextRangeAttributeForElement
:(AquaA11yWrapper
*)wrapper
;
32 + (id
)visibleCharacterRangeAttributeForElement
:(AquaA11yWrapper
*)wrapper
;
33 + (id
)sharedTextUIElementsAttributeForElement
:(AquaA11yWrapper
*)wrapper
;
34 + (id
)sharedCharacterRangeAttributeForElement
:(AquaA11yWrapper
*)wrapper
;
35 + (id
)stringForRangeAttributeForElement
:(AquaA11yWrapper
*)wrapper forParameter
:(id
)range
;
36 + (id
)attributedStringForRangeAttributeForElement
:(AquaA11yWrapper
*)wrapper forParameter
:(id
)range
;
37 + (id
)rangeForIndexAttributeForElement
:(AquaA11yWrapper
*)wrapper forParameter
:(id
)index
;
38 + (id
)rangeForPositionAttributeForElement
:(AquaA11yWrapper
*)wrapper forParameter
:(id
)point
;
39 + (id
)boundsForRangeAttributeForElement
:(AquaA11yWrapper
*)wrapper forParameter
:(id
)range
;
40 + (id
)styleRangeForIndexAttributeForElement
:(AquaA11yWrapper
*)wrapper forParameter
:(id
)index
;
41 + (id
)rTFForRangeAttributeForElement
:(AquaA11yWrapper
*)wrapper forParameter
:(id
)range
;
42 + (id
)lineForIndexAttributeForElement
:(AquaA11yWrapper
*)wrapper forParameter
:(id
)index
;
43 + (id
)rangeForLineAttributeForElement
:(AquaA11yWrapper
*)wrapper forParameter
:(id
)line
;
44 + (void)addAttributeNamesTo
:(NSMutableArray
*)attributeNames
;
45 + (void)addParameterizedAttributeNamesTo
:(NSMutableArray
*)attributeNames
;
46 + (NSArray
*)specialAttributeNames
;
47 + (NSArray
*)specialParameterizedAttributeNames
;
48 + (BOOL
)isAttributeSettable
:(NSString
*)attribute forElement
:(AquaA11yWrapper
*)wrapper
;
49 + (void)setVisibleCharacterRangeAttributeForElement
:(AquaA11yWrapper
*)wrapper to
:(id
)value
;
50 + (void)setSelectedTextRangeAttributeForElement
:(AquaA11yWrapper
*)wrapper to
:(id
)value
;
51 + (void)setSelectedTextAttributeForElement
:(AquaA11yWrapper
*)wrapper to
:(id
)value
;
52 + (void)setValueAttributeForElement
:(AquaA11yWrapper
*)wrapper to
:(id
)value
;
55 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */