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

Go to the source code of this file.

Macros

#define SCCALCOPT_ITER_ITER   0
 
#define SCCALCOPT_ITER_STEPS   1
 
#define SCCALCOPT_ITER_MINCHG   2
 
#define SCCALCOPT_DATE_DAY   3
 
#define SCCALCOPT_DATE_MONTH   4
 
#define SCCALCOPT_DATE_YEAR   5
 
#define SCCALCOPT_DECIMALS   6
 
#define SCCALCOPT_CASESENSITIVE   7
 
#define SCCALCOPT_PRECISION   8
 
#define SCCALCOPT_SEARCHCRIT   9
 
#define SCCALCOPT_FINDLABEL   10
 
#define SCCALCOPT_REGEX   11
 
#define SCCALCOPT_WILDCARDS   12
 
#define SCDOCLAYOUTOPT_TABSTOP   0
 

Functions

static sal_uInt16 lcl_GetDefaultTabDist ()
 
 IMPL_LINK_NOARG (ScDocCfg, CalcCommitHdl, ScLinkConfigItem &, void)
 
 IMPL_LINK_NOARG (ScDocCfg, LayoutCommitHdl, ScLinkConfigItem &, void)
 

Variables

constexpr OUStringLiteral CFGPATH_CALC = u"Office.Calc/Calculate"
 
constexpr OUStringLiteral CFGPATH_DOCLAYOUT = u"Office.Calc/Layout/Other"
 

Macro Definition Documentation

◆ SCCALCOPT_CASESENSITIVE

#define SCCALCOPT_CASESENSITIVE   7

Definition at line 144 of file docoptio.cxx.

◆ SCCALCOPT_DATE_DAY

#define SCCALCOPT_DATE_DAY   3

Definition at line 140 of file docoptio.cxx.

◆ SCCALCOPT_DATE_MONTH

#define SCCALCOPT_DATE_MONTH   4

Definition at line 141 of file docoptio.cxx.

◆ SCCALCOPT_DATE_YEAR

#define SCCALCOPT_DATE_YEAR   5

Definition at line 142 of file docoptio.cxx.

◆ SCCALCOPT_DECIMALS

#define SCCALCOPT_DECIMALS   6

Definition at line 143 of file docoptio.cxx.

◆ SCCALCOPT_FINDLABEL

#define SCCALCOPT_FINDLABEL   10

Definition at line 147 of file docoptio.cxx.

◆ SCCALCOPT_ITER_ITER

#define SCCALCOPT_ITER_ITER   0

Definition at line 137 of file docoptio.cxx.

◆ SCCALCOPT_ITER_MINCHG

#define SCCALCOPT_ITER_MINCHG   2

Definition at line 139 of file docoptio.cxx.

◆ SCCALCOPT_ITER_STEPS

#define SCCALCOPT_ITER_STEPS   1

Definition at line 138 of file docoptio.cxx.

◆ SCCALCOPT_PRECISION

#define SCCALCOPT_PRECISION   8

Definition at line 145 of file docoptio.cxx.

◆ SCCALCOPT_REGEX

#define SCCALCOPT_REGEX   11

Definition at line 148 of file docoptio.cxx.

◆ SCCALCOPT_SEARCHCRIT

#define SCCALCOPT_SEARCHCRIT   9

Definition at line 146 of file docoptio.cxx.

◆ SCCALCOPT_WILDCARDS

#define SCCALCOPT_WILDCARDS   12

Definition at line 149 of file docoptio.cxx.

◆ SCDOCLAYOUTOPT_TABSTOP

#define SCDOCLAYOUTOPT_TABSTOP   0

Definition at line 153 of file docoptio.cxx.

Function Documentation

◆ IMPL_LINK_NOARG() [1/2]

IMPL_LINK_NOARG ( ScDocCfg  ,
CalcCommitHdl  ,
ScLinkConfigItem ,
void   
)

◆ IMPL_LINK_NOARG() [2/2]

IMPL_LINK_NOARG ( ScDocCfg  ,
LayoutCommitHdl  ,
ScLinkConfigItem ,
void   
)

Definition at line 342 of file docoptio.cxx.

References Any, pValues, SCDOCLAYOUTOPT_TABSTOP, and sc::TwipsToEvenHMM().

◆ lcl_GetDefaultTabDist()

static sal_uInt16 lcl_GetDefaultTabDist ( )
static

Definition at line 36 of file docoptio.cxx.

References ScOptionsUtil::IsMetricSystem().

Referenced by ScDocOptions::ResetDocOptions().

Variable Documentation

◆ CFGPATH_CALC

constexpr OUStringLiteral CFGPATH_CALC = u"Office.Calc/Calculate"
constexpr

Definition at line 135 of file docoptio.cxx.

◆ CFGPATH_DOCLAYOUT

constexpr OUStringLiteral CFGPATH_DOCLAYOUT = u"Office.Calc/Layout/Other"
constexpr

Definition at line 151 of file docoptio.cxx.