merge the formfield patch from ooo-build
[ooovba.git] / testautomation / writer / optional / w_clipbrd.bas
blob2c17d77c63f68b117f7b76a1ffee1bd05b6212e6
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_clipbrd.bas,v $
11 '* $Revision: 1.1 $
13 '* last change: $Author: fredrikh $ $Date: 2008-06-18 09:11:25 $
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 : CROSS-APPLICATIONS CLIPBOARD TEST (Text only)
38 '\***********************************************************************
40 Global CharsetSet as integer
41 Global ExportSet as integer
43 sub main
44 use "writer\tools\includes\w_tools.inc"
45 use "writer\optional\includes\clipboard\clipbrd_func.inc"
46 use "writer\optional\includes\clipboard\w_210_.inc"
47 use "writer\optional\includes\clipboard\w_211_.inc"
48 use "writer\optional\includes\clipboard\w_212_.inc"
49 use "writer\optional\includes\clipboard\w_213_.inc"
50 use "writer\optional\includes\clipboard\w_214_.inc"
51 use "writer\optional\includes\clipboard\w_215_.inc"
52 use "writer\optional\includes\clipboard\w_216_.inc"
53 use "writer\optional\includes\clipboard\w_217_.inc"
54 use "writer\optional\includes\clipboard\w_218_.inc"
55 use "writer\optional\includes\clipboard\w_219_.inc"
56 use "writer\optional\includes\clipboard\w_220_.inc"
57 use "writer\optional\includes\clipboard\w_221_.inc"
58 use "writer\optional\includes\clipboard\w_222_.inc"
59 Dim Start : Start = Now()
61 ExportSet = wChangeHTMLCompatibilityExport
62 CharsetSet = wChangeHTMLCompatibility
63 Call hStatusIn("writer","w_clipbrd.bas","CROSS-APPLICATIONS CLIPBOARD TEST (Text only)")
65 Call w_210_
66 Call w_211_
67 Call w_212_
68 Call w_213_
69 Call w_214_
70 Call w_215_
71 Call w_216_
72 Call w_217_
73 Call w_218_
74 Call w_219_
75 Call w_220_
76 Call w_221_
77 Call w_222_
79 Call hStatusOut
80 Call wChangeHTMLCompatibility(CharsetSet)
81 Call wChangeHTMLCompatibilityExport(ExportSet)
83 printlog "Duration : " + Wielange ( Start )
84 end sub
86 '---------------------------------------------------------
87 sub LoadIncludeFiles
88 use "global\system\includes\master.inc"
89 use "global\system\includes\gvariabl.inc"
90 gApplication = "WRITER"
91 Call GetUseFiles
92 end sub