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,