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

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 ( const css::uno::Sequence< css::uno::Any > &  rArgs,
const css::uno::Reference< css::uno::XComponentContext > &  rxContext 
)

Definition at line 31 of file vbaeventshelper.cxx.

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

SwVbaEventsHelper::~SwVbaEventsHelper ( )
overridevirtual

Definition at line 43 of file vbaeventshelper.cxx.

Member Function Documentation

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

Implements VbaEventsHelperBase.

Definition at line 65 of file vbaeventshelper.cxx.

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

Implements VbaEventsHelperBase.

Definition at line 78 of file vbaeventshelper.cxx.

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

Implements VbaEventsHelperBase.

Definition at line 72 of file vbaeventshelper.cxx.

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

Implements VbaEventsHelperBase.

Definition at line 47 of file vbaeventshelper.cxx.


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