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

Go to the source code of this file.

Macros

#define SCLAYOUTOPT_GRIDLINES   0
 
#define SCLAYOUTOPT_GRIDCOLOR   1
 
#define SCLAYOUTOPT_PAGEBREAK   2
 
#define SCLAYOUTOPT_GUIDE   3
 
#define SCLAYOUTOPT_COLROWHDR   4
 
#define SCLAYOUTOPT_HORISCROLL   5
 
#define SCLAYOUTOPT_VERTSCROLL   6
 
#define SCLAYOUTOPT_SHEETTAB   7
 
#define SCLAYOUTOPT_OUTLINE   8
 
#define SCLAYOUTOPT_GRID_ONCOLOR   9
 
#define SCLAYOUTOPT_SUMMARY   10
 
#define SCLAYOUTOPT_THEMEDCURSOR   11
 
#define SCDISPLAYOPT_FORMULA   0
 
#define SCDISPLAYOPT_ZEROVALUE   1
 
#define SCDISPLAYOPT_NOTETAG   2
 
#define SCDISPLAYOPT_VALUEHI   3
 
#define SCDISPLAYOPT_ANCHOR   4
 
#define SCDISPLAYOPT_TEXTOVER   5
 
#define SCDISPLAYOPT_OBJECTGRA   6
 
#define SCDISPLAYOPT_CHART   7
 
#define SCDISPLAYOPT_DRAWING   8
 
#define SCGRIDOPT_RESOLU_X   0
 
#define SCGRIDOPT_RESOLU_Y   1
 
#define SCGRIDOPT_SUBDIV_X   2
 
#define SCGRIDOPT_SUBDIV_Y   3
 
#define SCGRIDOPT_OPTION_X   4
 
#define SCGRIDOPT_OPTION_Y   5
 
#define SCGRIDOPT_SNAPTOGRID   6
 
#define SCGRIDOPT_SYNCHRON   7
 
#define SCGRIDOPT_VISIBLE   8
 
#define SCGRIDOPT_SIZETOGRID   9
 

Functions

 IMPL_LINK_NOARG (ScViewCfg, LayoutCommitHdl, ScLinkConfigItem &, void)
 
 IMPL_LINK_NOARG (ScViewCfg, DisplayCommitHdl, ScLinkConfigItem &, void)
 
 IMPL_LINK_NOARG (ScViewCfg, GridCommitHdl, ScLinkConfigItem &, void)
 

Variables

constexpr OUStringLiteral CFGPATH_LAYOUT = u"Office.Calc/Layout"
 
constexpr OUStringLiteral CFGPATH_DISPLAY = u"Office.Calc/Content/Display"
 
constexpr OUStringLiteral CFGPATH_GRID = u"Office.Calc/Grid"
 

Macro Definition Documentation

◆ SCDISPLAYOPT_ANCHOR

#define SCDISPLAYOPT_ANCHOR   4

Definition at line 210 of file viewopti.cxx.

◆ SCDISPLAYOPT_CHART

#define SCDISPLAYOPT_CHART   7

Definition at line 213 of file viewopti.cxx.

◆ SCDISPLAYOPT_DRAWING

#define SCDISPLAYOPT_DRAWING   8

Definition at line 214 of file viewopti.cxx.

◆ SCDISPLAYOPT_FORMULA

#define SCDISPLAYOPT_FORMULA   0

Definition at line 206 of file viewopti.cxx.

◆ SCDISPLAYOPT_NOTETAG

#define SCDISPLAYOPT_NOTETAG   2

Definition at line 208 of file viewopti.cxx.

◆ SCDISPLAYOPT_OBJECTGRA

#define SCDISPLAYOPT_OBJECTGRA   6

Definition at line 212 of file viewopti.cxx.

◆ SCDISPLAYOPT_TEXTOVER

#define SCDISPLAYOPT_TEXTOVER   5

Definition at line 211 of file viewopti.cxx.

◆ SCDISPLAYOPT_VALUEHI

#define SCDISPLAYOPT_VALUEHI   3

Definition at line 209 of file viewopti.cxx.

◆ SCDISPLAYOPT_ZEROVALUE

#define SCDISPLAYOPT_ZEROVALUE   1

Definition at line 207 of file viewopti.cxx.

◆ SCGRIDOPT_OPTION_X

#define SCGRIDOPT_OPTION_X   4

Definition at line 222 of file viewopti.cxx.

◆ SCGRIDOPT_OPTION_Y

#define SCGRIDOPT_OPTION_Y   5

Definition at line 223 of file viewopti.cxx.

◆ SCGRIDOPT_RESOLU_X

#define SCGRIDOPT_RESOLU_X   0

Definition at line 218 of file viewopti.cxx.

◆ SCGRIDOPT_RESOLU_Y

#define SCGRIDOPT_RESOLU_Y   1

Definition at line 219 of file viewopti.cxx.

◆ SCGRIDOPT_SIZETOGRID

#define SCGRIDOPT_SIZETOGRID   9

Definition at line 227 of file viewopti.cxx.

◆ SCGRIDOPT_SNAPTOGRID

#define SCGRIDOPT_SNAPTOGRID   6

Definition at line 224 of file viewopti.cxx.

◆ SCGRIDOPT_SUBDIV_X

#define SCGRIDOPT_SUBDIV_X   2

Definition at line 220 of file viewopti.cxx.

◆ SCGRIDOPT_SUBDIV_Y

#define SCGRIDOPT_SUBDIV_Y   3

Definition at line 221 of file viewopti.cxx.

◆ SCGRIDOPT_SYNCHRON

#define SCGRIDOPT_SYNCHRON   7

Definition at line 225 of file viewopti.cxx.

◆ SCGRIDOPT_VISIBLE

#define SCGRIDOPT_VISIBLE   8

Definition at line 226 of file viewopti.cxx.

◆ SCLAYOUTOPT_COLROWHDR

#define SCLAYOUTOPT_COLROWHDR   4

Definition at line 195 of file viewopti.cxx.

◆ SCLAYOUTOPT_GRID_ONCOLOR

#define SCLAYOUTOPT_GRID_ONCOLOR   9

Definition at line 200 of file viewopti.cxx.

◆ SCLAYOUTOPT_GRIDCOLOR

#define SCLAYOUTOPT_GRIDCOLOR   1

Definition at line 192 of file viewopti.cxx.

◆ SCLAYOUTOPT_GRIDLINES

#define SCLAYOUTOPT_GRIDLINES   0

Definition at line 191 of file viewopti.cxx.

◆ SCLAYOUTOPT_GUIDE

#define SCLAYOUTOPT_GUIDE   3

Definition at line 194 of file viewopti.cxx.

◆ SCLAYOUTOPT_HORISCROLL

#define SCLAYOUTOPT_HORISCROLL   5

Definition at line 196 of file viewopti.cxx.

◆ SCLAYOUTOPT_OUTLINE

#define SCLAYOUTOPT_OUTLINE   8

Definition at line 199 of file viewopti.cxx.

◆ SCLAYOUTOPT_PAGEBREAK

#define SCLAYOUTOPT_PAGEBREAK   2

Definition at line 193 of file viewopti.cxx.

◆ SCLAYOUTOPT_SHEETTAB

#define SCLAYOUTOPT_SHEETTAB   7

Definition at line 198 of file viewopti.cxx.

◆ SCLAYOUTOPT_SUMMARY

#define SCLAYOUTOPT_SUMMARY   10

Definition at line 201 of file viewopti.cxx.

◆ SCLAYOUTOPT_THEMEDCURSOR

#define SCLAYOUTOPT_THEMEDCURSOR   11

Definition at line 202 of file viewopti.cxx.

◆ SCLAYOUTOPT_VERTSCROLL

#define SCLAYOUTOPT_VERTSCROLL   6

Definition at line 197 of file viewopti.cxx.

Function Documentation

◆ IMPL_LINK_NOARG() [1/3]

IMPL_LINK_NOARG ( ScViewCfg  ,
DisplayCommitHdl  ,
ScLinkConfigItem ,
void   
)

◆ IMPL_LINK_NOARG() [2/3]

IMPL_LINK_NOARG ( ScViewCfg  ,
GridCommitHdl  ,
ScLinkConfigItem ,
void   
)

◆ IMPL_LINK_NOARG() [3/3]

IMPL_LINK_NOARG ( ScViewCfg  ,
LayoutCommitHdl  ,
ScLinkConfigItem ,
void   
)

Variable Documentation

◆ CFGPATH_DISPLAY

constexpr OUStringLiteral CFGPATH_DISPLAY = u"Office.Calc/Content/Display"
constexpr

Definition at line 204 of file viewopti.cxx.

◆ CFGPATH_GRID

constexpr OUStringLiteral CFGPATH_GRID = u"Office.Calc/Grid"
constexpr

Definition at line 216 of file viewopti.cxx.

◆ CFGPATH_LAYOUT

constexpr OUStringLiteral CFGPATH_LAYOUT = u"Office.Calc/Layout"
constexpr

Definition at line 189 of file viewopti.cxx.