1 '**************************************************************************
2 ' DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 ' Copyright 2000, 2010 Oracle and/or its affiliates.
6 ' OpenOffice.org - a multi-platform office productivity suite
8 ' This file is part of OpenOffice.org.
10 ' OpenOffice.org is free software: you can redistribute it and/or modify
11 ' it under the terms of the GNU Lesser General Public License version 3
12 ' only, as published by the Free Software Foundation.
14 ' OpenOffice.org is distributed in the hope that it will be useful,
15 ' but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 ' GNU Lesser General Public License version 3 for more details
18 ' (a copy is included in the LICENSE file that accompanied this code).
20 ' You should have received a copy of the GNU Lesser General Public License
21 ' version 3 along with OpenOffice.org. If not, see
22 ' <http://www.openoffice.org/license.html>
23 ' for a copy of the LGPLv3 License.
25 '/************************************************************************
27 '* owner : helge.delfs@oracle.com
29 '* short description : Search & Replace and testing of regular expressions
31 '\***********************************************************************
33 global Such_Text
as string
34 global Vergleichstext
as string
35 global Meldungs_Text
as string
36 global dummy_Text
as string
39 use
"writer\optional\includes\regexp\regular.inc"
40 use
"writer\optional\includes\regexp\search.inc"
42 Dim Start
: Start
= Now()
44 Call hStatusIn("writer","w_search.bas","Search & Replace")
45 printlog
"** Search and Replace **"
47 printlog
"** Regular expressions **"
51 printlog
"Duration : " + Wielange ( Start
)
55 use
"global\system\includes\master.inc"
56 use
"global\system\includes\gvariabl.inc"
57 gApplication
= "WRITER"