// knitt both
xShape.setControl( controlModel );
// add the shape to the shapes collection of the document
SpreadsheetDocument spreadsheetDoc = (SpreadsheetDocument)m_currentDocument;
final XDrawPageSupplier suppDrawPage = UnoRuntime.queryInterface( XDrawPageSupplier.class,
spreadsheetDoc.getSheet( 0 ) );
final XDrawPage insertIntoPage = suppDrawPage.getDrawPage();
final XShapes sheetShapes = UnoRuntime.queryInterface( XShapes.class, insertIntoPage );
sheetShapes.add( xShape );