XModel xModel1 = (XModel) UnoRuntime.queryInterface(XModel.class,
xImpressDoc);
XModel xModel2 = (XModel) UnoRuntime.queryInterface(XModel.class,
xImpressDoc2);
XController cont1 = xModel1.getCurrentController();
XController cont2 = xModel2.getCurrentController();
cont1.getFrame().setName("cont1");
cont2.getFrame().setName("cont2");
XSelectionSupplier sel = (XSelectionSupplier) UnoRuntime.queryInterface(
XSelectionSupplier.class, cont1);
XShape aShape = SOF.createShape(xImpressDoc, 5000, 3500, 7500, 5000,