LibreOffice Module sc (master)  1
Macros | Functions
validate.cxx File Reference
#include <com/sun/star/sheet/TableValidationVisibility.hpp>
#include <comphelper/string.hxx>
#include <vcl/svapp.hxx>
#include <svl/aeitem.hxx>
#include <svl/stritem.hxx>
#include <svl/eitem.hxx>
#include <svl/intitem.hxx>
#include <sfx2/app.hxx>
#include <scresid.hxx>
#include <strings.hrc>
#include <stringutil.hxx>
#include <validat.hxx>
#include <validate.hxx>
#include <compiler.hxx>
#include <formula/opcode.hxx>
#include <tabvwsh.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/childwin.hxx>
#include <reffact.hxx>
#include <comphelper/lok.hxx>
#include <sfx2/lokhelper.hxx>
Include dependency graph for validate.cxx:

Go to the source code of this file.

Macros

#define IS_MOBILE   (comphelper::LibreOfficeKit::isActive() && SfxViewShell::Current() && SfxViewShell::Current()->isLOKMobilePhone())
 
#define SC_VALIDDLG_ALLOW_ANY   0
 
#define SC_VALIDDLG_ALLOW_WHOLE   1
 
#define SC_VALIDDLG_ALLOW_DECIMAL   2
 
#define SC_VALIDDLG_ALLOW_DATE   3
 
#define SC_VALIDDLG_ALLOW_TIME   4
 
#define SC_VALIDDLG_ALLOW_RANGE   5
 
#define SC_VALIDDLG_ALLOW_LIST   6
 
#define SC_VALIDDLG_ALLOW_TEXTLEN   7
 
#define SC_VALIDDLG_ALLOW_CUSTOM   8
 
#define SC_VALIDDLG_DATA_EQUAL   0
 
#define SC_VALIDDLG_DATA_LESS   1
 
#define SC_VALIDDLG_DATA_GREATER   2
 
#define SC_VALIDDLG_DATA_EQLESS   3
 
#define SC_VALIDDLG_DATA_EQGREATER   4
 
#define SC_VALIDDLG_DATA_NOTEQUAL   5
 
#define SC_VALIDDLG_DATA_VALIDRANGE   6
 
#define SC_VALIDDLG_DATA_INVALIDRANGE   7
 
#define SC_VALIDDLG_DATA_DIRECT   8
 

Functions

 IMPL_LINK_NOARG (ScTPValidationValue, EditSetFocusHdl, formula::RefEdit &, void)
 
 IMPL_LINK (ScTPValidationValue, KillEditFocusHdl, formula::RefEdit &, rWnd, void)
 
 IMPL_LINK (ScTPValidationValue, KillButtonFocusHdl, formula::RefButton &, rWnd, void)
 
 IMPL_LINK_NOARG (ScTPValidationValue, SelectHdl, weld::ComboBox &, void)
 
 IMPL_LINK_NOARG (ScTPValidationValue, CheckHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (ScTPValidationError, SelectActionHdl, weld::ComboBox &, void)
 
 IMPL_LINK_NOARG (ScTPValidationError, ClickSearchHdl, weld::Button &, void)
 
 IMPL_LINK_NOARG (ScTPValidationValue, ClickHdl, formula::RefButton &, void)
 

Macro Definition Documentation

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

Definition at line 51 of file validate.cxx.

Referenced by ScValidationDlg::ScValidationDlg().

#define SC_VALIDDLG_ALLOW_ANY   0
#define SC_VALIDDLG_ALLOW_CUSTOM   8

Definition at line 64 of file validate.cxx.

Referenced by ScTPValidationValue::FillItemSet(), and IMPL_LINK_NOARG().

#define SC_VALIDDLG_ALLOW_DATE   3

Definition at line 59 of file validate.cxx.

#define SC_VALIDDLG_ALLOW_DECIMAL   2

Definition at line 58 of file validate.cxx.

#define SC_VALIDDLG_ALLOW_LIST   6
#define SC_VALIDDLG_ALLOW_RANGE   5

Definition at line 61 of file validate.cxx.

Referenced by IMPL_LINK_NOARG(), and ScTPValidationValue::SetFirstFormula().

#define SC_VALIDDLG_ALLOW_TEXTLEN   7

Definition at line 63 of file validate.cxx.

#define SC_VALIDDLG_ALLOW_TIME   4

Definition at line 60 of file validate.cxx.

#define SC_VALIDDLG_ALLOW_WHOLE   1

Definition at line 57 of file validate.cxx.

#define SC_VALIDDLG_DATA_DIRECT   8

Definition at line 77 of file validate.cxx.

#define SC_VALIDDLG_DATA_EQGREATER   4

Definition at line 73 of file validate.cxx.

Referenced by IMPL_LINK_NOARG().

#define SC_VALIDDLG_DATA_EQLESS   3

Definition at line 72 of file validate.cxx.

Referenced by IMPL_LINK_NOARG().

#define SC_VALIDDLG_DATA_EQUAL   0
#define SC_VALIDDLG_DATA_GREATER   2

Definition at line 71 of file validate.cxx.

Referenced by IMPL_LINK_NOARG().

#define SC_VALIDDLG_DATA_INVALIDRANGE   7

Definition at line 76 of file validate.cxx.

Referenced by IMPL_LINK_NOARG().

#define SC_VALIDDLG_DATA_LESS   1

Definition at line 70 of file validate.cxx.

Referenced by IMPL_LINK_NOARG().

#define SC_VALIDDLG_DATA_NOTEQUAL   5

Definition at line 74 of file validate.cxx.

Referenced by IMPL_LINK_NOARG().

#define SC_VALIDDLG_DATA_VALIDRANGE   6

Definition at line 75 of file validate.cxx.

Referenced by IMPL_LINK_NOARG().

Function Documentation

IMPL_LINK ( ScTPValidationValue  ,
KillEditFocusHdl  ,
formula::RefEdit ,
rWnd  ,
void   
)

Definition at line 607 of file validate.cxx.

IMPL_LINK ( ScTPValidationValue  ,
KillButtonFocusHdl  ,
formula::RefButton ,
rWnd  ,
void   
)

Definition at line 623 of file validate.cxx.

IMPL_LINK_NOARG ( ScTPValidationValue  ,
EditSetFocusHdl  ,
formula::RefEdit ,
void   
)

Definition at line 597 of file validate.cxx.

References nPos, and SC_VALIDDLG_ALLOW_RANGE.

IMPL_LINK_NOARG ( ScTPValidationValue  ,
SelectHdl  ,
weld::ComboBox ,
void   
)
IMPL_LINK_NOARG ( ScTPValidationValue  ,
CheckHdl  ,
weld::Button ,
void   
)

Definition at line 694 of file validate.cxx.

IMPL_LINK_NOARG ( ScTPValidationError  ,
SelectActionHdl  ,
weld::ComboBox ,
void   
)

Definition at line 827 of file validate.cxx.

References SC_VALERR_MACRO.

IMPL_LINK_NOARG ( ScTPValidationError  ,
ClickSearchHdl  ,
weld::Button ,
void   
)

Definition at line 837 of file validate.cxx.

References SfxApplication::ChooseScript(), and GetFrameWeld().

IMPL_LINK_NOARG ( ScTPValidationValue  ,
ClickHdl  ,
formula::RefButton ,
void   
)

Definition at line 929 of file validate.cxx.