LibreOffice Module sc (master)  1
Macros | Functions
appoptio.cxx File Reference
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <appoptio.hxx>
#include <global.hxx>
#include <userlist.hxx>
#include <formula/compiler.hxx>
#include <miscuno.hxx>
#include <memory>
#include <osl/diagnose.h>
Include dependency graph for appoptio.cxx:

Go to the source code of this file.

Macros

#define CFGPATH_LAYOUT   "Office.Calc/Layout"
 
#define SCLAYOUTOPT_MEASURE   0
 
#define SCLAYOUTOPT_STATUSBAR   1
 
#define SCLAYOUTOPT_ZOOMVAL   2
 
#define SCLAYOUTOPT_ZOOMTYPE   3
 
#define SCLAYOUTOPT_SYNCZOOM   4
 
#define SCLAYOUTOPT_STATUSBARMULTI   5
 
#define CFGPATH_INPUT   "Office.Calc/Input"
 
#define SCINPUTOPT_LASTFUNCS   0
 
#define SCINPUTOPT_AUTOINPUT   1
 
#define SCINPUTOPT_DET_AUTO   2
 
#define CFGPATH_REVISION   "Office.Calc/Revision/Color"
 
#define SCREVISOPT_CHANGE   0
 
#define SCREVISOPT_INSERTION   1
 
#define SCREVISOPT_DELETION   2
 
#define SCREVISOPT_MOVEDENTRY   3
 
#define CFGPATH_CONTENT   "Office.Calc/Content/Update"
 
#define SCCONTENTOPT_LINK   0
 
#define CFGPATH_SORTLIST   "Office.Calc/SortList"
 
#define SCSORTLISTOPT_LIST   0
 
#define CFGPATH_MISC   "Office.Calc/Misc"
 
#define SCMISCOPT_DEFOBJWIDTH   0
 
#define SCMISCOPT_DEFOBJHEIGHT   1
 
#define SCMISCOPT_SHOWSHAREDDOCWARN   2
 
#define CFGPATH_COMPAT   "Office.Calc/Compatibility"
 
#define SCCOMPATOPT_KEY_BINDING   0
 
#define SCLAYOUTOPT_STATUSBARMULTI_DEFAULTVAL   514
 
#define SCLAYOUTOPT_STATUSBAR_DEFAULTVAL   1
 
#define SCLAYOUTOPT_STATUSBAR_DEFAULTVAL_LEGACY   9
 

Functions

static void lcl_SetLastFunctions (ScAppOptions &rOpt, const Any &rValue)
 
static void lcl_GetLastFunctions (Any &rDest, const ScAppOptions &rOpt)
 
static void lcl_SetSortList (const Any &rValue)
 
static void lcl_GetSortList (Any &rDest)
 
static sal_uInt32 lcl_ConvertStatusBarFuncSetToSingle (sal_uInt32 nFuncSet)
 
 IMPL_LINK_NOARG (ScAppCfg, LayoutCommitHdl, ScLinkConfigItem &, void)
 
 IMPL_LINK_NOARG (ScAppCfg, InputCommitHdl, ScLinkConfigItem &, void)
 
 IMPL_LINK_NOARG (ScAppCfg, RevisionCommitHdl, ScLinkConfigItem &, void)
 
 IMPL_LINK_NOARG (ScAppCfg, ContentCommitHdl, ScLinkConfigItem &, void)
 
 IMPL_LINK_NOARG (ScAppCfg, SortListCommitHdl, ScLinkConfigItem &, void)
 
 IMPL_LINK_NOARG (ScAppCfg, MiscCommitHdl, ScLinkConfigItem &, void)
 
 IMPL_LINK_NOARG (ScAppCfg, CompatCommitHdl, ScLinkConfigItem &, void)
 

Macro Definition Documentation

#define CFGPATH_COMPAT   "Office.Calc/Compatibility"

Definition at line 238 of file appoptio.cxx.

#define CFGPATH_CONTENT   "Office.Calc/Content/Update"

Definition at line 224 of file appoptio.cxx.

#define CFGPATH_INPUT   "Office.Calc/Input"

Definition at line 211 of file appoptio.cxx.

#define CFGPATH_LAYOUT   "Office.Calc/Layout"

Definition at line 202 of file appoptio.cxx.

#define CFGPATH_MISC   "Office.Calc/Misc"

Definition at line 232 of file appoptio.cxx.

#define CFGPATH_REVISION   "Office.Calc/Revision/Color"

Definition at line 217 of file appoptio.cxx.

#define CFGPATH_SORTLIST   "Office.Calc/SortList"

Definition at line 228 of file appoptio.cxx.

#define SCCOMPATOPT_KEY_BINDING   0

Definition at line 240 of file appoptio.cxx.

Referenced by IMPL_LINK_NOARG(), and ScAppCfg::ScAppCfg().

#define SCCONTENTOPT_LINK   0

Definition at line 226 of file appoptio.cxx.

Referenced by IMPL_LINK_NOARG(), and ScAppCfg::ScAppCfg().

#define SCINPUTOPT_AUTOINPUT   1

Definition at line 214 of file appoptio.cxx.

Referenced by IMPL_LINK_NOARG(), and ScAppCfg::ScAppCfg().

#define SCINPUTOPT_DET_AUTO   2

Definition at line 215 of file appoptio.cxx.

Referenced by IMPL_LINK_NOARG(), and ScAppCfg::ScAppCfg().

#define SCINPUTOPT_LASTFUNCS   0

Definition at line 213 of file appoptio.cxx.

Referenced by IMPL_LINK_NOARG(), and ScAppCfg::ScAppCfg().

#define SCLAYOUTOPT_MEASURE   0

Definition at line 204 of file appoptio.cxx.

Referenced by IMPL_LINK_NOARG(), and ScAppCfg::ScAppCfg().

#define SCLAYOUTOPT_STATUSBAR   1

Definition at line 205 of file appoptio.cxx.

Referenced by IMPL_LINK_NOARG(), and ScAppCfg::ScAppCfg().

#define SCLAYOUTOPT_STATUSBAR_DEFAULTVAL   1

Definition at line 245 of file appoptio.cxx.

Referenced by ScAppCfg::ScAppCfg().

#define SCLAYOUTOPT_STATUSBAR_DEFAULTVAL_LEGACY   9

Definition at line 248 of file appoptio.cxx.

Referenced by ScAppCfg::ScAppCfg().

#define SCLAYOUTOPT_STATUSBARMULTI   5

Definition at line 209 of file appoptio.cxx.

Referenced by IMPL_LINK_NOARG(), and ScAppCfg::ScAppCfg().

#define SCLAYOUTOPT_STATUSBARMULTI_DEFAULTVAL   514

Definition at line 243 of file appoptio.cxx.

Referenced by ScAppCfg::ScAppCfg().

#define SCLAYOUTOPT_SYNCZOOM   4

Definition at line 208 of file appoptio.cxx.

Referenced by IMPL_LINK_NOARG(), and ScAppCfg::ScAppCfg().

#define SCLAYOUTOPT_ZOOMTYPE   3

Definition at line 207 of file appoptio.cxx.

Referenced by IMPL_LINK_NOARG(), and ScAppCfg::ScAppCfg().

#define SCLAYOUTOPT_ZOOMVAL   2

Definition at line 206 of file appoptio.cxx.

Referenced by IMPL_LINK_NOARG(), and ScAppCfg::ScAppCfg().

#define SCMISCOPT_DEFOBJHEIGHT   1

Definition at line 235 of file appoptio.cxx.

Referenced by IMPL_LINK_NOARG(), and ScAppCfg::ScAppCfg().

#define SCMISCOPT_DEFOBJWIDTH   0

Definition at line 234 of file appoptio.cxx.

Referenced by IMPL_LINK_NOARG(), and ScAppCfg::ScAppCfg().

#define SCMISCOPT_SHOWSHAREDDOCWARN   2

Definition at line 236 of file appoptio.cxx.

Referenced by IMPL_LINK_NOARG(), and ScAppCfg::ScAppCfg().

#define SCREVISOPT_CHANGE   0

Definition at line 219 of file appoptio.cxx.

Referenced by IMPL_LINK_NOARG(), and ScAppCfg::ScAppCfg().

#define SCREVISOPT_DELETION   2

Definition at line 221 of file appoptio.cxx.

Referenced by IMPL_LINK_NOARG(), and ScAppCfg::ScAppCfg().

#define SCREVISOPT_INSERTION   1

Definition at line 220 of file appoptio.cxx.

Referenced by IMPL_LINK_NOARG(), and ScAppCfg::ScAppCfg().

#define SCREVISOPT_MOVEDENTRY   3

Definition at line 222 of file appoptio.cxx.

Referenced by IMPL_LINK_NOARG(), and ScAppCfg::ScAppCfg().

#define SCSORTLISTOPT_LIST   0

Definition at line 230 of file appoptio.cxx.

Referenced by IMPL_LINK_NOARG(), and ScAppCfg::ScAppCfg().

Function Documentation

IMPL_LINK_NOARG ( ScAppCfg  ,
LayoutCommitHdl  ,
ScLinkConfigItem ,
void   
)
IMPL_LINK_NOARG ( ScAppCfg  ,
InputCommitHdl  ,
ScLinkConfigItem ,
void   
)
IMPL_LINK_NOARG ( ScAppCfg  ,
RevisionCommitHdl  ,
ScLinkConfigItem ,
void   
)
IMPL_LINK_NOARG ( ScAppCfg  ,
ContentCommitHdl  ,
ScLinkConfigItem ,
void   
)

Definition at line 623 of file appoptio.cxx.

References Any, pValues, and SCCONTENTOPT_LINK.

IMPL_LINK_NOARG ( ScAppCfg  ,
SortListCommitHdl  ,
ScLinkConfigItem ,
void   
)

Definition at line 641 of file appoptio.cxx.

References Any, lcl_GetSortList(), pValues, and SCSORTLISTOPT_LIST.

IMPL_LINK_NOARG ( ScAppCfg  ,
MiscCommitHdl  ,
ScLinkConfigItem ,
void   
)
IMPL_LINK_NOARG ( ScAppCfg  ,
CompatCommitHdl  ,
ScLinkConfigItem ,
void   
)

Definition at line 683 of file appoptio.cxx.

References Any, pValues, and SCCOMPATOPT_KEY_BINDING.

static sal_uInt32 lcl_ConvertStatusBarFuncSetToSingle ( sal_uInt32  nFuncSet)
static

Definition at line 250 of file appoptio.cxx.

Referenced by IMPL_LINK_NOARG().

static void lcl_GetLastFunctions ( Any &  rDest,
const ScAppOptions rOpt 
)
static

Definition at line 142 of file appoptio.cxx.

References aSeq, ScAppOptions::GetLRUFuncList(), ScAppOptions::GetLRUFuncListCount(), i, and nCount.

Referenced by IMPL_LINK_NOARG().

static void lcl_GetSortList ( Any &  rDest)
static

Definition at line 186 of file appoptio.cxx.

References aSeq, GetString(), ScGlobal::GetUserList(), i, nCount, and ScUserList::size().

Referenced by IMPL_LINK_NOARG().

static void lcl_SetLastFunctions ( ScAppOptions rOpt,
const Any &  rValue 
)
static

Definition at line 124 of file appoptio.cxx.

References aSeq, i, nCount, SAL_MAX_UINT16, and ScAppOptions::SetLRUFuncList().

Referenced by ScAppCfg::ScAppCfg().

static void lcl_SetSortList ( const Any &  rValue)
static