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 |
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 Attributes | |
bool | aOptArr [MAX_OPT] |
ScVObjMode | aModeArr [MAX_TYPE] |
Color | aGridCol |
OUString | aGridColName |
ScGridOptions | aGridOpt |
OUString | sColorSchemeName = "Default" |
Color | aDocCol |
Definition at line 76 of file viewopti.hxx.
ScViewOptions::ScViewOptions | ( | ) |
Definition at line 78 of file viewopti.cxx.
References SetDefaults().
ScViewOptions::ScViewOptions | ( | const ScViewOptions & | rCpy | ) |
Definition at line 83 of file viewopti.cxx.
ScViewOptions::~ScViewOptions | ( | ) |
Definition at line 88 of file viewopti.cxx.
std::unique_ptr< SvxGridItem > ScViewOptions::CreateGridItem | ( | ) | const |
Definition at line 149 of file viewopti.cxx.
References aGridOpt, SvxOptionsGrid::GetEqualGrid(), SvxOptionsGrid::GetFieldDivisionX(), SvxOptionsGrid::GetFieldDivisionY(), SvxOptionsGrid::GetFieldDrawX(), SvxOptionsGrid::GetFieldDrawY(), SvxOptionsGrid::GetFieldSnapX(), SvxOptionsGrid::GetFieldSnapY(), SvxOptionsGrid::GetGridVisible(), SvxOptionsGrid::GetSynchronize(), and SvxOptionsGrid::GetUseGridSnap().
Referenced by ScModule::CreateItemSet().
|
inline |
Definition at line 98 of file viewopti.hxx.
Referenced by ScTabViewShell::GetColorConfigName(), and ScModelObj::getViewRenderState().
|
inline |
Definition at line 101 of file viewopti.hxx.
Referenced by ScGridWindow::DrawContent(), ScPatternAttr::fillColor(), and ScTabViewShell::GetColorConfigColor().
Color const & ScViewOptions::GetGridColor | ( | OUString * | pStrName = nullptr | ) | const |
Definition at line 123 of file viewopti.cxx.
References aGridCol, and aGridColName.
Referenced by ScGridWindow::DrawContent(), ScDocumentConfiguration::getPropertyValue(), ScTabViewObj::getPropertyValue(), and ScViewData::WriteUserDataSequence().
|
inline |
Definition at line 94 of file viewopti.hxx.
Referenced by ScTabViewShell::ExecDrawOpt(), ScTabViewShell::GetDrawOptState(), ScDocumentConfiguration::getPropertyValue(), ScModule::ModifyOptions(), ScViewData::ReadUserDataSequence(), FuDraw::ResetModifiers(), ScViewCfg::ScViewCfg(), ScDocumentConfiguration::setPropertyValue(), ScDrawView::UpdateUserViewOptions(), ScTabView::ViewOptionsHasChanged(), and ScViewData::WriteUserDataSequence().
|
inline |
Definition at line 89 of file viewopti.hxx.
Referenced by ScTabView::DrawEnableAnim(), ScGridWindow::DrawRedraw(), ScTabViewObj::getPropertyValue(), and ScViewData::SetOptions().
|
inline |
Definition at line 86 of file viewopti.hxx.
Referenced by ScGridWindow::CreateAnchorHandle(), ScGridWindow::Draw(), ScGridWindow::DrawContent(), ScPrintFunc::DrawToDev(), ScTabViewShell::Execute(), ScTabViewShell::GetDrawOptState(), ScDocumentConfiguration::getPropertyValue(), ScTabViewObj::getPropertyValue(), ScTabViewShell::GetState(), IMPL_LINK(), ScViewData::IsGridMode(), ScViewData::IsHeaderMode(), ScViewData::IsHScrollMode(), ScViewData::IsOutlineMode(), ScViewData::IsSyntaxMode(), ScViewData::IsTabMode(), ScViewData::IsThemedCursor(), ScViewData::IsVScrollMode(), ScModule::ModifyOptions(), ScGridWindow::RequestHelp(), ScViewFunc::SearchAndReplace(), ScViewData::SetOptions(), ScViewFunc::SetWidthOrHeight(), ScDrawView::UpdateUserViewOptions(), ScViewData::WriteUserDataSequence(), XclExpTabViewSettings::XclExpTabViewSettings(), and XclExpWindow1::XclExpWindow1().
|
inline |
Definition at line 106 of file viewopti.hxx.
References operator==().
|
default |
bool ScViewOptions::operator== | ( | const ScViewOptions & | rOpt | ) | const |
|
inline |
Definition at line 99 of file viewopti.hxx.
Referenced by ScModule::ConfigurationChanged().
void ScViewOptions::SetDefaults | ( | ) |
Definition at line 92 of file viewopti.cxx.
References aDocCol, aGridCol, aGridOpt, aModeArr, aOptArr, svtools::CALCGRID, svtools::DOCCOLOR, svtools::ColorConfig::GetColorValue(), svtools::ColorConfigValue::nColor, SC_MOD, ScGridOptions::SetDefaults(), 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.
Referenced by ScViewOptions().
|
inline |
Definition at line 102 of file viewopti.hxx.
Referenced by ScModule::ConfigurationChanged().
|
inline |
Definition at line 91 of file viewopti.hxx.
Referenced by ScViewData::ReadUserDataSequence(), ScViewCfg::ScViewCfg(), ScDocumentConfiguration::setPropertyValue(), and ScTabViewObj::setPropertyValue().
|
inline |
Definition at line 95 of file viewopti.hxx.
Referenced by ScTabViewShell::ExecDrawOpt(), ScModule::ModifyOptions(), ScViewData::ReadUserDataSequence(), ScViewCfg::ScViewCfg(), and ScDocumentConfiguration::setPropertyValue().
|
inline |
Definition at line 88 of file viewopti.hxx.
References eMode.
Referenced by ImportExcel::Hideobj(), ScViewData::ReadUserDataSequence(), ScViewCfg::ScViewCfg(), and ScTabViewObj::setPropertyValue().
|
inline |
Definition at line 85 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(), ScDocumentConfiguration::setPropertyValue(), ScTabViewObj::setPropertyValue(), and ScViewData::SetSyntaxMode().
|
private |
Definition at line 117 of file viewopti.hxx.
Referenced by operator==(), and SetDefaults().
|
private |
Definition at line 111 of file viewopti.hxx.
Referenced by GetGridColor(), operator==(), and SetDefaults().
|
private |
Definition at line 112 of file viewopti.hxx.
Referenced by GetGridColor(), and operator==().
|
private |
Definition at line 113 of file viewopti.hxx.
Referenced by CreateGridItem(), operator==(), and SetDefaults().
|
private |
Definition at line 110 of file viewopti.hxx.
Referenced by operator==(), and SetDefaults().
|
private |
Definition at line 109 of file viewopti.hxx.
Referenced by operator==(), and SetDefaults().
|
private |
Definition at line 115 of file viewopti.hxx.