Update ooo320-m1
[ooovba.git] / testautomation / framework / optional / f_filedlg_dialogtest.bas
blob3055d4f3076f6da64f5e8916c7366319717c5d38
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: f_filedlg_dialogtest.bas,v $
9 '*
10 '* $Revision: 1.3 $
12 '* last change: $Author: jsk $ $Date: 2008-06-20 08:07:02 $
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 '/************************************************************************
32 ' **
33 ' ** owner : joerg.skottke@sun.com
34 ' **
35 ' ** short description : check the internal file dialog (Dialog)
36 ' **
37 '\******************************************************************************
39 sub main
41 use "framework\optional\includes\filedlg_triggers.inc"
42 use "framework\optional\includes\filedlg_rename.inc"
43 use "framework\optional\includes\filedlg_document_properties.inc"
44 use "framework\optional\includes\filedlg_filternames.inc"
46 call hStatusIn ( "framework", "f_filedlg_dialogtest.bas" )
47 call tDialogTriggers()
48 call tFiledlgDocumentProperties()
49 call tVerifyFilterNames()
50 call tFileRename()
51 call hStatusOut
53 end sub
55 ' ****************************************
57 sub LoadIncludeFiles
59 use "global\system\includes\master.inc"
60 use "global\system\includes\gvariabl.inc"
62 use "global\tools\includes\optional\t_stringtools.inc"
63 use "global\tools\includes\optional\t_listfuncs.inc"
64 use "global\tools\includes\optional\t_filetools.inc"
65 use "global\tools\includes\optional\t_docfuncs.inc"
66 use "global\tools\includes\optional\t_accels.inc"
68 use "framework\tools\includes\tabpages.inc"
70 gApplication = "WRITER"
71 Call GetUseFiles
73 end sub