LibreOffice Module svx (master)  1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
svxform::FormScriptingEnvironment Class Reference
Inheritance diagram for svxform::FormScriptingEnvironment:
[legend]
Collaboration diagram for svxform::FormScriptingEnvironment:
[legend]

Public Member Functions

 FormScriptingEnvironment (FmFormModel &_rModel)
 
 FormScriptingEnvironment (const FormScriptingEnvironment &)=delete
 
FormScriptingEnvironmentoperator= (const FormScriptingEnvironment &)=delete
 
void doFireScriptEvent (const ScriptEvent &_rEvent, Any *_pSynchronousResult)
 
virtual void registerEventAttacherManager (const Reference< XEventAttacherManager > &_rxManager) override
 
virtual void revokeEventAttacherManager (const Reference< XEventAttacherManager > &_rxManager) override
 
virtual void dispose () override
 disposes the scripting environment instance More...
 
- Public Member Functions inherited from svxform::IFormScriptingEnvironment
virtual void registerEventAttacherManager (const css::uno::Reference< css::script::XEventAttacherManager > &_rxManager)=0
 registers an XEventAttacherManager whose events should be monitored and handled More...
 
virtual void revokeEventAttacherManager (const css::uno::Reference< css::script::XEventAttacherManager > &_rxManager)=0
 registers an XEventAttacherManager whose events should not be monitored and handled anymore More...
 
virtual ~IFormScriptingEnvironment () override
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Types

typedef rtl::Reference< FormScriptListenerListenerImplementation
 

Private Member Functions

void impl_registerOrRevoke_throw (const Reference< XEventAttacherManager > &_rxManager, bool _bRegister)
 

Private Attributes

::osl::Mutex m_aMutex
 
ListenerImplementation m_pScriptListener
 
FmFormModelm_rFormModel
 
bool m_bDisposed
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static voidoperator new (std::size_t nSize)
 
static voidoperator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 143 of file fmscriptingenv.cxx.

Member Typedef Documentation

Definition at line 147 of file fmscriptingenv.cxx.

Constructor & Destructor Documentation

svxform::FormScriptingEnvironment::FormScriptingEnvironment ( FmFormModel _rModel)
explicit

Definition at line 894 of file fmscriptingenv.cxx.

References m_pScriptListener.

svxform::FormScriptingEnvironment::FormScriptingEnvironment ( const FormScriptingEnvironment )
delete

Member Function Documentation

void svxform::FormScriptingEnvironment::dispose ( )
overridevirtual

disposes the scripting environment instance

Implements svxform::IFormScriptingEnvironment.

Definition at line 1064 of file fmscriptingenv.cxx.

References m_aMutex, m_bDisposed, and m_pScriptListener.

void svxform::FormScriptingEnvironment::doFireScriptEvent ( const ScriptEvent &  _rEvent,
Any *  _pSynchronousResult 
)
void svxform::FormScriptingEnvironment::impl_registerOrRevoke_throw ( const Reference< XEventAttacherManager > &  _rxManager,
bool  _bRegister 
)
private
FormScriptingEnvironment& svxform::FormScriptingEnvironment::operator= ( const FormScriptingEnvironment )
delete
void svxform::FormScriptingEnvironment::registerEventAttacherManager ( const Reference< XEventAttacherManager > &  _rxManager)
overridevirtual

Definition at line 927 of file fmscriptingenv.cxx.

References impl_registerOrRevoke_throw().

void svxform::FormScriptingEnvironment::revokeEventAttacherManager ( const Reference< XEventAttacherManager > &  _rxManager)
overridevirtual

Definition at line 933 of file fmscriptingenv.cxx.

References impl_registerOrRevoke_throw().

Member Data Documentation

::osl::Mutex svxform::FormScriptingEnvironment::m_aMutex
private

Definition at line 150 of file fmscriptingenv.cxx.

Referenced by dispose(), doFireScriptEvent(), and impl_registerOrRevoke_throw().

bool svxform::FormScriptingEnvironment::m_bDisposed
private

Definition at line 153 of file fmscriptingenv.cxx.

Referenced by dispose(), doFireScriptEvent(), and impl_registerOrRevoke_throw().

ListenerImplementation svxform::FormScriptingEnvironment::m_pScriptListener
private
FmFormModel& svxform::FormScriptingEnvironment::m_rFormModel
private

Definition at line 152 of file fmscriptingenv.cxx.

Referenced by doFireScriptEvent().


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