merge the formfield patch from ooo-build
[ooovba.git] / svx / source / cui / cuisrchdlg.hxx
blob7ed9b2a508a4aaf6922849dcb643cf87778a2bab
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: cuisrchdlg.hxx,v $
10 * $Revision: 1.5 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef _CUI_SRCHDLG_HXX
31 #define _CUI_SRCHDLG_HXX
33 // include ---------------------------------------------------------------
36 #include <svtools/stdctrl.hxx>
37 #ifndef _COMBOBOX_HXX //autogen
38 #include <vcl/combobox.hxx>
39 #endif
40 #ifndef _EDIT_HXX //autogen
41 #include <vcl/edit.hxx>
42 #endif
43 #ifndef _LSTBOX_HXX //autogen
44 #include <vcl/lstbox.hxx>
45 #endif
46 #ifndef _BUTTON_HXX //autogen
47 #include <vcl/button.hxx>
48 #endif
49 #ifndef _GROUP_HXX //autogen
50 #include <vcl/group.hxx>
51 #endif
52 #ifndef _FIXED_HXX //autogen
53 #include <vcl/fixed.hxx>
54 #endif
55 #ifndef _DIALOG_HXX //autogen
56 #include <vcl/dialog.hxx>
57 #endif
58 #include <sfx2/childwin.hxx>
59 #include <sfx2/basedlgs.hxx>
60 #include <svtools/svarray.hxx>
61 #define _SVSTDARR_STRINGSDTOR
62 #include <svtools/svstdarr.hxx>
63 #include <svtools/svmedit.hxx>
64 #include <sfx2/srchdefs.hxx>
66 class SvxJSearchOptionsPage;
68 class SvxJSearchOptionsDialog : public SfxSingleTabDialog
70 INT32 nInitialTlFlags;
71 SvxJSearchOptionsPage *pPage;
73 // disallow copy-constructor and assignment-operator for now
74 SvxJSearchOptionsDialog( const SvxJSearchOptionsDialog & );
75 SvxJSearchOptionsDialog & operator == ( const SvxJSearchOptionsDialog & );
77 public:
78 SvxJSearchOptionsDialog( Window *pParent,
79 const SfxItemSet& rOptionsSet, USHORT nUniqueId,
80 INT32 nInitialFlags );
81 virtual ~SvxJSearchOptionsDialog();
83 // Window
84 virtual void Activate();
86 INT32 GetTransliterationFlags() const;
87 void SetTransliterationFlags( INT32 nSettings );
90 #endif