merge the formfield patch from ooo-build
[ooovba.git] / testautomation / writer / optional / w_dropdownLB.bas
blob0169c16ecc32a0c0794426281af5ad823565a024
1 'encoding UTF-8 Do not remove or change this line!
2 '**************************************************************************
3 '* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 '*
5 '* Copyright 2008 by Sun Microsystems, Inc.
6 '*
7 '* OpenOffice.org - a multi-platform office productivity suite
8 '*
9 '* $RCSfile: w_dropdownLB.bas,v $
11 '* $Revision: 1.1 $
13 '* last change: $Author: fredrikh $ $Date: 2008-06-18 09:11:25 $
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 : helge.delfs@sun.com
36 '* short description : Test Drop Down List Box
38 '\*******************************************************************
40 sub main
42 Dim StartZeit
43 StartZeit = Now()
45 use "writer\tools\includes\w_tools.inc"
46 use "writer\tools\includes\w_tool3.inc"
47 use "writer\optional\includes\tools\tools1.inc"
48 use "writer\optional\includes\tools\tools2.inc"
49 use "writer\optional\includes\dropdownLB\w_dropdownLB1.inc"
51 printlog Chr(13) + "Loading of Include - Files takes: " + Wielange ( StartZeit )
52 printlog Chr(13) + "******* Writer - Level 1 - Test *******"
54 Call hStatusIn ( "writer", "w_dropdownLB.bas","Dropdown listbox" )
55 Call wOptionsUndo ( "All" ) ' Sets all writer-options to default
57 printlog Chr(13) + " - Test Drop Down List Box"
59 Call tDropDownLB_1
60 Call tDropDownLB_2
61 Call tDropDownLB_3
62 Call tDropDownLB_4
63 Call tDropDownLB_5
64 Call tDropDownLB_6
65 Call tDropDownLB_7
66 Call tDropDownLB_8
67 Call tDropDownLB_9
68 Call tDropDownLB_10
69 Call tDropDownLB_11
70 Call tDropDownLB_12
71 Call tDropDownLB_13
72 Call tDropDownLB_14
73 Call tDropDownLB_15
74 Call tDropDownLB_16
75 Call tDropDownLB_17
77 Call hStatusOut
79 Printlog Chr(13) + "End of Level 1 Test - Drop Down List Box"
80 Printlog "Duration: "+ WieLange ( StartZeit )
81 Printlog "Date: " + Date + " Time: " + Time
83 end sub
85 sub LoadIncludeFiles
86 use "global\system\includes\master.inc"
87 use "global\system\includes\gvariabl.inc"
88 Call GetUseFiles
89 gApplication = "WRITER"
90 end Sub