LibreOffice Module sd (master) 1
|
#include <optsitem.hxx>
Public Member Functions | |
SdOptionsGeneric (bool bImpress, const OUString &rSubTree) | |
SdOptionsGeneric (SdOptionsGeneric const &) | |
virtual | ~SdOptionsGeneric () |
SdOptionsGeneric & | operator= (SdOptionsGeneric const &) |
bool | IsImpress () const |
void | EnableModify (bool bModify) |
void | Store () |
Static Public Member Functions | |
static bool | isMetricSystem () |
Protected Member Functions | |
void | Init () const |
void | OptionsChanged () |
virtual void | GetPropNameArray (const char **&ppNames, sal_uLong &rCount) const =0 |
virtual bool | ReadData (const css::uno::Any *pValues)=0 |
virtual bool | WriteData (css::uno::Any *pValues) const =0 |
Private Member Functions | |
SAL_DLLPRIVATE void | Commit (SdOptionsItem &rCfgItem) const |
SAL_DLLPRIVATE css::uno::Sequence< OUString > | GetPropertyNames () const |
Private Attributes | |
OUString | maSubTree |
std::unique_ptr< SdOptionsItem > | mpCfgItem |
bool | mbImpress |
bool | mbInit: 1 |
bool | mbEnableModify: 1 |
Friends | |
class | SdOptionsItem |
Definition at line 64 of file optsitem.hxx.
SdOptionsGeneric::SdOptionsGeneric | ( | bool | bImpress, |
const OUString & | rSubTree | ||
) |
Definition at line 78 of file optsitem.cxx.
SdOptionsGeneric::SdOptionsGeneric | ( | SdOptionsGeneric const & | rSource | ) |
Definition at line 86 of file optsitem.cxx.
References operator=().
|
virtual |
Definition at line 130 of file optsitem.cxx.
|
private |
Definition at line 134 of file optsitem.cxx.
References GetPropertyNames(), SdOptionsItem::PutProperties(), and WriteData().
Referenced by SdOptionsItem::ImplCommit().
|
inline |
Definition at line 101 of file optsitem.hxx.
Referenced by Init(), SdOptionsContents::SdOptionsContents(), SdOptionsGrid::SdOptionsGrid(), SdOptionsLayout::SdOptionsLayout(), SdOptionsMisc::SdOptionsMisc(), SdOptionsPrint::SdOptionsPrint(), SdOptionsSnap::SdOptionsSnap(), and SdOptionsZoom::SdOptionsZoom().
|
private |
Definition at line 150 of file optsitem.cxx.
References GetPropNameArray(), i, and nCount.
|
protectedpure virtual |
Implemented in SdOptionsLayout, SdOptionsContents, SdOptionsMisc, SdOptionsSnap, SdOptionsZoom, SdOptionsGrid, and SdOptionsPrint.
Referenced by GetPropertyNames().
|
protected |
Definition at line 104 of file optsitem.cxx.
References Any, EnableModify(), GetPropertyNames(), maSubTree, mbInit, mpCfgItem, pValues, ReadData(), and SdOptionsItem.
Referenced by SdOptionsMisc::GetDisplay(), SdOptionsMisc::GetDragThresholdPixels(), SdOptionsGrid::GetFieldDivisionX(), SdOptionsGrid::GetFieldDivisionY(), SdOptionsGrid::GetFieldDrawX(), SdOptionsGrid::GetFieldDrawY(), SdOptionsGrid::GetFieldSnapX(), SdOptionsGrid::GetFieldSnapY(), SdOptionsZoom::GetScale(), SdOptionsGrid::IsEqualGrid(), SdOptionsGrid::IsGridVisible(), SdOptionsGrid::IsSynchronize(), and SdOptionsGrid::IsUseGridSnap().
|
inline |
Definition at line 99 of file optsitem.hxx.
Referenced by SdOptionsMisc::GetPropNameArray(), SdOptionsZoom::GetPropNameArray(), SdOptionsPrint::GetPropNameArray(), SdOptionsMisc::ReadData(), SdOptionsPrint::ReadData(), SdOptionsMisc::WriteData(), and SdOptionsPrint::WriteData().
|
static |
Definition at line 172 of file optsitem.cxx.
References SvtSysLocale::GetLocaleData(), and LocaleDataWrapper::getMeasurementSystemEnum().
Referenced by SdOptionsLayout::GetPropNameArray(), and SdOptionsGrid::GetPropNameArray().
SdOptionsGeneric & SdOptionsGeneric::operator= | ( | SdOptionsGeneric const & | rSource | ) |
Definition at line 91 of file optsitem.cxx.
References maSubTree, mbEnableModify, mbImpress, mbInit, and mpCfgItem.
Referenced by SdOptionsGeneric().
|
inlineprotected |
Definition at line 83 of file optsitem.hxx.
Referenced by SdOptionsMisc::SetDisplay(), SdOptionsMisc::SetDragThreshold(), SdOptionsGrid::SetEqualGrid(), SdOptionsGrid::SetFieldDivisionX(), SdOptionsGrid::SetFieldDivisionY(), SdOptionsGrid::SetFieldDrawX(), SdOptionsGrid::SetFieldDrawY(), SdOptionsGrid::SetFieldSnapX(), SdOptionsGrid::SetFieldSnapY(), SdOptionsGrid::SetGridVisible(), SdOptionsZoom::SetScale(), SdOptionsGrid::SetSynchronize(), and SdOptionsGrid::SetUseGridSnap().
|
protectedpure virtual |
Implemented in SdOptionsLayout, SdOptionsContents, SdOptionsMisc, SdOptionsSnap, SdOptionsZoom, SdOptionsGrid, and SdOptionsPrint.
Referenced by Init().
void SdOptionsGeneric::Store | ( | ) |
Definition at line 166 of file optsitem.cxx.
References mpCfgItem.
Referenced by SdOptions::StoreConfig().
|
protectedpure virtual |
Implemented in SdOptionsLayout, SdOptionsContents, SdOptionsMisc, SdOptionsSnap, SdOptionsZoom, SdOptionsGrid, and SdOptionsPrint.
Referenced by Commit().
|
friend |
Definition at line 66 of file optsitem.hxx.
Referenced by Init().
|
private |
Definition at line 70 of file optsitem.hxx.
Referenced by Init(), and operator=().
|
private |
Definition at line 75 of file optsitem.hxx.
Referenced by operator=().
|
private |
Definition at line 73 of file optsitem.hxx.
Referenced by operator=().
|
private |
Definition at line 74 of file optsitem.hxx.
Referenced by Init(), and operator=().
|
private |
Definition at line 72 of file optsitem.hxx.
Referenced by Init(), operator=(), and Store().