LibreOffice Module sd (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SdOptionsGeneric Class Referenceabstract

#include <optsitem.hxx>

Inheritance diagram for SdOptionsGeneric:
[legend]

Public Member Functions

 SdOptionsGeneric (bool bImpress, const OUString &rSubTree)
 
 SdOptionsGeneric (SdOptionsGeneric const &)
 
virtual ~SdOptionsGeneric ()
 
SdOptionsGenericoperator= (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< SdOptionsItemmpCfgItem
 
bool mbImpress
 
bool mbInit: 1
 
bool mbEnableModify: 1
 

Friends

class SdOptionsItem
 

Detailed Description

Definition at line 64 of file optsitem.hxx.

Constructor & Destructor Documentation

◆ SdOptionsGeneric() [1/2]

SdOptionsGeneric::SdOptionsGeneric ( bool  bImpress,
const OUString &  rSubTree 
)

Definition at line 78 of file optsitem.cxx.

◆ SdOptionsGeneric() [2/2]

SdOptionsGeneric::SdOptionsGeneric ( SdOptionsGeneric const &  rSource)

Definition at line 86 of file optsitem.cxx.

References operator=().

◆ ~SdOptionsGeneric()

SdOptionsGeneric::~SdOptionsGeneric ( )
virtual

Definition at line 130 of file optsitem.cxx.

Member Function Documentation

◆ Commit()

void SdOptionsGeneric::Commit ( SdOptionsItem rCfgItem) const
private

Definition at line 134 of file optsitem.cxx.

References GetPropertyNames(), SdOptionsItem::PutProperties(), and WriteData().

Referenced by SdOptionsItem::ImplCommit().

◆ EnableModify()

void SdOptionsGeneric::EnableModify ( bool  bModify)
inline

◆ GetPropertyNames()

Sequence< OUString > SdOptionsGeneric::GetPropertyNames ( ) const
private

Definition at line 150 of file optsitem.cxx.

References GetPropNameArray(), i, and nCount.

Referenced by Commit(), and Init().

◆ GetPropNameArray()

virtual void SdOptionsGeneric::GetPropNameArray ( const char **&  ppNames,
sal_uLong rCount 
) const
protectedpure virtual

◆ Init()

void SdOptionsGeneric::Init ( void  ) const
protected

◆ IsImpress()

bool SdOptionsGeneric::IsImpress ( ) const
inline

◆ isMetricSystem()

bool SdOptionsGeneric::isMetricSystem ( )
static

◆ operator=()

SdOptionsGeneric & SdOptionsGeneric::operator= ( SdOptionsGeneric const &  rSource)

Definition at line 91 of file optsitem.cxx.

References maSubTree, mbEnableModify, mbImpress, mbInit, and mpCfgItem.

Referenced by SdOptionsGeneric().

◆ OptionsChanged()

void SdOptionsGeneric::OptionsChanged ( )
inlineprotected

◆ ReadData()

virtual bool SdOptionsGeneric::ReadData ( const css::uno::Any *  pValues)
protectedpure virtual

◆ Store()

void SdOptionsGeneric::Store ( )

Definition at line 166 of file optsitem.cxx.

References mpCfgItem.

Referenced by SdOptions::StoreConfig().

◆ WriteData()

virtual bool SdOptionsGeneric::WriteData ( css::uno::Any *  pValues) const
protectedpure virtual

Friends And Related Function Documentation

◆ SdOptionsItem

friend class SdOptionsItem
friend

Definition at line 66 of file optsitem.hxx.

Referenced by Init().

Member Data Documentation

◆ maSubTree

OUString SdOptionsGeneric::maSubTree
private

Definition at line 70 of file optsitem.hxx.

Referenced by Init(), and operator=().

◆ mbEnableModify

bool SdOptionsGeneric::mbEnableModify
private

Definition at line 75 of file optsitem.hxx.

Referenced by operator=().

◆ mbImpress

bool SdOptionsGeneric::mbImpress
private

Definition at line 73 of file optsitem.hxx.

Referenced by operator=().

◆ mbInit

bool SdOptionsGeneric::mbInit
private

Definition at line 74 of file optsitem.hxx.

Referenced by Init(), and operator=().

◆ mpCfgItem

std::unique_ptr<SdOptionsItem> SdOptionsGeneric::mpCfgItem
private

Definition at line 72 of file optsitem.hxx.

Referenced by Init(), operator=(), and Store().


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