* @see com.sun.star.chart.ChartLine
*/
protected synchronized TestEnvironment createTestEnvironment(TestParameters Param, PrintWriter log) {
XPropertySet oObj = null;
XDiagram oDiagram = null;
SOfficeFactory SOF = null;
//get LineDiagram
SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)Param.getMSF());
oDiagram = SOF.createDiagram(xChartDoc, "LineDiagram");
log.println( "getting Line-Diagram" );
xChartDoc.setDiagram(oDiagram);
// get the Line
try {
log.println( "getting Line" );
XPropertySet RowProps = oDiagram.getDataRowProperties(1);
RowProps.setPropertyValue("MeanValue", new Boolean( true ));
oObj = (XPropertySet) AnyConverter.toObject(
new Type(XPropertySet.class),
RowProps.getPropertyValue("DataMeanValueProperties"));
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {