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

Private Attributes

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

Detailed Description

Definition at line 56 of file funcuno.hxx.

Constructor & Destructor Documentation

ScFunctionAccess::ScFunctionAccess ( )

Definition at line 172 of file funcuno.cxx.

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

ScFunctionAccess::~ScFunctionAccess ( )
overridevirtual

Definition at line 180 of file funcuno.cxx.

References SfxListener::EndListeningAll(), and pOptions.

Member Function Documentation

virtual void SAL_CALL ScFunctionAccess::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual
virtual void SAL_CALL ScFunctionAccess::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
uno::Any SAL_CALL ScFunctionAccess::callFunction ( const OUString &  aName,
const css::uno::Sequence< css::uno::Any > &  aArguments 
)
overridevirtual
OUString SAL_CALL ScFunctionAccess::getImplementationName ( )
overridevirtual

Definition at line 209 of file funcuno.cxx.

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

Definition at line 226 of file funcuno.cxx.

References aPropertyMap.

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

Definition at line 257 of file funcuno.cxx.

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

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

Definition at line 219 of file funcuno.cxx.

References SCDOCSETTINGS_SERVICE, and SCFUNCTIONACCESS_SERVICE.

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

Reimplemented from SfxListener.

Definition at line 190 of file funcuno.cxx.

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

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

Definition at line 234 of file funcuno.cxx.

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

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

Definition at line 214 of file funcuno.cxx.

References cppu::supportsService().

Member Data Documentation

ScTempDocCache ScFunctionAccess::aDocCache
private

Definition at line 63 of file funcuno.hxx.

Referenced by callFunction(), and Notify().

SfxItemPropertyMap ScFunctionAccess::aPropertyMap
private

Definition at line 65 of file funcuno.hxx.

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

bool ScFunctionAccess::mbArray
private

Definition at line 66 of file funcuno.hxx.

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

bool ScFunctionAccess::mbValid
private

Definition at line 67 of file funcuno.hxx.

Referenced by callFunction(), and Notify().

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

Definition at line 64 of file funcuno.hxx.

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


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