:: 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 © 2000, 2012 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.