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
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

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 ( ScDocShell pDocSh)

Definition at line 76 of file defltuno.cxx.

ScDocDefaultsObj::~ScDocDefaultsObj ( )
overridevirtual

Definition at line 83 of file defltuno.cxx.

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

Member Function Documentation

virtual void SAL_CALL ScDocDefaultsObj::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual
virtual void SAL_CALL ScDocDefaultsObj::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
virtual OUString SAL_CALL ScDocDefaultsObj::getImplementationName ( )
overridevirtual
uno::Any SAL_CALL ScDocDefaultsObj::getPropertyDefault ( const OUString &  aPropertyName)
overridevirtual
uno::Reference< beans::XPropertySetInfo > SAL_CALL ScDocDefaultsObj::getPropertySetInfo ( )
overridevirtual

Definition at line 111 of file defltuno.cxx.

References aPropertyMap.

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

Definition at line 280 of file defltuno.cxx.

References getPropertyState().

uno::Any SAL_CALL ScDocDefaultsObj::getPropertyValue ( const OUString &  PropertyName)
overridevirtual
virtual css::uno::Sequence< OUString > SAL_CALL ScDocDefaultsObj::getSupportedServiceNames ( )
overridevirtual
void ScDocDefaultsObj::ItemsChanged ( )
private

if not in XML import, adjust row heights

Definition at line 99 of file defltuno.cxx.

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

Referenced by setPropertyToDefault(), and setPropertyValue().

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

Reimplemented from SfxListener.

Definition at line 91 of file defltuno.cxx.

References SfxHint::GetId(), and pDocShell.

virtual void SAL_CALL ScDocDefaultsObj::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual
virtual void SAL_CALL ScDocDefaultsObj::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
void SAL_CALL ScDocDefaultsObj::setPropertyToDefault ( const OUString &  PropertyName)
overridevirtual
void SAL_CALL ScDocDefaultsObj::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual
virtual sal_Bool SAL_CALL ScDocDefaultsObj::supportsService ( const OUString &  ServiceName)
overridevirtual

Member Data Documentation

SfxItemPropertyMap ScDocDefaultsObj::aPropertyMap
private
ScDocShell* ScDocDefaultsObj::pDocShell
private

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