summaryrefslogtreecommitdiff
path: root/testautomation/writer/required/w_updt_1.bas
diff options
context:
space:
mode:
Diffstat (limited to 'testautomation/writer/required/w_updt_1.bas')
-rw-r--r--testautomation/writer/required/w_updt_1.bas78
1 files changed, 78 insertions, 0 deletions
diff --git a/testautomation/writer/required/w_updt_1.bas b/testautomation/writer/required/w_updt_1.bas
new file mode 100644
index 000000000000..c6f633ec7375
--- /dev/null
+++ b/testautomation/writer/required/w_updt_1.bas
@@ -0,0 +1,78 @@
+'encoding UTF-8 Do not remove or change this line!
+'**************************************************************************
+' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+'
+' Copyright 2000, 2010 Oracle and/or its affiliates.
+'
+' OpenOffice.org - a multi-platform office productivity suite
+'
+' This file is part of OpenOffice.org.
+'
+' OpenOffice.org is free software: you can redistribute it and/or modify
+' it under the terms of the GNU Lesser General Public License version 3
+' only, as published by the Free Software Foundation.
+'
+' OpenOffice.org is distributed in the hope that it will be useful,
+' but WITHOUT ANY WARRANTY; without even the implied warranty of
+' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+' GNU Lesser General Public License version 3 for more details
+' (a copy is included in the LICENSE file that accompanied this code).
+'
+' You should have received a copy of the GNU Lesser General Public License
+' version 3 along with OpenOffice.org. If not, see
+' <http://www.openoffice.org/license.html>
+' for a copy of the LGPLv3 License.
+'
+'/************************************************************************
+'*
+'* owner : helge.delfs@oracle.com
+'*
+'* short description : Ressource-Test Writer Document Part 1 / 2
+'*
+'\******************************************************************
+
+sub main
+ use "writer\tools\includes\w_tools.inc" ' global subroutines for Writer-application
+ use "writer\tools\includes\w_tool1.inc" ' global subroutines for Writer-application
+ use "writer\tools\includes\w_tool2.inc" ' global subroutines for Writer-application
+
+ use "writer\required\includes\w_001_.inc"
+ use "writer\required\includes\w_001a_.inc"
+ use "writer\required\includes\w_001b_.inc"
+ use "writer\required\includes\w_002_.inc"
+ use "writer\required\includes\w_003_.inc"
+ use "writer\required\includes\w_004_.inc"
+ use "writer\required\includes\w_004b_.inc"
+ use "writer\required\includes\w_005_.inc"
+ use "writer\required\includes\w_005b_.inc"
+
+ Printlog "******* Ressource-Test Writer Document Part 1 / 2 *******"
+
+ Call wChangeDefaultView()
+
+ Call hStatusIn ( "writer", "w_updt_1.bas" )
+ Call w_001_ ' Menu File
+ Call w_001a_ ' Menu File
+ Call w_001b_ ' Menu File
+ Call w_002_ ' Menu Edit
+ Call w_003_ ' Menu View
+ Call w_004_ ' Menu Insert
+ Call w_004b_ ' Menu Insert
+ Call w_005_ ' Menu Format
+ Call w_005b_ ' Menu Format (2)
+ Call hStatusOut
+
+end sub
+
+sub LoadIncludeFiles
+ use "global\system\includes\master.inc"
+ use "global\system\includes\gvariabl.inc"
+ use "global\required\includes\g_001.inc"
+ use "global\required\includes\g_printing.inc"
+ use "global\tools\includes\optional\t_xml_filter1.inc" ' global routines for XML-functionality
+ use "global\tools\includes\optional\t_docfuncs.inc"
+ use "global\tools\includes\optional\t_control_objects.inc"
+
+ gApplication = "WRITER"
+ GetUseFiles ()
+end sub