m_chartDocument = new OfficeDocument( i_orb, chartDoc );
// actually activate the object
final XEmbeddedObject embeddedChart = UnoRuntime.queryInterface( XEmbeddedObject.class,
shapeProps.getPropertyValue( "EmbeddedObject" ) );
embeddedChart.doVerb( EmbedVerbs.MS_OLEVERB_SHOW );
final int state = embeddedChart.getCurrentState();
if ( state != EmbedStates.UI_ACTIVE )
fail( "unable to activate the embedded chart" );
}