merge the formfield patch from ooo-build
[ooovba.git] / testautomation / math / required / includes / m_006_.inc
blob43f71895e8dd44f70b6fc7dbc48b4800154bd444
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: m_006_.inc,v $
9 '*
10 '* $Revision: 1.1 $
12 '* last change: $Author: jsi $ $Date: 2008-06-16 11:51:23 $
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 : thorsten.bosbach@sun.com
35 '* short description :
37 '\*****************************************************************
39 sub m_006_
41    printlog Chr(13) +  "--  Window-Menu  --"
43    Call tWindowNewWindow
45 end sub
47 '-----------------------------------------------------------
48 testcase tWindowNewWindow
49    PrintLog "- Window/NewWindow"
51    Call hNewDocument
52    Call SchreibenInMathdok "f(x) = x sup 2 + 2x"
54    WindowNewWindow
55    Sleep 2
56    hCloseDocument
57 endcase