summaryrefslogtreecommitdiff
path: root/vcl/aqua/source/a11y
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-04-15 12:12:46 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-04-15 12:12:46 +0000
commit10ecdc2b907d39a7a861c13634f84ed2b5c32113 (patch)
treeec2b7f89e6b60e6a2133111be38fd3df5dc24658 /vcl/aqua/source/a11y
parentc1a1453d8c93d607d458219877454d36fb9000f8 (diff)
INTEGRATION: CWS aqua11y01 (1.1.2); FILE ADDED
2008/04/15 07:58:35 rt 1.1.2.13: Update license header to LGPL 3. 2008/02/01 14:37:17 fne 1.1.2.12: #i82877# deleted voiceover imitation 2008/01/31 12:52:27 fne 1.1.2.11: #i82877# new attributes 2008/01/30 15:21:04 fne 1.1.2.10: #i82877# more parameterized attributes 2008/01/29 14:33:56 fne 1.1.2.9: #i82877# disabled voiceover imitation and started true voiceover support for text components 2008/01/23 15:27:37 fne 1.1.2.8: #i82877# voiceover imitation regarding typing feedback word-wise 2008/01/22 15:54:14 fne 1.1.2.7: #i82877# further voiceover imitation 2008/01/16 14:46:17 fne 1.1.2.6: #i82877# initial support for contents of document 2007/11/29 14:11:39 fne 1.1.2.5: #i82877# subclassing depending on native role and some minor changes 2007/11/23 15:04:42 fne 1.1.2.4: #i82877# set attributes via reflection 2007/11/21 12:23:55 fne 1.1.2.3: #i82877# reflection when getting attribute values, setting some text attributes, minor changes 2007/11/16 14:08:06 fne 1.1.2.2: #i82877# some polishing, new component wrapper 2007/11/16 12:45:32 fne 1.1.2.1: #i82877# some polishing, new component wrapper
Diffstat (limited to 'vcl/aqua/source/a11y')
-rw-r--r--vcl/aqua/source/a11y/aqua11ytextwrapper.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/vcl/aqua/source/a11y/aqua11ytextwrapper.h b/vcl/aqua/source/a11y/aqua11ytextwrapper.h
new file mode 100644
index 000000000000..2991214f35a0
--- /dev/null
+++ b/vcl/aqua/source/a11y/aqua11ytextwrapper.h
@@ -0,0 +1,66 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: aqua11ytextwrapper.h,v $
+ *
+ * $Revision: 1.2 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef _SV_AQUA11TEXTWRAPPER_H
+#define _SV_AQUA11TEXTWRAPPER_H
+
+#include "aquavcltypes.h"
+#include "aqua11ywrapper.h"
+
+@interface AquaA11yTextWrapper : NSObject
+{
+}
++(id)valueAttributeForElement:(AquaA11yWrapper *)wrapper;
++(id)numberOfCharactersAttributeForElement:(AquaA11yWrapper *)wrapper;
++(id)selectedTextAttributeForElement:(AquaA11yWrapper *)wrapper;
++(id)selectedTextRangeAttributeForElement:(AquaA11yWrapper *)wrapper;
++(id)visibleCharacterRangeAttributeForElement:(AquaA11yWrapper *)wrapper;
++(id)sharedTextUIElementsAttributeForElement:(AquaA11yWrapper *)wrapper;
++(id)sharedCharacterRangeAttributeForElement:(AquaA11yWrapper *)wrapper;
++(id)stringForRangeAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)range;
++(id)attributedStringForRangeAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)range;
++(id)rangeForIndexAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)index;
++(id)rangeForPositionAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)point;
++(id)boundsForRangeAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)range;
++(id)styleRangeForIndexAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)index;
++(id)rTFForRangeAttributeForElement:(AquaA11yWrapper *)wrapper forParameter:(id)range;
++(void)addAttributeNamesTo:(NSMutableArray *)attributeNames;
++(void)addParameterizedAttributeNamesTo:(NSMutableArray *)attributeNames;
++(NSArray *)specialAttributeNames;
++(NSArray *)specialParameterizedAttributeNames;
++(MacOSBOOL)isAttributeSettable:(NSString *)attribute forElement:(AquaA11yWrapper *)wrapper;
++(void)setVisibleCharacterRangeAttributeForElement:(AquaA11yWrapper *)wrapper to:(id)value;
++(void)setSelectedTextRangeAttributeForElement:(AquaA11yWrapper *)wrapper to:(id)value;
++(void)setSelectedTextAttributeForElement:(AquaA11yWrapper *)wrapper to:(id)value;
++(void)setValueAttributeForElement:(AquaA11yWrapper *)wrapper to:(id)value;
+@end
+
+#endif // _SV_AQUA11TEXTWRAPPER_H