Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: script ::
interface XScriptEventsAttacher
Description This interface can be used to attach script events to a number of objects that give access to the definition of events that should be attached to them, e.g., by supporting XEventsSupplier

Methods' Summary
attachEvents | Attaches the events defined by XScriptEventsSupplier to the corresponding object implementing XScriptEventsSupplier.

Methods' Details
attachEvents
void
attachEvents( | [in] sequence< ::com::sun::star::uno::XInterface > | Objects,
| [in] XScriptListener | xListener,
| [in] any | Helper )
raises( | ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::beans::IntrospectionException, CannotCreateAdapterException, ::com::sun::star::lang::ServiceNotRegisteredException );
Description Attaches the events defined by XScriptEventsSupplier to the corresponding object implementing XScriptEventsSupplier. Parameter Objects Sequence of all objects. Usually the objects should directly support XScriptEventsAttacher to define the events but this is not strictly required. It's also possible that the object implementing XScriptEventsAttacher knows how to get the necessary information for the objects. Parameter xListener All events (if defined by XScriptEventsSupplier) that are fired by one of the objects are mapped into a ScriptEvent and passed to the methods of this XScriptListener. Parameter Helper Helper object for the implementation. This value will be passed to the XScriptListener as Helper property in the ScriptEvent.

Top of Page

Copyright © 2000, 2013 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.