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

#include <funcuno.hxx>

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

Public Member Functions

 ScFunctionAccess ()
 
virtual ~ScFunctionAccess () override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual css::uno::Any SAL_CALL callFunction (const OUString &aName, const css::uno::Sequence< css::uno::Any > &aArguments) 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 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 Attributes

ScTempDocCache aDocCache
 
std::unique_ptr< ScDocOptionspOptions
 
SfxItemPropertyMap aPropertyMap
 
bool mbArray
 
bool mbValid
 

Detailed Description

Definition at line 55 of file funcuno.hxx.

Constructor & Destructor Documentation

◆ ScFunctionAccess()

ScFunctionAccess::ScFunctionAccess ( )

Definition at line 169 of file funcuno.cxx.

References SfxGetpApp(), and SfxListener::StartListening().

◆ ~ScFunctionAccess()

ScFunctionAccess::~ScFunctionAccess ( )
overridevirtual

Definition at line 177 of file funcuno.cxx.

References SfxListener::EndListeningAll(), and pOptions.

Member Function Documentation

◆ addPropertyChangeListener()

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

◆ addVetoableChangeListener()

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

◆ callFunction()

uno::Any SAL_CALL ScFunctionAccess::callFunction ( const OUString &  aName,
const css::uno::Sequence< css::uno::Any > &  aArguments 
)
overridevirtual

◆ getImplementationName()

OUString SAL_CALL ScFunctionAccess::getImplementationName ( )
overridevirtual

Definition at line 206 of file funcuno.cxx.

◆ getPropertySetInfo()

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

Definition at line 223 of file funcuno.cxx.

References aPropertyMap.

◆ getPropertyValue()

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

Definition at line 254 of file funcuno.cxx.

References aPropertyMap, ScDocOptionsHelper::getPropertyValue(), mbArray, and pOptions.

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL ScFunctionAccess::getSupportedServiceNames ( )
overridevirtual

Definition at line 216 of file funcuno.cxx.

References SCDOCSETTINGS_SERVICE, and SCFUNCTIONACCESS_SERVICE.

◆ Notify()

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

Reimplemented from SfxListener.

Definition at line 187 of file funcuno.cxx.

References aDocCache, ScTempDocCache::Clear(), SfxHint::GetId(), and mbValid.

◆ removePropertyChangeListener()

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

◆ removeVetoableChangeListener()

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

◆ setPropertyValue()

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

Definition at line 231 of file funcuno.cxx.

References aPropertyMap, mbArray, pOptions, and ScDocOptionsHelper::setPropertyValue().

◆ supportsService()

sal_Bool SAL_CALL ScFunctionAccess::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 211 of file funcuno.cxx.

References cppu::supportsService().

Member Data Documentation

◆ aDocCache

ScTempDocCache ScFunctionAccess::aDocCache
private

Definition at line 62 of file funcuno.hxx.

Referenced by callFunction(), and Notify().

◆ aPropertyMap

SfxItemPropertyMap ScFunctionAccess::aPropertyMap
private

Definition at line 64 of file funcuno.hxx.

Referenced by getPropertySetInfo(), getPropertyValue(), and setPropertyValue().

◆ mbArray

bool ScFunctionAccess::mbArray
private

Definition at line 65 of file funcuno.hxx.

Referenced by callFunction(), getPropertyValue(), and setPropertyValue().

◆ mbValid

bool ScFunctionAccess::mbValid
private

Definition at line 66 of file funcuno.hxx.

Referenced by callFunction(), and Notify().

◆ pOptions

std::unique_ptr<ScDocOptions> ScFunctionAccess::pOptions
private

Definition at line 63 of file funcuno.hxx.

Referenced by callFunction(), getPropertyValue(), setPropertyValue(), and ~ScFunctionAccess().


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