LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ScViewCfg Class Reference

#include <viewopti.hxx>

Inheritance diagram for ScViewCfg:
[legend]
Collaboration diagram for ScViewCfg:
[legend]

Public Member Functions

 ScViewCfg ()
 
void SetOptions (const ScViewOptions &rNew)
 
- Public Member Functions inherited from ScViewOptions
 ScViewOptions ()
 
 ScViewOptions (const ScViewOptions &rCpy)
 
 ~ScViewOptions ()
 
void SetDefaults ()
 
void SetOption (ScViewOption eOpt, bool bNew)
 
bool GetOption (ScViewOption eOpt) const
 
void SetObjMode (ScVObjType eObj, ScVObjMode eMode)
 
ScVObjMode GetObjMode (ScVObjType eObj) const
 
void SetGridColor (const Color &rCol, const OUString &rName)
 
Color const & GetGridColor (OUString *pStrName=nullptr) const
 
const ScGridOptionsGetGridOptions () const
 
void SetGridOptions (const ScGridOptions &rNew)
 
std::unique_ptr< SvxGridItemCreateGridItem () const
 
ScViewOptionsoperator= (const ScViewOptions &rCpy)
 
bool operator== (const ScViewOptions &rOpt) const
 
bool operator!= (const ScViewOptions &rOpt) const
 

Private Member Functions

 DECL_LINK (LayoutCommitHdl, ScLinkConfigItem &, void)
 
 DECL_LINK (DisplayCommitHdl, ScLinkConfigItem &, void)
 
 DECL_LINK (GridCommitHdl, ScLinkConfigItem &, void)
 

Static Private Member Functions

static css::uno::Sequence< OUString > GetLayoutPropertyNames ()
 
static css::uno::Sequence< OUString > GetDisplayPropertyNames ()
 
static css::uno::Sequence< OUString > GetGridPropertyNames ()
 

Private Attributes

ScLinkConfigItem aLayoutItem
 
ScLinkConfigItem aDisplayItem
 
ScLinkConfigItem aGridItem
 

Detailed Description

Definition at line 136 of file viewopti.hxx.

Constructor & Destructor Documentation

ScViewCfg::ScViewCfg ( )

Definition at line 279 of file viewopti.cxx.

References aDisplayItem, aGridItem, aLayoutItem, Any, EMPTY_OUSTRING, utl::ConfigItem::EnableNotification(), ScUnoHelpFunctions::GetBoolFromAny(), GetDisplayPropertyNames(), ScViewOptions::GetGridOptions(), GetGridPropertyNames(), GetLayoutPropertyNames(), ScLinkConfigItem::GetProperties(), LINK, pValues, SCDISPLAYOPT_ANCHOR, SCDISPLAYOPT_CHART, SCDISPLAYOPT_DRAWING, SCDISPLAYOPT_FORMULA, SCDISPLAYOPT_NOTETAG, SCDISPLAYOPT_OBJECTGRA, SCDISPLAYOPT_TEXTOVER, SCDISPLAYOPT_VALUEHI, SCDISPLAYOPT_ZEROVALUE, SCGRIDOPT_OPTION_X, SCGRIDOPT_OPTION_Y, SCGRIDOPT_RESOLU_X, SCGRIDOPT_RESOLU_Y, SCGRIDOPT_SIZETOGRID, SCGRIDOPT_SNAPTOGRID, SCGRIDOPT_SUBDIV_X, SCGRIDOPT_SUBDIV_Y, SCGRIDOPT_SYNCHRON, SCGRIDOPT_VISIBLE, SCLAYOUTOPT_COLROWHDR, SCLAYOUTOPT_GRID_ONCOLOR, SCLAYOUTOPT_GRIDCOLOR, SCLAYOUTOPT_GRIDLINES, SCLAYOUTOPT_GUIDE, SCLAYOUTOPT_HORISCROLL, SCLAYOUTOPT_OUTLINE, SCLAYOUTOPT_PAGEBREAK, SCLAYOUTOPT_SHEETTAB, SCLAYOUTOPT_SUMMARY, SCLAYOUTOPT_VERTSCROLL, ScLinkConfigItem::SetCommitLink(), SvxOptionsGrid::SetEqualGrid(), SvxOptionsGrid::SetFieldDivisionX(), SvxOptionsGrid::SetFieldDivisionY(), SvxOptionsGrid::SetFieldDrawX(), SvxOptionsGrid::SetFieldDrawY(), SvxOptionsGrid::SetFieldSnapX(), SvxOptionsGrid::SetFieldSnapY(), ScViewOptions::SetGridColor(), ScViewOptions::SetGridOptions(), SvxOptionsGrid::SetGridVisible(), ScViewOptions::SetObjMode(), ScViewOptions::SetOption(), SvxOptionsGrid::SetSynchronize(), SvxOptionsGrid::SetUseGridSnap(), VOBJ_MODE_HIDE, VOBJ_MODE_SHOW, VOBJ_TYPE_CHART, VOBJ_TYPE_DRAW, VOBJ_TYPE_OLE, VOPT_ANCHOR, VOPT_CLIPMARKS, VOPT_FORMULAS, VOPT_GRID, VOPT_GRID_ONTOP, VOPT_HEADER, VOPT_HELPLINES, VOPT_HSCROLL, VOPT_NOTES, VOPT_NULLVALS, VOPT_OUTLINER, VOPT_PAGEBREAKS, VOPT_SUMMARY, VOPT_SYNTAX, VOPT_TABCONTROLS, and VOPT_VSCROLL.

Member Function Documentation

ScViewCfg::DECL_LINK ( LayoutCommitHdl  ,
ScLinkConfigItem ,
void   
)
private
ScViewCfg::DECL_LINK ( DisplayCommitHdl  ,
ScLinkConfigItem ,
void   
)
private
ScViewCfg::DECL_LINK ( GridCommitHdl  ,
ScLinkConfigItem ,
void   
)
private
Sequence< OUString > ScViewCfg::GetDisplayPropertyNames ( )
staticprivate

Definition at line 246 of file viewopti.cxx.

Referenced by ScViewCfg().

Sequence< OUString > ScViewCfg::GetGridPropertyNames ( )
staticprivate

Definition at line 259 of file viewopti.cxx.

References ScOptionsUtil::IsMetricSystem().

Referenced by ScViewCfg().

Sequence< OUString > ScViewCfg::GetLayoutPropertyNames ( )
staticprivate

Definition at line 231 of file viewopti.cxx.

Referenced by ScViewCfg().

void ScViewCfg::SetOptions ( const ScViewOptions rNew)

Definition at line 595 of file viewopti.cxx.

References aDisplayItem, aGridItem, aLayoutItem, and utl::ConfigItem::SetModified().

Member Data Documentation

ScLinkConfigItem ScViewCfg::aDisplayItem
private

Definition at line 139 of file viewopti.hxx.

Referenced by ScViewCfg(), and SetOptions().

ScLinkConfigItem ScViewCfg::aGridItem
private

Definition at line 140 of file viewopti.hxx.

Referenced by ScViewCfg(), and SetOptions().

ScLinkConfigItem ScViewCfg::aLayoutItem
private

Definition at line 138 of file viewopti.hxx.

Referenced by ScViewCfg(), and SetOptions().


The documentation for this class was generated from the following files: