1 'encoding UTF-8 Do not remove or change this line!
2 '**************************************************************************
3 '* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 '* Copyright 2008 by Sun Microsystems, Inc.
7 '* OpenOffice.org - a multi-platform office productivity suite
9 '* $RCSfile: m_003_.inc,v $
13 '* last change: $Author: jsi $ $Date: 2008-06-16 11:51:23 $
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 : thorsten.bosbach@sun.com
36 '* short description :
38 '\*****************************************************************
41 printlog Chr(13)+"-- File_View m_003_ --"
45 Call tViewAutomaticRepaint
49 Call tViewEntireDesktop
53 '/// open application ///'
55 '/// type something into the document ///'
56 Call SchreibenInMathdok "What's the matter?"
59 '/// View -> Zoom ///'
62 DialogTest ( Massstab )
63 '/// check checkbox 'Entire Page' ///'
65 '/// check checkbox 'Page Width' ///'
67 '/// check checkbox 'Optmal' ///'
69 '/// check checkbox 'Variable' ///'
70 VergroesserungStufenlos.check
71 '/// cancel dialog 'Zoom' ///'
73 '///View -> Zoom In ///
76 '///View -> Zoom Out ///
79 '///View -> Show All ///
82 '/// close application ///'
87 '/// open application ///'
89 '/// type something into the document ///'
90 Call SchreibenInMathdok "a sup b"
93 '/// View->Update ///'
96 '/// close application ///'
100 testcase tViewAutomaticRepaint
101 '/// open application ///'
103 '/// type something into the document ///'
104 Call SchreibenInMathdok "a sup b"
105 '/// View->AutoUpdate Display ///'
106 ViewAutoUpdateDisplay
107 '/// Edit->Paste ///'
110 '/// View->AutoUpdate Display ///'
111 ViewAutoUpdateDisplay
113 '/// close application ///'
118 '/// open application ///'
120 '/// type something into the document ///'
121 SchreibenInMathdok "a sup b"
123 '/// View->Toolbars->Function bar ///'
126 '/// View->Toolbars->Function bar ///'
129 '/// View->Toolbars->Main Toolbar ///'
132 '/// View->Toolbars->Main Toolbar ///'
135 '/// View->Status bar ///'
136 ViewToolbarsStatusbar
138 '/// View->Status bar ///'
139 ViewToolbarsStatusbar
142 warnlog "toolbar slots not accessible"
144 '/// close application ///'
148 testcase tViewOperators
149 '/// open application ///'
151 '/// type something into the document ///'
152 Call SchreibenInMathdok "a over b"
153 '/// View->Selection ///'
156 '/// View->Selection ///'
158 Kontext "OperatorenMath"
159 if (NOT OperatorenMath.Exists (2)) then
161 printlog "View Selection wasn't visible :-( now is!"
163 Call DialogTest ( OperatorenMath )
164 '/// close application ///'
168 testcase tViewEntireDesktop
169 '/// open application ///'
171 '/// type something into the document ///'
172 Call SchreibenInMathdok "(a over ba) over (a + 1/2 * b )"
173 '/// View->Full Screen ///'
176 '/// View->Full Screen ///'
179 '/// close application ///'