update dev300-m58
[ooovba.git] / testautomation / writer / optional / w_numbering.bas
blob432b5a252de2fc08db394704e3edc9d6a8a9c5e3
1 '**************************************************************************
2 '* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3 '*
4 '* Copyright 2008 by Sun Microsystems, Inc.
5 '*
6 '* OpenOffice.org - a multi-platform office productivity suite
7 '*
8 '* $RCSfile: w_numbering.bas,v $
9 '*
10 '* $Revision: 1.1 $
12 '* last change: $Author: fredrikh $ $Date: 2008-06-18 09:11:26 $
14 '* This file is part of OpenOffice.org.
16 '* OpenOffice.org is free software: you can redistribute it and/or modify
17 '* it under the terms of the GNU Lesser General Public License version 3
18 '* only, as published by the Free Software Foundation.
20 '* OpenOffice.org is distributed in the hope that it will be useful,
21 '* but WITHOUT ANY WARRANTY; without even the implied warranty of
22 '* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 '* GNU Lesser General Public License version 3 for more details
24 '* (a copy is included in the LICENSE file that accompanied this code).
26 '* You should have received a copy of the GNU Lesser General Public License
27 '* version 3 along with OpenOffice.org. If not, see
28 '* <http://www.openoffice.org/license.html>
29 '* for a copy of the LGPLv3 License.
31 '/************************************************************************
33 '* owner : helge.delfs@sun.com
35 '* short description : Writer numbering test
37 '\***********************************************************************
39 global TBOstringLocale(30) as string
40 global WriterFilterExtension(10) as string
42 sub main
43 Dim StartZeit
44 StartZeit = Now()
46 use "writer\tools\includes\w_tools.inc"
47 use "writer\tools\includes\w_tool5.inc"
48 use "writer\tools\includes\w_tool6.inc"
49 use "writer\tools\includes\w_tool7.inc"
50 use "writer\optional\includes\number\w_205_.inc"
51 use "writer\optional\includes\number\w_205a_.inc"
52 use "writer\optional\includes\number\w_206_.inc"
53 use "writer\optional\includes\number\w_207_.inc"
55 printlog Chr(13) + "Loading of Include - Files takes: " + Wielange ( StartZeit )
57 WriterFilterExtension() = hGetFilternameExtension ( "writer8" )
59 Call hStatusIn("writer","w_numbering.bas","Writer Numbering test")
60 Printlog ""
61 Printlog "----------------------------------------------------------"
62 Printlog "| Writer Numbering Test |"
63 Printlog "----------------------------------------------------------"
64 Printlog ""
65 Call w_205_
66 Call w_205a_
67 Call w_206_
68 Call w_207_
69 Call hStatusOut
71 Printlog "Duration: "+ WieLange ( StartZeit )
72 Printlog "Date: " + Date + " Time: " + Time
73 end sub
75 sub LoadIncludeFiles
76 use "global\system\includes\master.inc"
77 use "global\system\includes\gvariabl.inc"
78 use "global\tools\includes\optional\t_ui_filters.inc"
79 Call GetUseFiles
80 gApplication = "WRITER"
81 end sub