1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#ifndef com_sun_star_chart2_XDiagramProvider_idl 24#define com_sun_star_chart2_XDiagramProvider_idl 25 26#ifndef __com_sun_star_uno_XInterface_idl__ 27#include <com/sun/star/uno/XInterface.idl> 28#endif 29 30#include <com/sun/star/chart2/XDiagram.idl> 31#include <com/sun/star/chart2/XChartTypeTemplate.idl> 32 33module com 34{ 35module sun 36{ 37module star 38{ 39module chart2 40{ 41 42/** Gives access to a single diagram. This interface is needed by the 43 wrapper for the old API (namespace com::sun::star::chart). 44 */ 45interface XDiagramProvider : ::com::sun::star::uno::XInterface 46{ 47 /** 48 */ 49 XDiagram getDiagram(); 50 51 /** 52 */ 53 void setDiagram( [in] XDiagram xDiagram ); 54}; 55 56} ; // chart2 57} ; // com 58} ; // sun 59} ; // star 60 61#endif 62