update dev300-m58
[ooovba.git] / testautomation / writer / optional / w_redlining.bas
blobcc1e404c7c094df0a97c12725897dcb3b5c78340
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: w_redlining.bas,v $
11 '* $Revision: 1.2 $
13 '* last change: $Author: fredrikh $ $Date: 2008-06-18 20:00:34 $
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 : helge.delfs@sun.com
36 '* short description : Test of the Redlining function
38 '\*******************************************************************
40 sub main
41 Dim StartZeit
42 StartZeit = Now()
44 use "writer\tools\includes\w_tools.inc"
45 use "writer\tools\includes\w_tool2.inc"
46 use "writer\tools\includes\w_tool3.inc"
47 use "writer\optional\includes\tools\tools1.inc"
48 use "writer\optional\includes\tools\tools2.inc"
49 use "writer\optional\includes\redlining\w_redlining1.inc"
50 use "writer\optional\includes\redlining\w_redlining2.inc"
52 printlog Chr(13) + "Loading of Include - Files takes: " + Wielange ( StartZeit )
53 printlog Chr(13) + "******* Writer - Level 1 - Test *******"
55 Call hStatusIn ( "writer", "w_redlining.bas" , "Redlining" )
57 Call tRedlining_1
58 Call tRedlining_2
59 Call tRedlining_3
60 Call tRedlining_4
61 Call tRedlining_5
62 Call tRedlining_6
63 Call tRedlining_7
64 Call tRedlining_8
65 Call tRedlining_9
66 Call tRedlining_10
67 Call tRedlining_11
68 Call tRedlining_12
69 Call tRedlining_13
70 Call tRedlining_14
71 Call tRedlining_15
72 Call tRedlining_16
74 Call tAcceptReject_1
75 Call tAcceptReject_2
76 Call tAcceptReject_3
77 Call tAcceptReject_4
78 Call tAcceptReject_5
79 Call tAcceptReject_6
80 Call tAcceptReject_7
81 Call tAcceptReject_8
82 Call tAcceptReject_9
83 Call tAcceptReject_10
84 Call tAcceptReject_11
85 Call tAcceptReject_12
86 Call tAcceptReject_13
87 Call tAcceptReject_14
88 Call tAcceptReject_15
90 Call hStatusOut
92 Printlog Chr(13) + "End of Level 1 Test (Redlining):"
93 Printlog "Duration: "+ WieLange ( StartZeit )
94 Printlog "Date: " + Date + " Time: " + Time
96 end sub
98 sub LoadIncludeFiles
99 use "global\system\includes\master.inc"
100 use "global\system\includes\gvariabl.inc"
101 use "global\tools\includes\required\t_lists.inc"
102 Call GetUseFiles
103 gApplication = "WRITER"
104 end sub