Update ooo320-m1
[ooovba.git] / testautomation / graphics / optional / i_slideshow.bas
blob713842be4ee3969fa5149577b540e75e5ffb68e0
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_slideshow.bas,v $
11 '* $Revision: 1.1 $
13 '* last change: $Author: jsi $ $Date: 2008-06-16 10:42:38 $
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 : Graphics Function: Slideshow
38 '\******************************************************************
40 public glLocale (15*20) as string
41 global S1 as string
42 global S2 as string
43 global S3 as string
44 global S4 as string
46 sub main
47 PrintLog "------------------------- slideshow test -------------------------"
48 Call hStatusIn ( "Graphics","i_slideshow.bas")
50 use "graphics\tools\id_tools.inc"
51 use "graphics\tools\id_tools_2.inc"
52 use "graphics\optional\includes\impress\i_slideshow.inc"
53 use "graphics\optional\includes\impress\i_slideshow2.inc"
54 use "graphics\optional\includes\impress\i_slideshow3.inc"
56 hSetLocaleStrings ( gTesttoolPath + "graphics\tools\locale_1.txt" , glLocale () )
57 if glLocale (2) = "" then
58 warnlog "Add 'slide' to FILE /input/impress/locale_1.txt (take string from below)!!!"
59 endif
61 '/// LOCALE Slide - 2 ///'
62 S1 = glLocale (2) + " 1"
63 S2 = glLocale (2) + " 2"
64 S3 = glLocale (2) + " 3"
65 S4 = glLocale (2) + " 4"
67 Call tSlideShowSlideTransition
68 Call tPraesentationAnimation
69 Call tAendernObjektBenennen
70 Call tSlideShowRehearseTimings
72 Call tSlideShowShowHideSlide
73 Call tExtrasInteraktion
74 Call tExtrasIndividuellePraesentation
75 Call tExtrasPraesentationseinstellungen
76 Call tSlideShowSlideShowSettings
77 Call tSlideShowSlideShow
78 Call tSlideShowInteraction
79 Call tSlideShowCustomSlideShow
80 Call tSlideshowBackgroundAllSlides
81 Call tSlideshowBackgroundSelectedSlide
82 Call tPraesentationEffekt
83 Call tExtrasEffekt
84 Call tSlideshowContextMenuOneSlide
85 Call tSlideshowContextMenuMoreSlides
86 Call tiMousePointerHides
87 Call tSlideShowRehearseTimings
89 Call hStatusOut
90 end sub
92 sub LoadIncludeFiles
93 use "global\system\includes\master.inc"
94 use "global\system\includes\gvariabl.inc"
95 use "global\tools\includes\optional\t_ui_filters.inc"
96 gApplication = "IMPRESS"
97 Call GetUseFiles
98 end sub