Update ooo320-m1
[ooovba.git] / testautomation / graphics / required / i_opt.bas
blob8287e7cd4f7fb7110a857f7e27c443792e971a47
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: i_opt.bas,v $
11 '* $Revision: 1.1 $
13 '* last change: $Author: jsi $ $Date: 2008-06-16 10:42:59 $
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 : Impress Options Test
38 '\******************************************************************
40 'Variables:
42 global ExtensionString as String
44 '------------------------------------------------------------------------------'
45 sub main
46 PrintLog "------------------- Impress Options Test -------------------------"
48 Call hStatusIn ( "Graphics","i_opt.bas" )
50 use "graphics\tools\id_tools.inc"
51 use "graphics\tools\id_tools_2.inc"
52 use "graphics\required\includes\global\id_opt_1.inc"
53 use "graphics\required\includes\global\id_opt_2.inc"
54 use "graphics\required\includes\impress\i_opt_1_.inc"
56 printLog Chr(13) + "--------- Options - Tools Impress - ----------"
58 ' Special Tests
59 Call tToolsOptionsMeasurementUnit ("IMPRESS")
60 Call tiAlwaysWithCurrentPage
62 ' More common tests
63 Call tToolsOptionsDrawGeneral ("IMPRESS")
64 Call tToolsOptionsDrawView ("IMPRESS")
65 Call tToolsOptionsDrawGrid ("IMPRESS")
66 Call tToolsOptionsDrawPrint ("IMPRESS")
68 Call hStatusOut
69 end sub
71 '------------------------------------------------------------------------------'
73 sub LoadIncludeFiles
74 use "global\system\includes\master.inc"
75 use "global\system\includes\gvariabl.inc"
76 gApplication = "IMPRESS"
77 Call GetUseFiles
78 end sub
80 '------------------------------------------------------------------------------'