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

#include <viewopti.hxx>

Inheritance diagram for ScViewOptions:
Collaboration diagram for ScViewOptions:

Public Member Functions

 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 Attributes

bool aOptArr [MAX_OPT]
ScVObjMode aModeArr [MAX_TYPE]
Color aGridCol
OUString aGridColName
ScGridOptions aGridOpt

Detailed Description

Definition at line 78 of file viewopti.hxx.

Constructor & Destructor Documentation

ScViewOptions::ScViewOptions ( )

Definition at line 75 of file viewopti.cxx.

ScViewOptions::ScViewOptions ( const ScViewOptions rCpy)

Definition at line 80 of file viewopti.cxx.

ScViewOptions::~ScViewOptions ( )

Definition at line 85 of file viewopti.cxx.

Member Function Documentation

std::unique_ptr< SvxGridItem > ScViewOptions::CreateGridItem ( ) const

Definition at line 143 of file viewopti.cxx.

Referenced by ScModule::CreateItemSet().

Color const & ScViewOptions::GetGridColor ( OUString *  pStrName = nullptr) const
const ScGridOptions& ScViewOptions::GetGridOptions ( ) const
ScVObjMode ScViewOptions::GetObjMode ( ScVObjType  eObj) const
bool ScViewOptions::GetOption ( ScViewOption  eOpt) const
bool ScViewOptions::operator!= ( const ScViewOptions rOpt) const

Definition at line 102 of file viewopti.hxx.

References operator==().

ScViewOptions & ScViewOptions::operator= ( const ScViewOptions rCpy)
bool ScViewOptions::operator== ( const ScViewOptions rOpt) const

Definition at line 128 of file viewopti.cxx.

References aGridCol, aGridColName, aGridOpt, aModeArr, aOptArr, i, MAX_OPT, and MAX_TYPE.

void ScViewOptions::SetDefaults ( )
void ScViewOptions::SetGridColor ( const Color rCol,
const OUString &  rName 
void ScViewOptions::SetGridOptions ( const ScGridOptions rNew)
void ScViewOptions::SetObjMode ( ScVObjType  eObj,
ScVObjMode  eMode 
void ScViewOptions::SetOption ( ScViewOption  eOpt,
bool  bNew 

Member Data Documentation

Color ScViewOptions::aGridCol

Definition at line 107 of file viewopti.hxx.

Referenced by operator==().

OUString ScViewOptions::aGridColName

Definition at line 108 of file viewopti.hxx.

Referenced by operator==().

ScGridOptions ScViewOptions::aGridOpt

Definition at line 109 of file viewopti.hxx.

Referenced by operator==().

ScVObjMode ScViewOptions::aModeArr[MAX_TYPE]

Definition at line 106 of file viewopti.hxx.

Referenced by operator==().

bool ScViewOptions::aOptArr[MAX_OPT]

Definition at line 105 of file viewopti.hxx.

Referenced by operator==().

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