LibreOffice Module sc (master)
1
|
#include <viewopti.hxx>
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 ScGridOptions & | GetGridOptions () const |
void | SetGridOptions (const ScGridOptions &rNew) |
std::unique_ptr< SvxGridItem > | CreateGridItem () const |
ScViewOptions & | operator= (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 |
Definition at line 78 of file viewopti.hxx.
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.
std::unique_ptr< SvxGridItem > ScViewOptions::CreateGridItem | ( | ) | const |
Definition at line 142 of file viewopti.cxx.
Referenced by ScModule::CreateItemSet().
Color const & ScViewOptions::GetGridColor | ( | OUString * | pStrName = nullptr | ) | const |
Definition at line 117 of file viewopti.cxx.
Referenced by ScGridWindow::DrawContent(), ScDocumentConfiguration::getPropertyValue(), ScTabViewObj::getPropertyValue(), ScViewData::WriteExtOptions(), and ScViewData::WriteUserDataSequence().
|
inline |
Definition at line 96 of file viewopti.hxx.
Referenced by ScTabViewShell::ExecDrawOpt(), ScTabViewShell::GetDrawOptState(), ScDocumentConfiguration::getPropertyValue(), ScViewData::ReadUserDataSequence(), FuDraw::ResetModifiers(), ScViewCfg::ScViewCfg(), ScDrawView::UpdateUserViewOptions(), and ScViewData::WriteUserDataSequence().
|
inline |
Definition at line 91 of file viewopti.hxx.
Referenced by ScGridWindow::DrawRedraw(), ScTabViewObj::getPropertyValue(), and ScViewData::SetOptions().
|
inline |
Definition at line 88 of file viewopti.hxx.
Referenced by ScGridWindow::CreateAnchorHandle(), ScGridWindow::Draw(), ScGridWindow::DrawContent(), ScPrintFunc::DrawToDev(), ScTabViewShell::Execute(), ScTabViewShell::GetDrawOptState(), ScDocumentConfiguration::getPropertyValue(), ScTabViewObj::getPropertyValue(), ScTabViewShell::GetState(), ScViewData::IsGridMode(), ScViewData::IsHeaderMode(), ScViewData::IsHScrollMode(), ScViewData::IsOutlineMode(), ScViewData::IsSyntaxMode(), ScViewData::IsTabMode(), ScViewData::IsVScrollMode(), ScModule::ModifyOptions(), ScViewData::SetOptions(), ScViewFunc::SetWidthOrHeight(), ScDrawView::UpdateUserViewOptions(), ScViewData::WriteUserDataSequence(), XclExpTabViewSettings::XclExpTabViewSettings(), and XclExpWindow1::XclExpWindow1().
|
inline |
Definition at line 102 of file viewopti.hxx.
References operator==().
|
default |
bool ScViewOptions::operator== | ( | const ScViewOptions & | rOpt | ) | const |
Definition at line 127 of file viewopti.cxx.
References aGridCol, aGridColName, aGridOpt, aModeArr, aOptArr, i, MAX_OPT, and MAX_TYPE.
void ScViewOptions::SetDefaults | ( | ) |
Definition at line 89 of file viewopti.cxx.
References SC_STD_GRIDCOLOR, 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.
Definition at line 93 of file viewopti.hxx.
Referenced by ScViewData::ReadExtOptions(), ScViewData::ReadUserDataSequence(), ScViewCfg::ScViewCfg(), and ScTabViewObj::setPropertyValue().
|
inline |
Definition at line 97 of file viewopti.hxx.
Referenced by ScTabViewShell::ExecDrawOpt(), ScModule::ModifyOptions(), ScViewData::ReadUserDataSequence(), and ScViewCfg::ScViewCfg().
|
inline |
Definition at line 90 of file viewopti.hxx.
Referenced by ScViewData::ReadUserDataSequence(), ScViewCfg::ScViewCfg(), and ScTabViewObj::setPropertyValue().
|
inline |
Definition at line 87 of file viewopti.hxx.
Referenced by DefaultOptions(), ScTabViewShell::ExecDrawOpt(), ScTabViewShell::Execute(), XclImpDocViewSettings::Finalize(), XclImpTabViewSettings::Finalize(), sc::IMPL_STATIC_LINK(), ScDrawTransferObj::InitDocShell(), ScViewData::ReadUserDataSequence(), ScViewCfg::ScViewCfg(), ScViewData::SetHeaderMode(), ScTabViewObj::setPropertyValue(), and ScViewData::SetSyntaxMode().
|
private |
Definition at line 107 of file viewopti.hxx.
Referenced by operator==().
|
private |
Definition at line 108 of file viewopti.hxx.
Referenced by operator==().
|
private |
Definition at line 109 of file viewopti.hxx.
Referenced by operator==().
|
private |
Definition at line 106 of file viewopti.hxx.
Referenced by operator==().
|
private |
Definition at line 105 of file viewopti.hxx.
Referenced by operator==().