1 'encoding UTF-8 Do not remove or change this line!
2 '**************************************************************************
3 ' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 ' Copyright 2000, 2010 Oracle and/or its affiliates.
7 ' OpenOffice.org - a multi-platform office productivity suite
9 ' This file is part of OpenOffice.org.
11 ' OpenOffice.org is free software: you can redistribute it and/or modify
12 ' it under the terms of the GNU Lesser General Public License version 3
13 ' only, as published by the Free Software Foundation.
15 ' OpenOffice.org is distributed in the hope that it will be useful,
16 ' but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ' GNU Lesser General Public License version 3 for more details
19 ' (a copy is included in the LICENSE file that accompanied this code).
21 ' You should have received a copy of the GNU Lesser General Public License
22 ' version 3 along with OpenOffice.org. If not, see
23 ' <http://www.openoffice.org/license.html>
24 ' for a copy of the LGPLv3 License.
26 '/************************************************************************
28 '* owner : oliver.craemer@oracle.com
30 '* short description : Tools for Keyboard Accessibility
32 '************************************************************************
34 ' #1 fDataPilotRowSelection
35 ' #1 fDataPilotColumnSelection
36 ' #1 fDataPilotDataSelection
38 '\***********************************************************************
40 function fDataPilotRowSelection()
42 fDataPilotRowSelection = TRUE
45 case 01 : ' English (USA)
46 DataPilotSelection.typekeys "<MOD2 R>"
48 DataPilotSelection.typekeys "<MOD2 g>"
50 DataPilotSelection.typekeys "<MOD2 l>"
52 DataPilotSelection.typekeys "<MOD2 R>"
54 DataPilotSelection.typekeys "<MOD2 d>"
56 DataPilotSelection.typekeys "<MOD2 l>"
57 case 55 : ' Portuguese
58 DataPilotSelection.typekeys "<MOD2 h>"
60 DataPilotSelection.typekeys "<MOD2 B>"
62 DataPilotSelection.typekeys "<MOD2 B>"
63 case 86 : ' Chinese (simplified)
64 DataPilotSelection.typekeys "<MOD2 B>"
65 case 88 : ' Chinese (traditional)
66 DataPilotSelection.typekeys "<MOD2 B>"
67 case else : ' Fallback
68 QAErrorLog "Now, the test does not support for the language " +iSprache
69 fDataPilotRowSelection = FALSE
74 '----------------------------------------------------
76 function fDataPilotColumnSelection()
78 fDataPilotColumnSelection = TRUE
81 case 01 : ' English (USA)
82 DataPilotSelection.typekeys "<MOD2 C>"
84 DataPilotSelection.typekeys "<MOD2 C>"
86 DataPilotSelection.typekeys "<MOD2 C>"
88 DataPilotSelection.typekeys "<MOD2 C>"
90 DataPilotSelection.typekeys "<MOD2 m>"
92 DataPilotSelection.typekeys "<MOD2 S>"
93 case 55 : ' Portuguese
94 DataPilotSelection.typekeys "<MOD2 C>"
96 DataPilotSelection.typekeys "<MOD2 A>"
98 DataPilotSelection.typekeys "<MOD2 A>"
99 case 86 : ' Chinese (simplified)
100 DataPilotSelection.typekeys "<MOD2 A>"
101 case 88 : ' Chinese (traditional)
102 DataPilotSelection.typekeys "<MOD2 A>"
103 case else : ' Fallback
104 QAErrorLog "Now, the test does not support for the language " +iSprache
105 fDataPilotColumnSelection = FALSE
110 '----------------------------------------------------
112 function fDataPilotDataSelection()
114 fDataPilotDataSelection = TRUE
117 case 01 : ' English (USA)
118 DataPilotSelection.typekeys "<MOD2 D>"
120 DataPilotSelection.typekeys "<MOD2 D>"
122 DataPilotSelection.typekeys "<MOD2 t>"
124 DataPilotSelection.typekeys "<MOD2 D>"
126 DataPilotSelection.typekeys "<MOD2 t>"
128 DataPilotSelection.typekeys "<MOD2 D>"
129 case 55 : ' Portuguese
130 DataPilotSelection.typekeys "<MOD2 D>"
132 DataPilotSelection.typekeys "<MOD2 C>"
134 DataPilotSelection.typekeys "<MOD2 C>"
135 case 86 : ' Chinese (simplified)
136 DataPilotSelection.typekeys "<MOD2 C>"
137 case 88 : ' Chinese (traditional)
138 DataPilotSelection.typekeys "<MOD2 C>"
139 case else : ' Fallback
140 QAErrorLog "Now, the test does not support for the language " +iSprache
141 fDataPilotDataSelection = FALSE
146 '----------------------------------------------------
148 function fDataPilotPageSelection()
150 fDataPilotPageSelection = TRUE
153 case 01 : ' English (USA)
154 DataPilotSelection.typekeys "<MOD2 P>"
155 case else : ' Fallback
156 QAErrorLog "Now, the test does not support for the language " +iSprache
157 fDataPilotPageSelection = FALSE