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)) {
XIndexContainer container = (XIndexContainer) UnoRuntime.queryInterface(XIndexContainer.class, tmpForm);
int lenFormPComponents = container.getCount();
for(int j = 0; j < lenFormPComponents; j++) {
Object tmpObject = container.getByIndex(j);