summaryrefslogtreecommitdiff
path: root/svx/inc
diff options
context:
space:
mode:
authorThomas Lange <tl@openoffice.org>2001-02-23 12:12:55 +0000
committerThomas Lange <tl@openoffice.org>2001-02-23 12:12:55 +0000
commitf50b87327aba6d6186702c8c9b927ce6412182a6 (patch)
tree3bc543a06922fa2ed0655b162ae5b6b136675ad8 /svx/inc
parent180450ba6be5e58ed88b428e6da33a1d83cd3961 (diff)
class SvxJSearchOptionsDialog added
Diffstat (limited to 'svx/inc')
-rw-r--r--svx/inc/srchdlg.hxx42
1 files changed, 40 insertions, 2 deletions
diff --git a/svx/inc/srchdlg.hxx b/svx/inc/srchdlg.hxx
index ecf7d4ad5948..17cbf15b571d 100644
--- a/svx/inc/srchdlg.hxx
+++ b/svx/inc/srchdlg.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: srchdlg.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: tl $ $Date: 2001-02-21 13:23:36 $
+ * last change: $Author: tl $ $Date: 2001-02-23 13:08:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -91,6 +91,9 @@
#ifndef _SFX_CHILDWIN_HXX //autogen
#include <sfx2/childwin.hxx>
#endif
+#ifndef _BASEDLGS_HXX
+#include <sfx2/basedlgs.hxx>
+#endif
#ifndef _SVARRAY_HXX //autogen
#include <svtools/svarray.hxx>
#endif
@@ -111,6 +114,8 @@
class SvxSearchItem;
class MoreButton;
class SfxStyleSheetBasePool;
+class SvxJSearchOptionsPage;
+
struct SearchDlg_Impl;
#ifndef NO_SVX_SEARCH
@@ -181,6 +186,7 @@ class SvxSearchDialog : public ModelessDialog
{
friend class SvxSearchController;
friend class SvxSearchDialogWrapper;
+ friend class SvxJSearchOptionsDialog;
public:
SvxSearchDialog( Window* pParent, SfxBindings& rBind );
@@ -188,6 +194,9 @@ public:
virtual BOOL Close();
+ // Window
+ virtual void Activate();
+
void GetSearchItems( SfxItemSet& rSet );
void GetReplaceItems( SfxItemSet& rSet );
@@ -329,6 +338,35 @@ inline BOOL SvxSearchDialog::HasReplaceAttributes() const
return ( aReplaceAttrText.IsEnabled() && bLen );
}
+
+//////////////////////////////////////////////////////////////////////
+
+
+class SvxJSearchOptionsDialog : public SfxSingleTabDialog
+{
+ SvxSearchDialog &rDialog;
+ SvxJSearchOptionsPage *pPage;
+
+ // disallow copy-constructor and assignment-operator for now
+ SvxJSearchOptionsDialog( const SvxJSearchOptionsDialog & );
+ SvxJSearchOptionsDialog & operator == ( const SvxJSearchOptionsDialog & );
+
+public:
+ SvxJSearchOptionsDialog( SvxSearchDialog &rParent,
+ const SfxItemSet& rOptionsSet, USHORT nUniqueId );
+ virtual ~SvxJSearchOptionsDialog();
+
+ // Window
+ virtual void Activate();
+
+ INT32 GetTransliterationFlags() const;
+ void SetTransliterationFlags( INT32 nSettings );
+};
+
+
+//////////////////////////////////////////////////////////////////////
+
+
#endif // SV_NODIALOG
#endif // NO_SVX_SEARCH