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

#include <defltuno.hxx>

Inheritance diagram for ScDocDefaultsObj:
[legend]
Collaboration diagram for ScDocDefaultsObj:
[legend]

Public Member Functions

 ScDocDefaultsObj (ScDocShell *pDocSh)
 
virtual ~ScDocDefaultsObj () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Private Member Functions

void ItemsChanged ()
 

Private Attributes

ScDocShellpDocShell
 
SfxItemPropertyMap aPropertyMap
 

Detailed Description

Definition at line 31 of file defltuno.hxx.

Constructor & Destructor Documentation

◆ ScDocDefaultsObj()

ScDocDefaultsObj::ScDocDefaultsObj ( ScDocShell pDocSh)

Definition at line 74 of file defltuno.cxx.

◆ ~ScDocDefaultsObj()

ScDocDefaultsObj::~ScDocDefaultsObj ( )
overridevirtual

Definition at line 81 of file defltuno.cxx.

References ScDocShell::GetDocument(), pDocShell, and ScDocument::RemoveUnoObject().

Member Function Documentation

◆ addPropertyChangeListener()

virtual void SAL_CALL ScDocDefaultsObj::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

◆ addVetoableChangeListener()

virtual void SAL_CALL ScDocDefaultsObj::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ getImplementationName()

virtual OUString SAL_CALL ScDocDefaultsObj::getImplementationName ( )
overridevirtual

◆ getPropertyDefault()

uno::Any SAL_CALL ScDocDefaultsObj::getPropertyDefault ( const OUString &  aPropertyName)
overridevirtual

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL ScDocDefaultsObj::getPropertySetInfo ( )
overridevirtual

Definition at line 109 of file defltuno.cxx.

References aPropertyMap.

◆ getPropertyState()

beans::PropertyState SAL_CALL ScDocDefaultsObj::getPropertyState ( const OUString &  PropertyName)
overridevirtual

◆ getPropertyStates()

uno::Sequence< beans::PropertyState > SAL_CALL ScDocDefaultsObj::getPropertyStates ( const css::uno::Sequence< OUString > &  aPropertyName)
overridevirtual

Definition at line 278 of file defltuno.cxx.

◆ getPropertyValue()

uno::Any SAL_CALL ScDocDefaultsObj::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

◆ getSupportedServiceNames()

virtual css::uno::Sequence< OUString > SAL_CALL ScDocDefaultsObj::getSupportedServiceNames ( )
overridevirtual

◆ ItemsChanged()

void ScDocDefaultsObj::ItemsChanged ( )
private

if not in XML import, adjust row heights

Definition at line 97 of file defltuno.cxx.

References ScDocShell::GetDocument(), Grid, MAXTAB, pDocShell, and ScDocShell::PostPaint().

Referenced by setPropertyToDefault(), and setPropertyValue().

◆ Notify()

void ScDocDefaultsObj::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

Reimplemented from SfxListener.

Definition at line 89 of file defltuno.cxx.

References SfxHint::GetId(), and pDocShell.

◆ removePropertyChangeListener()

virtual void SAL_CALL ScDocDefaultsObj::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

◆ removeVetoableChangeListener()

virtual void SAL_CALL ScDocDefaultsObj::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

◆ setPropertyToDefault()

void SAL_CALL ScDocDefaultsObj::setPropertyToDefault ( const OUString &  PropertyName)
overridevirtual

◆ setPropertyValue()

void SAL_CALL ScDocDefaultsObj::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

◆ supportsService()

virtual sal_Bool SAL_CALL ScDocDefaultsObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

◆ aPropertyMap

SfxItemPropertyMap ScDocDefaultsObj::aPropertyMap
private

◆ pDocShell

ScDocShell* ScDocDefaultsObj::pDocShell
private

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