LibreOffice Module sw (master) 1
Public Member Functions | Protected Member Functions | List of all members
SwVbaEventsHelper Class Reference

#include <vbaeventshelper.hxx>

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

Public Member Functions

 SwVbaEventsHelper (const css::uno::Sequence< css::uno::Any > &rArgs, const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
virtual ~SwVbaEventsHelper () 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 VbaEventsHelperBase
 VbaEventsHelperBase (const css::uno::Sequence< css::uno::Any > &rArgs)
 
virtual ~VbaEventsHelperBase () override
 
virtual sal_Bool SAL_CALL hasVbaEventHandler (sal_Int32 nEventId, const css::uno::Sequence< css::uno::Any > &rArgs) override
 
virtual sal_Bool SAL_CALL processVbaEvent (sal_Int32 nEventId, const css::uno::Sequence< css::uno::Any > &rArgs) override
 
virtual void SAL_CALL notifyEvent (const css::document::EventObject &rEvent) override
 
virtual void SAL_CALL changesOccurred (const css::util::ChangesEvent &rEvent) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &rEvent) override
 
sal_Bool SAL_CALL supportsService (OUString const &ServiceName) override
 
bool hasModule (const OUString &rModuleName)
 
void processVbaEventNoThrow (sal_Int32 nEventId, const css::uno::Sequence< css::uno::Any > &rArgs)
 

Protected Member Functions

virtual bool implPrepareEvent (EventQueue &rEventQueue, const EventHandlerInfo &rInfo, const css::uno::Sequence< css::uno::Any > &rArgs) override
 
virtual css::uno::Sequence< css::uno::Any > implBuildArgumentList (const EventHandlerInfo &rInfo, const css::uno::Sequence< css::uno::Any > &rArgs) override
 
virtual void implPostProcessEvent (EventQueue &rEventQueue, const EventHandlerInfo &rInfo, bool bCancel) override
 
virtual OUString implGetDocumentModuleName (const EventHandlerInfo &rInfo, const css::uno::Sequence< css::uno::Any > &rArgs) const override
 
- Protected Member Functions inherited from VbaEventsHelperBase
void registerEventHandler (sal_Int32 nEventId, sal_Int32 nModuleType, const char *pcMacroName, sal_Int32 nCancelIndex=-1, const css::uno::Any &rUserData=css::uno::Any())
 
virtual bool implPrepareEvent (EventQueue &rEventQueue, const EventHandlerInfo &rInfo, const css::uno::Sequence< css::uno::Any > &rArgs)=0
 
virtual css::uno::Sequence< css::uno::Any > implBuildArgumentList (const EventHandlerInfo &rInfo, const css::uno::Sequence< css::uno::Any > &rArgs)=0
 
virtual void implPostProcessEvent (EventQueue &rEventQueue, const EventHandlerInfo &rInfo, bool bCancel)=0
 
virtual OUString implGetDocumentModuleName (const EventHandlerInfo &rInfo, const css::uno::Sequence< css::uno::Any > &rArgs) const=0
 

Additional Inherited Members

- Static Public Member Functions inherited from VbaEventsHelperBase
static void checkArgument (const css::uno::Sequence< css::uno::Any > &rArgs, sal_Int32 nIndex)
 
static void checkArgumentType (const css::uno::Sequence< css::uno::Any > &rArgs, sal_Int32 nIndex)
 
- Protected Types inherited from VbaEventsHelperBase
typedef ::std::deque< EventQueueEntry > EventQueue
 
- Protected Attributes inherited from VbaEventsHelperBase
css::uno::Reference< css::frame::XModel > mxModel
 
SfxObjectShellmpShell
 

Detailed Description

Definition at line 25 of file vbaeventshelper.hxx.

Constructor & Destructor Documentation

◆ SwVbaEventsHelper()

SwVbaEventsHelper::SwVbaEventsHelper ( const css::uno::Sequence< css::uno::Any > &  rArgs,
const css::uno::Reference< css::uno::XComponentContext > &  rxContext 
)

Definition at line 30 of file vbaeventshelper.cxx.

References DOCUMENT, NORMAL, and VbaEventsHelperBase::registerEventHandler().

◆ ~SwVbaEventsHelper()

SwVbaEventsHelper::~SwVbaEventsHelper ( )
overridevirtual

Definition at line 42 of file vbaeventshelper.cxx.

Member Function Documentation

◆ getImplementationName()

OUString SwVbaEventsHelper::getImplementationName ( )
overridevirtual

Definition at line 73 of file vbaeventshelper.cxx.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > SwVbaEventsHelper::getSupportedServiceNames ( )
overridevirtual

Definition at line 81 of file vbaeventshelper.cxx.

◆ implBuildArgumentList()

uno::Sequence< uno::Any > SwVbaEventsHelper::implBuildArgumentList ( const EventHandlerInfo &  rInfo,
const css::uno::Sequence< css::uno::Any > &  rArgs 
)
overrideprotectedvirtual

Implements VbaEventsHelperBase.

Definition at line 52 of file vbaeventshelper.cxx.

◆ implGetDocumentModuleName()

OUString SwVbaEventsHelper::implGetDocumentModuleName ( const EventHandlerInfo &  rInfo,
const css::uno::Sequence< css::uno::Any > &  rArgs 
) const
overrideprotectedvirtual

Implements VbaEventsHelperBase.

Definition at line 65 of file vbaeventshelper.cxx.

◆ implPostProcessEvent()

void SwVbaEventsHelper::implPostProcessEvent ( EventQueue rEventQueue,
const EventHandlerInfo &  rInfo,
bool  bCancel 
)
overrideprotectedvirtual

Implements VbaEventsHelperBase.

Definition at line 59 of file vbaeventshelper.cxx.

◆ implPrepareEvent()

bool SwVbaEventsHelper::implPrepareEvent ( EventQueue rEventQueue,
const EventHandlerInfo &  rInfo,
const css::uno::Sequence< css::uno::Any > &  rArgs 
)
overrideprotectedvirtual

Implements VbaEventsHelperBase.

Definition at line 46 of file vbaeventshelper.cxx.

◆ supportsService()

sal_Bool SwVbaEventsHelper::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 77 of file vbaeventshelper.cxx.

References ServiceName, and cppu::supportsService().


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