* @date 26.01.2007
*/
public XEventAttacherManager getXEventAttacherManager(IForm form) throws NOAException {
try {
if(form != null) {
XFormsSupplier formsSupplier = (XFormsSupplier) UnoRuntime.queryInterface(XFormsSupplier.class, xDrawPage);
if(formsSupplier != null) {
XNameContainer nameContainer = formsSupplier.getForms();
XIndexContainer indexContainer = (XIndexContainer) UnoRuntime.queryInterface(XIndexContainer.class, nameContainer);
int len = indexContainer.getCount();
for(int i = 0; i < len; i++) {
XForm tmpForm = (XForm) UnoRuntime.queryInterface(XForm.class, indexContainer.getByIndex(i));
if(tmpForm != null && UnoRuntime.areSame(form.getXFormComponent(),tmpForm)) {