(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: com :: sun :: star :: container ::

unpublished interface XContainerApproveListener
Usage Restrictions
not published
Description
is notified to approve changes which happen to the content of a generic container
See also
XContainerApproveBroadcaster

Methods' Summary
approveInsertElement is called for the listener to approve an insertion into the container  
approveReplaceElement is called for the listener to approve a replacement inside the container  
approveRemoveElement is called for the listener to approve a removal of an element from the container  
Methods' Details
approveInsertElement
::com::sun::star::util::XVeto
approveInsertElement( [in] ContainerEvent  Event )
raises( ::com::sun::star::lang::WrappedTargetException );

Description
is called for the listener to approve an insertion into the container
Returns
an instance implementing the ::com::sun::star::util::XVeto interface, if the insertion is vetoed, NULL otherwise.
approveReplaceElement
::com::sun::star::util::XVeto
approveReplaceElement( [in] ContainerEvent  Event )
raises( ::com::sun::star::lang::WrappedTargetException );

Description
is called for the listener to approve a replacement inside the container
Returns
an instance implementing the ::com::sun::star::util::XVeto interface, if the replacement is vetoed, NULL otherwise.
approveRemoveElement
::com::sun::star::util::XVeto
approveRemoveElement( [in] ContainerEvent  Event )
raises( ::com::sun::star::lang::WrappedTargetException );

Description
is called for the listener to approve a removal of an element from the container
Returns
an instance implementing the ::com::sun::star::util::XVeto interface, if the removal is vetoed, NULL otherwise.
Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.