The interface allows managing of scripts associated with dependent components, accessed by index.
However, as a client of the FormComponents service, there's no need to bother with
the container aspect of the ::com::sun::star::script::XEventAttacherManager
directly. A FormComponents container will automatically synchronize the elements
you put into it with the scripting information obtained at the
::com::sun::star::script::XEventAttacherManager interface.
For instance, at any time you can obtain the events associated with the n
th
element in the form components by calling
::com::sun::star::script::XEventAttacherManager::getScriptEvents
with paramter n
. In particular, this invariant is always met, even after you
inserted/removed elements into/from the container.