LibreOffice Module sc (master) 1
|
#include <viewopti.hxx>
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 ScGridOptions & | GetGridOptions () const |
void | SetGridOptions (const ScGridOptions &rNew) |
std::unique_ptr< SvxGridItem > | CreateGridItem () const |
const OUString & | GetColorSchemeName () const |
void | SetColorSchemeName (const OUString &rName) |
const Color & | GetDocColor () const |
void | SetDocColor (const Color &rDocColor) |
ScViewOptions & | operator= (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 |
Definition at line 144 of file viewopti.hxx.
ScViewCfg::ScViewCfg | ( | ) |
Definition at line 284 of file viewopti.cxx.
References aDisplayItem, aGridItem, aLayoutItem, Any, utl::ConfigItem::EnableNotification(), ScUnoHelpFunctions::GetBoolFromAny(), GetDisplayPropertyNames(), ScViewOptions::GetGridOptions(), GetGridPropertyNames(), GetLayoutPropertyNames(), ScLinkConfigItem::GetProperties(), LINK, pValues, SCDISPLAYOPT_ANCHOR, SCDISPLAYOPT_CHART, SCDISPLAYOPT_DRAWING, SCDISPLAYOPT_FORMULA, SCDISPLAYOPT_FORMULAMARK, SCDISPLAYOPT_NOTETAG, SCDISPLAYOPT_OBJECTGRA, 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_THEMEDCURSOR, 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_FORMULAS, VOPT_FORMULAS_MARKS, 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, VOPT_THEMEDCURSOR, and VOPT_VSCROLL.
|
private |
|
private |
|
private |
|
staticprivate |
Definition at line 251 of file viewopti.cxx.
Referenced by ScViewCfg().
|
staticprivate |
Definition at line 264 of file viewopti.cxx.
References ScOptionsUtil::IsMetricSystem().
Referenced by ScViewCfg().
|
staticprivate |
Definition at line 235 of file viewopti.cxx.
Referenced by ScViewCfg().
void ScViewCfg::SetOptions | ( | const ScViewOptions & | rNew | ) |
Definition at line 609 of file viewopti.cxx.
References aDisplayItem, aGridItem, aLayoutItem, and utl::ConfigItem::SetModified().
|
private |
Definition at line 147 of file viewopti.hxx.
Referenced by ScViewCfg(), and SetOptions().
|
private |
Definition at line 148 of file viewopti.hxx.
Referenced by ScViewCfg(), and SetOptions().
|
private |
Definition at line 146 of file viewopti.hxx.
Referenced by ScViewCfg(), and SetOptions().