//put something on the masterpage
log.println( "inserting some Shapes" );
XShapes oShapes = (XShapes)
UnoRuntime.queryInterface(XShapes.class, oObj);
oShapes.add(SOF.createShape(xDrawDoc, 2000, 1500, 1000, 1000, "Line"));
oShapes.add(SOF.createShape
(xDrawDoc, 3000, 4500, 15000, 1000, "Ellipse"));
oShapes.add(SOF.createShape
(xDrawDoc, 5000, 3500, 7500, 5000, "Rectangle"));
log.println( "creating a new environment for MasterPage object" );