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 2008 by Sun Microsystems, Inc.
7 '* OpenOffice.org - a multi-platform office productivity suite
9 '* $RCSfile: g_toolbars.inc,v $
13 '* last change: $Author: jsi $ $Date: 2008-06-16 10:42:40 $
15 '* This file is part of OpenOffice.org.
17 '* OpenOffice.org is free software: you can redistribute it and/or modify
18 '* it under the terms of the GNU Lesser General Public License version 3
19 '* only, as published by the Free Software Foundation.
21 '* OpenOffice.org is distributed in the hope that it will be useful,
22 '* but WITHOUT ANY WARRANTY; without even the implied warranty of
23 '* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 '* GNU Lesser General Public License version 3 for more details
25 '* (a copy is included in the LICENSE file that accompanied this code).
27 '* You should have received a copy of the GNU Lesser General Public License
28 '* version 3 along with OpenOffice.org. If not, see
29 '* <http://www.openoffice.org/license.html>
30 '* for a copy of the LGPLv3 License.
32 '/************************************************************************
34 '* Owner : wolfram.garten@sun.com
36 '* short description :
38 '*********************************************************************
39 ' #1 Toolboxen_Rechtecke
41 ' #1 Toolboxen_3dObjekte
44 '\********************************************************************
47 testcase Toolboxen_Rechtecke
48 Printlog "- Toolbox rectangles"
52 Printlog "- 1.: Create rectangles, apply shadow and move them around"
56 case 1 : Printlog "- Create Rectangle Filled"
58 case 2 : Printlog "- Create Rectangle Round-Filled"
59 WL_SD_RechteckRundVoll
61 case 3 : Printlog "- Create Quadrat Filled"
64 case 4 : Printlog "Create Quadrat Round-Filled"
69 Kontext "DocumentImpress"
74 Kontext "DocumentImpress"
78 gMouseMove 30,30,90,90
81 gMouseMove 90,90,30,30
84 gMouseMove 30,30,90,90
87 gMouseMove 90,90,30,30
93 '**********************************************************************
94 testcase Toolboxen_Kreise
95 Printlog "- Toolbox Circles"
101 Printlog "- Create circles and ellipses"
103 case 1 : WL_SD_Ellipsen
105 Kontext "DocumentImpress"
106 gMouseMove 20,20,60,60
107 case 2 : WL_SD_EllipseVoll
109 Kontext "DocumentImpress"
110 gMouseMove 20,20,60,60
111 case 3 : WL_SD_EllipsensegmentVoll
113 kontext "DocumentImpress"
114 gMouseMove 20,20,40,40
117 case 4 : WL_SD_EllipsenabschnittVoll
119 kontext "DocumentImpress"
120 gMouseMove 20,20,40,40
123 case 5 : WL_SD_KreisVoll
125 kontext "DocumentImpress"
126 gMouseMove 20,20,40,40
127 case 6 : WL_SD_KreissegmentVoll
129 kontext "DocumentImpress"
130 gMouseMove 20,20,40,40
133 case 7 : WL_SD_KreisabschnittVoll
135 kontext "DocumentImpress"
136 gMouseMove 20,20,40,40
143 Kontext "TabSchatten"
147 Kontext "DocumentImpress"
151 gMouseMove 90,90,30,30
154 gMouseMove 30,30,90,90
157 gMouseMove 90,90,30,30
160 gMouseMove 30,30,90,90
163 gMouseMove 90,90,30,30
168 '***********************************************************************************
169 testcase Toolboxen_3dObjekte
170 Printlog "- Toolbox 3D objects"
174 Printlog "- Create 3D objects"
176 printlog "doing now: "+i
179 Kontext "DocumentImpress"
180 gMouseMove 20,20,60,60
183 Kontext "DocumentImpress"
184 gMouseMove 20,20,60,60
185 case 3 : WL_SD_Zylinder
187 kontext "DocumentImpress"
188 gMouseMove 20,20,40,40
191 kontext "DocumentImpress"
192 gMouseMove 20,20,40,40
193 case 5 : WL_SD_Pyramide
195 kontext "DocumentImpress"
196 gMouseMove 20,20,40,40
199 kontext "DocumentImpress"
200 gMouseMove 20,20,40,40
201 case 7 : WL_SD_Schale
203 kontext "DocumentImpress"
204 gMouseMove 20,20,40,40
205 case 8 : WL_SD_Halbkugel
211 Kontext "TabSchatten"
215 Kontext "DocumentImpress"
218 gMouseMove 90,90,30,30
220 gMouseMove 30,30,90,90
222 gMouseMove 90,90,30,30
224 gMouseMove 30,30,90,90
226 gMouseMove 90,90,30,30
231 Printlog "- 3D-body created"
233 '******************************************************************************
234 testcase Toolboxen_Linien
235 Printlog "- Toolbox Lines "
237 Printlog "- Create lines and arrows"
241 Kontext "DocumentImpress"
242 gMouseMove 20,20,60,60
243 case 2 : WL_SD_LinieMitPfeilende
245 Kontext "DocumentImpress"
246 gMouseMove 20,20,60,60
247 case 3 : WL_SD_LinieMitPfeilKreisende
249 kontext "DocumentImpress"
250 gMouseMove 20,20,40,40
251 case 4 : WL_SD_LiniemitPfeilQuadratende
253 kontext "DocumentImpress"
254 gMouseMove 20,20,40,40
255 case 5 : WL_SD_Liniewinkel
257 kontext "DocumentImpress"
258 gMouseMove 20,20,40,40
259 case 6 : WL_SD_LinieMitPfeilanfang
261 kontext "DocumentImpress"
262 gMouseMove 20,20,40,40
263 case 7 : WL_SD_LinieMitKreisPfeilende
265 kontext "DocumentImpress"
266 gMouseMove 20,20,40,40
267 case 8 : WL_SD_LiniemitPfeilKreisende
269 case 9 : WL_SD_Masslinie
271 kontext "DocumentImpress"
272 gMouseMove 20,20,40,40
273 case 10 : WL_SD_LinieMitPfeilenden
276 Kontext "DocumentImpress"
280 gMouseMove 80,80,25,25
282 gMouseMove 25,25,90,90
284 gMouseClick 90,90,25,25
291 '********************************************************************
292 testcase Toolboxen_Kurven
293 Printlog "- Toolbox curves"
299 case 1 : WL_SD_KurveVoll
301 gMouseMove 20,20,60,60
303 gMouseMove 70,70,30,30
304 gMouseDoubleClick 30,30
305 case 2 : WL_SD_KurveLeer
307 gMouseMove 20,20,60,60
309 gMouseMove 70,70,30,30
310 gMouseDoubleClick 30,30
311 case 3 : WL_SD_PolygonVoll
313 gMouseMove 20,20,60,60
318 gMouseDoubleClick 50,50
319 case 4 : WL_SD_Polygon
321 gMouseMove 20,20,60,60
326 gMouseDoubleClick 50,50
327 case 5 : WL_SD_PolygonWinkelVoll
329 gMouseMove 20,20,60,60
334 gMouseDoubleClick 50,50
335 case 6 : WL_SD_PolygonWinkel
337 gMouseMove 20,20,60,60
342 gMouseDoubleClick 50,50
343 case 7 : WL_SD_FreihandlinieVoll
345 gMouseMove 10,10,70,70
346 gMouseMove 20,20,30,80
347 case 8 : WL_SD_FreihandlinieLeer
349 gMouseMove 10,10,70,70
350 gMouseMove2 70,70,20,20
351 gMouseMove 20,20,30,80
353 Kontext "DocumentImpress"
358 Warnlog "- Nothing in the document to cut out"