update dev300-m58
[ooovba.git] / testautomation / writer / optional / w_alternative_text.bas
blob86cf50a6bd5c5600591be047b0091f43c730416e
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_alternative_text.bas,v $
9 '*
10 '* $Revision: 1.1 $
12 '* last change: $Author: hde $ $Date: 2008-06-18 09:11:25 $
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 : Alternative Texts For Writer Objects
37 '\***********************************************************************
39 sub main
40 Dim StartTime
41 StartTime = Now()
43 use "writer\tools\includes\w_tools.inc"
45 use "writer\optional\includes\alternative_text\w_alternative_text.inc"
47 printlog Chr(13) + "Loading of Include - Files takes: " + Wielange ( StartTime )
48 printlog Chr(13) + "******* Writer - Alternative Text - Test *******"
50 Call hStatusIn ( "writer", "w_alternative_text.bas" )
51 Call w_alternative_text
52 Call hStatusOut
54 Printlog Chr(13) + "End of Autotest:"
55 Printlog "Duration: "+ WieLange ( StartTime )
56 Printlog "Date: " + Date + " Time: " + Time
58 end sub
60 sub LoadIncludeFiles
61 use "global\system\includes\master.inc"
62 use "global\system\includes\gvariabl.inc"
63 Call GetUseFiles
64 gApplication = "WRITER"
65 end sub