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#ifndef com_sun_star_chart2_XChartShape_idl 23#define com_sun_star_chart2_XChartShape_idl 24 25#ifndef __com_sun_star_uno_XInterface_idl__ 26#include <com/sun/star/uno/XInterface.idl> 27#endif 28 29#ifndef com_sun_star_chart2_XTransformation_idl 30#include <com/sun/star/chart2/XTransformation.idl> 31#endif 32 33#ifndef __com_sun_star_beans_UnknownPropertyException_idl__ 34#include <com/sun/star/beans/UnknownPropertyException.idl> 35#endif 36#ifndef __com_sun_star_beans_PropertyVetoException_idl__ 37#include <com/sun/star/beans/PropertyVetoException.idl> 38#endif 39 40#ifndef __com_sun_star_lang_IllegalArgumentException_idl__ 41#include <com/sun/star/lang/IllegalArgumentException.idl> 42#endif 43#ifndef __com_sun_star_lang_WrappedTargetException_idl__ 44#include <com/sun/star/lang/WrappedTargetException.idl> 45#endif 46 47#ifndef __com_sun_star_awt_Point_idl__ 48#include <com/sun/star/awt/Point.idl> 49#endif 50#ifndef __com_sun_star_awt_Size_idl__ 51#include <com/sun/star/awt/Size.idl> 52#endif 53 54 55//============================================================================= 56 57module com { module sun { module star { module chart2 { 58 59//============================================================================= 60 61/** 62this interface is used for a wrapper of objects implementing the service com::sun::star::drawing::Shape 63*/ 64 65//interface XChartShape : ::com::sun::star::beans::XPropertySet 66interface XChartShape : ::com::sun::star::uno::XInterface 67{ 68 /** the method corresponds to the identical methods of the interface com::sun::star::beans::XPropertySet 69 */ 70 void setPropertyValue( [in] string aPropertyName, 71 [in] any aValue ) 72 raises( com::sun::star::beans::UnknownPropertyException, 73 com::sun::star::beans::PropertyVetoException, 74 com::sun::star::lang::IllegalArgumentException, 75 com::sun::star::lang::WrappedTargetException ); 76 77 //------------------------------------------------------------------------- 78 /** the method corresponds to the identical methods of the interface com::sun::star::beans::XPropertySet 79 */ 80 any getPropertyValue( [in] string PropertyName ) 81 raises( com::sun::star::beans::UnknownPropertyException, 82 com::sun::star::lang::WrappedTargetException ); 83 84 //------------------------------------------------------------------------- 85 /** the method corresponds to the identical methods of the interface com::sun::star::drawing::XShape 86 */ 87 com::sun::star::awt::Point getPosition(); 88 89 //------------------------------------------------------------------------- 90 /** the method corresponds to the identical methods of the interface com::sun::star::drawing::XShape 91 */ 92 void setPosition( [in] com::sun::star::awt::Point aPosition ); 93 94 //------------------------------------------------------------------------- 95 /** the method corresponds to the identical methods of the interface com::sun::star::drawing::XShape 96 */ 97 com::sun::star::awt::Size getSize(); 98 99 //------------------------------------------------------------------------- 100 /** the method corresponds to the identical methods of the interface com::sun::star::drawing::XShape 101 */ 102 void setSize( [in] com::sun::star::awt::Size aSize ) 103 raises( com::sun::star::beans::PropertyVetoException ); 104 105 //------------------------------------------------------------------------- 106 /** the method corresponds to the identical methods of the interface com::sun::star::drawing::XShape 107 * ??????????? deprecated 108 * 109 */ 110 string getShapeType(); 111}; 112 113//============================================================================= 114 115}; }; }; }; 116 117#endif 118