LibreOffice Module svx (master)  1
Classes | Namespaces | Macros | Enumerations | Functions
srchdlg.cxx File Reference
#include <osl/diagnose.h>
#include <vcl/timer.hxx>
#include <svl/slstitm.hxx>
#include <svl/itemiter.hxx>
#include <svl/style.hxx>
#include <unotools/intlwrapper.hxx>
#include <unotools/moduleoptions.hxx>
#include <unotools/searchopt.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/module.hxx>
#include <sfx2/viewsh.hxx>
#include <sfx2/basedlgs.hxx>
#include <sfx2/viewfrm.hxx>
#include <svl/cjkoptions.hxx>
#include <svl/ctloptions.hxx>
#include <com/sun/star/awt/XWindow.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/frame/XDispatch.hpp>
#include <com/sun/star/frame/XDispatchProvider.hpp>
#include <com/sun/star/frame/XLayoutManager.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/configuration/theDefaultProvider.hpp>
#include <com/sun/star/frame/ModuleManager.hpp>
#include <com/sun/star/ui/XUIElement.hpp>
#include <comphelper/processfactory.hxx>
#include <comphelper/scopeguard.hxx>
#include <svl/itempool.hxx>
#include <sfx2/app.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <svx/srchdlg.hxx>
#include <svx/strarray.hxx>
#include <svx/strings.hrc>
#include <svx/svxids.hrc>
#include <svl/srchitem.hxx>
#include <svx/pageitem.hxx>
#include "srchctrl.hxx"
#include <svx/dialmgr.hxx>
#include <editeng/brushitem.hxx>
#include <tools/resary.hxx>
#include <svx/svxdlg.hxx>
#include <vcl/toolbox.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <comphelper/lok.hxx>
#include <sfx2/lokhelper.hxx>
#include <cstdlib>
#include <memory>
#include <findtextfield.hxx>
#include <svx/labelitemwindow.hxx>
#include <svx/xdef.hxx>
#include <officecfg/Office/Common.hxx>
Include dependency graph for srchdlg.cxx:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< ModifyFlags >
 
struct  SearchDlg_Impl
 

Namespaces

 o3tl
 

Macros

#define IS_MOBILE   (comphelper::LibreOfficeKit::isActive() && SfxViewShell::Current() && SfxViewShell::Current()->isLOKMobilePhone())
 

Enumerations

enum  ModifyFlags {
  ModifyFlags::NONE = 0x000000,
  ModifyFlags::Search = 0x000001,
  ModifyFlags::Replace = 0x000002,
  ModifyFlags::Word = 0x000004,
  ModifyFlags::Exact = 0x000008,
  ModifyFlags::Backwards = 0x000010,
  ModifyFlags::Selection = 0x000020,
  ModifyFlags::Regexp = 0x000040,
  ModifyFlags::Layout = 0x000080,
  ModifyFlags::Similarity = 0x000100,
  ModifyFlags::Formulas = 0x000200,
  ModifyFlags::Values = 0x000400,
  ModifyFlags::CalcNotes = 0x000800,
  ModifyFlags::Rows = 0x001000,
  ModifyFlags::Columns = 0x002000,
  ModifyFlags::AllTables = 0x004000,
  ModifyFlags::Notes = 0x008000,
  ModifyFlags::Wildcard = 0x010000
}
 

Functions

static void ListToStrArr_Impl (sal_uInt16 nId, std::vector< OUString > &rStrLst, weld::ComboBox &rCBox, sal_uInt16 nRememberSize)
 
static void StrArrToList_Impl (sal_uInt16 nId, const std::vector< OUString > &rStrLst)
 
 IMPL_LINK_NOARG (SvxSearchDialog, PresentTimeoutHdl_Impl, Timer *, void)
 
 IMPL_LINK (SvxSearchDialog, LBSelectHdl_Impl, weld::ComboBox &, rCtrl, void)
 
 IMPL_LINK (SvxSearchDialog, FlagHdl_Impl, weld::Button &, rCtrl, void)
 
 IMPL_LINK (SvxSearchDialog, CommandHdl_Impl, weld::Button &, rBtn, void)
 
 IMPL_LINK (SvxSearchDialog, ModifyHdl_Impl, weld::ComboBox &, rEd, void)
 
 IMPL_LINK_NOARG (SvxSearchDialog, TemplateHdl_Impl, weld::Button &, void)
 
 IMPL_LINK (SvxSearchDialog, FocusHdl_Impl, weld::Widget &, rControl, void)
 
 IMPL_LINK_NOARG (SvxSearchDialog, LoseFocusHdl_Impl, weld::Widget &, void)
 
 IMPL_LINK_NOARG (SvxSearchDialog, FormatHdl_Impl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SvxSearchDialog, NoFormatHdl_Impl, weld::Button &, void)
 
 IMPL_LINK_NOARG (SvxSearchDialog, AttributeHdl_Impl, weld::Button &, void)
 
 IMPL_LINK (SvxSearchDialog, TimeoutHdl_Impl, Timer *, pTimer, void)
 
 SFX_IMPL_CHILDWINDOW_WITHID (SvxSearchDialogWrapper, SID_SEARCH_DLG)
 
static void lcl_SetSearchLabelWindow (const OUString &rStr)
 

Macro Definition Documentation

#define IS_MOBILE   (comphelper::LibreOfficeKit::isActive() && SfxViewShell::Current() && SfxViewShell::Current()->isLOKMobilePhone())

Definition at line 87 of file srchdlg.cxx.

Enumeration Type Documentation

enum ModifyFlags
strong
Enumerator
NONE 
Search 
Replace 
Word 
Exact 
Backwards 
Selection 
Regexp 
Layout 
Similarity 
Formulas 
Values 
CalcNotes 
Rows 
Columns 
AllTables 
Notes 
Wildcard 

Definition at line 89 of file srchdlg.cxx.

Function Documentation

IMPL_LINK ( SvxSearchDialog  ,
LBSelectHdl_Impl  ,
weld::ComboBox ,
rCtrl  ,
void   
)

Definition at line 1122 of file srchdlg.cxx.

IMPL_LINK ( SvxSearchDialog  ,
FlagHdl_Impl  ,
weld::Button ,
rCtrl  ,
void   
)

Definition at line 1127 of file srchdlg.cxx.

IMPL_LINK ( SvxSearchDialog  ,
CommandHdl_Impl  ,
weld::Button ,
rBtn  ,
void   
)
IMPL_LINK ( SvxSearchDialog  ,
ModifyHdl_Impl  ,
weld::ComboBox ,
rEd  ,
void   
)

Definition at line 1440 of file srchdlg.cxx.

IMPL_LINK ( SvxSearchDialog  ,
FocusHdl_Impl  ,
weld::Widget ,
rControl  ,
void   
)
IMPL_LINK ( SvxSearchDialog  ,
TimeoutHdl_Impl  ,
Timer ,
pTimer  ,
void   
)

Definition at line 2077 of file srchdlg.cxx.

References SfxViewShell::Current(), and SfxViewShell::HasSelection().

IMPL_LINK_NOARG ( SvxSearchDialog  ,
PresentTimeoutHdl_Impl  ,
Timer ,
void   
)

Definition at line 351 of file srchdlg.cxx.

IMPL_LINK_NOARG ( SvxSearchDialog  ,
TemplateHdl_Impl  ,
weld::Button ,
void   
)
IMPL_LINK_NOARG ( SvxSearchDialog  ,
LoseFocusHdl_Impl  ,
weld::Widget ,
void   
)

Definition at line 1936 of file srchdlg.cxx.

IMPL_LINK_NOARG ( SvxSearchDialog  ,
FormatHdl_Impl  ,
weld::Button ,
void   
)
IMPL_LINK_NOARG ( SvxSearchDialog  ,
NoFormatHdl_Impl  ,
weld::Button ,
void   
)
IMPL_LINK_NOARG ( SvxSearchDialog  ,
AttributeHdl_Impl  ,
weld::Button ,
void   
)
static void lcl_SetSearchLabelWindow ( const OUString &  rStr)
static
static void ListToStrArr_Impl ( sal_uInt16  nId,
std::vector< OUString > &  rStrLst,
weld::ComboBox rCBox,
sal_uInt16  nRememberSize 
)
static
SFX_IMPL_CHILDWINDOW_WITHID ( SvxSearchDialogWrapper  ,
SID_SEARCH_DLG   
)
static void StrArrToList_Impl ( sal_uInt16  nId,
const std::vector< OUString > &  rStrLst 
)
static

Definition at line 171 of file srchdlg.cxx.

References DBG_ASSERT, SfxShell::PutItem(), and SfxGetpApp().

Referenced by SvxSearchDialog::Close().