The collection must provide the possibility of adding and removing
components by name and by index. The name of a component is not
necessarily unique, so the collection must be able to handle duplicate
This interface has to be implemented to supply the scripting environment
for the contained components.
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
For instance, at any time you can obtain the events associated with the nth
element in the form components by calling
with paramter n. In particular, this invariant is always met, even after you
inserted/removed elements into/from the container.
Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
The Apache feather logo is a trademark of The Apache Software Foundation.
Other names appearing on the site may be trademarks of their respective owners.