*/
public XSpreadsheetDocument createCalcDoc( String frameName, PropertyValue[] mediaDescriptor )
throws com.sun.star.uno.Exception {
XComponent oDoc = openDoc("scalc",frameName, mediaDescriptor);
if ( oDoc != null) {
return (XSpreadsheetDocument)
UnoRuntime.queryInterface( XSpreadsheetDocument.class, oDoc );
}