Examples of XFormComponent


Examples of com.sun.star.form.XFormComponent

              XNamed tmpNamed = (XNamed) UnoRuntime
                  .queryInterface(XNamed.class, tmpForm);
              if (tmpNamed != null
                  && tmpNamed.getName().equalsIgnoreCase(
                      formName)) {
                XFormComponent tmpFormComponent = (XFormComponent) UnoRuntime
                    .queryInterface(XFormComponent.class,
                        tmpForm);
                if (tmpFormComponent != null) {
                  forms.add(new Form(document, null,
                      tmpFormComponent));
View Full Code Here

Examples of com.sun.star.form.XFormComponent

                      tmpForm);
              int lenFormPComponents = container.getCount();
              for (int j = 0; j < lenFormPComponents; j++) {
                Object tmpObject = container.getByIndex(j);
                if (tmpObject != null) {
                  XFormComponent tmpFormComponent = (XFormComponent) UnoRuntime
                      .queryInterface(
                          XFormComponent.class,
                          tmpObject);
                  if (tmpFormComponent != null
                      && UnoRuntime
View Full Code Here

Examples of com.sun.star.form.XFormComponent

            XControlShape controlShape = (XControlShape) UnoRuntime
                .queryInterface(XControlShape.class, xShape);
            if (controlShape != null) {
              XControlModel control = controlShape.getControl();
              if (control != null) {
                XFormComponent xFormComponent = (XFormComponent) UnoRuntime
                    .queryInterface(XFormComponent.class,
                        control);
                if (xFormComponent != null) {
                  return true;
                }
View Full Code Here

Examples of com.sun.star.form.XFormComponent

                .queryInterface(XControlShape.class, xShape);
            if (controlShape != null) {
              XControlModel controlModel = controlShape
                  .getControl();
              if (controlModel != null) {
                XFormComponent xFormComponent = (XFormComponent) UnoRuntime
                    .queryInterface(XFormComponent.class,
                        controlModel);
                if (xFormComponent != null) {
                  formComponents.add(new FormComponent(
                      document, controlShape,
View Full Code Here

Examples of com.sun.star.form.XFormComponent

            XControlShape controlShape = (XControlShape) UnoRuntime
                .queryInterface(XControlShape.class, xShape);
            if (controlShape != null) {
              XControlModel control = controlShape.getControl();
              if (control != null) {
                XFormComponent xFormComponent = (XFormComponent) UnoRuntime
                    .queryInterface(XFormComponent.class,
                        control);
                if (xFormComponent != null) {
                  XPropertySet propertySet = (XPropertySet) UnoRuntime
                      .queryInterface(XPropertySet.class,
View Full Code Here

Examples of com.sun.star.form.XFormComponent

              XIndexContainer container = (XIndexContainer) UnoRuntime.queryInterface(XIndexContainer.class, tmpForm);
              int lenFormPComponents = container.getCount();          
              for(int j = 0; j < lenFormPComponents; j++) {
                Object tmpObject = container.getByIndex(j);
                if(tmpObject != null) {
                  XFormComponent tmpFormComponent = (XFormComponent) UnoRuntime.queryInterface(XFormComponent.class, tmpObject);
                  if(tmpFormComponent != null && UnoRuntime.areSame(tmpFormComponent,formComponent.getXFormComponent()))
                    return j;
                }
              }
            }
View Full Code Here

Examples of com.sun.star.form.XFormComponent

          if(xShape != null) {
            XControlShape controlShape = (XControlShape)UnoRuntime.queryInterface(XControlShape.class,xShape);
            if(controlShape != null) {
              XControlModel control = controlShape.getControl();
              if(control != null) {
                XFormComponent xFormComponent = (XFormComponent)UnoRuntime.queryInterface(XFormComponent.class,control);
                if(xFormComponent != null) {
                  return true;
                }
              }           
            }
View Full Code Here

Examples of com.sun.star.form.XFormComponent

          if(xShape != null) {
            XControlShape controlShape = (XControlShape)UnoRuntime.queryInterface(XControlShape.class,xShape);
            if(controlShape != null) {
              XControlModel controlModel = controlShape.getControl();
              if(controlModel != null) {
                XFormComponent xFormComponent = (XFormComponent)UnoRuntime.queryInterface(XFormComponent.class,controlModel);
                if(xFormComponent != null) {
                  formComponents.add(new FormComponent(document,controlShape,xFormComponent));
                }
              }           
            }
View Full Code Here

Examples of com.sun.star.form.XFormComponent

          if(xShape != null) {
            XControlShape controlShape = (XControlShape)UnoRuntime.queryInterface(XControlShape.class,xShape);
            if(controlShape != null) {
              XControlModel control = controlShape.getControl();
              if(control != null) {
                XFormComponent xFormComponent = (XFormComponent)UnoRuntime.queryInterface(XFormComponent.class,control);
                if(xFormComponent != null) {
                  XPropertySet propertySet = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xFormComponent);
                  if(propertySet != null && propertySet.getPropertySetInfo().hasPropertyByName("Name"))
                    formComponentNames.add(propertySet.getPropertyValue("Name"));
                }
View Full Code Here

Examples of com.sun.star.form.XFormComponent

            Object tmpForm = indexContainer.getByIndex(i);
            if(tmpForm != null) {             
              XNamed tmpNamed =
                (XNamed) UnoRuntime.queryInterface(XNamed.class, tmpForm);
              if(tmpNamed != null && tmpNamed.getName().equalsIgnoreCase(formName)) {
                XFormComponent tmpFormComponent =
                  (XFormComponent) UnoRuntime.queryInterface(XFormComponent.class, tmpForm);
                if(tmpFormComponent != null) {
                  forms.add(new Form(document,null,tmpFormComponent));
                }
              }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.