Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
:: com :: sun :: star :: script :: vba ::
unpublished
interface XVBAEventProcessor
Usage Restrictions
not published
Description
Executes VBA event handlers.
Methods' Details
hasVbaEventHandler
Description
Returns whether a VBA event handler exists.
Parameter nEventId
The identifier of the event. Must be a constant from VBAEventId .
Parameter aArgs
Additional arguments needed to identify some event handlers, e.g. a
sheet index for spreadsheet events.
Returns
true , if the VBA event handler exists.
Throws
::com::sun::star::lang ::IllegalArgumentException
if the passed event identifier is not supported, or if the passed
specifier is required but invalid.
processVbaEvent
Description
Executes a VBA event handler.
Parameter nEventId
The identifier of the event. Must be a constant from VBAEventId .
Parameter aArgs
The input arguments needed to create the argument list of the VBA
event handler.
Returns
true , if event handing is enabled, and the event handler macro
exists and has been invoked.
Throws
::com::sun::star::lang ::IllegalArgumentException
if the passed event identifier is not supported, or if the passed
arguments do not conform to the arguments expected by the specified
event.
Throws
::com::sun::star::util ::VetoException
if the VBA event handler has indicated to veto the event.
Top of Page Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.