// insert the chart
textRange.getText().insertTextContent(textRange, chartTextContent, false);
// retrieve the chart model
XChartDocument chartDoc = UnoRuntime.queryInterface( XChartDocument.class, shapeProps.getPropertyValue( "Model" ) );
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 );