Chart chart = chartObject.getChart(); application = chart.getApplication(); Spreadsheet spreadsheet = application.getSpreadsheets().openSpreadsheet("D:\\FileTypeAssociation\\test.ods",true); Document document = application.getDocuments().openDocument("D:\\FileTypeAssociation\\test.odt",true);
Related information