xref: /trunk/main/offapi/com/sun/star/chart2/XChartShape.idl (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir#ifndef com_sun_star_chart2_XChartShape_idl
2*cdf0e10cSrcweir#define com_sun_star_chart2_XChartShape_idl
3*cdf0e10cSrcweir
4*cdf0e10cSrcweir#ifndef __com_sun_star_uno_XInterface_idl__
5*cdf0e10cSrcweir#include <com/sun/star/uno/XInterface.idl>
6*cdf0e10cSrcweir#endif
7*cdf0e10cSrcweir
8*cdf0e10cSrcweir#ifndef com_sun_star_chart2_XTransformation_idl
9*cdf0e10cSrcweir#include <com/sun/star/chart2/XTransformation.idl>
10*cdf0e10cSrcweir#endif
11*cdf0e10cSrcweir
12*cdf0e10cSrcweir#ifndef __com_sun_star_beans_UnknownPropertyException_idl__
13*cdf0e10cSrcweir#include <com/sun/star/beans/UnknownPropertyException.idl>
14*cdf0e10cSrcweir#endif
15*cdf0e10cSrcweir#ifndef __com_sun_star_beans_PropertyVetoException_idl__
16*cdf0e10cSrcweir#include <com/sun/star/beans/PropertyVetoException.idl>
17*cdf0e10cSrcweir#endif
18*cdf0e10cSrcweir
19*cdf0e10cSrcweir#ifndef __com_sun_star_lang_IllegalArgumentException_idl__
20*cdf0e10cSrcweir#include <com/sun/star/lang/IllegalArgumentException.idl>
21*cdf0e10cSrcweir#endif
22*cdf0e10cSrcweir#ifndef __com_sun_star_lang_WrappedTargetException_idl__
23*cdf0e10cSrcweir#include <com/sun/star/lang/WrappedTargetException.idl>
24*cdf0e10cSrcweir#endif
25*cdf0e10cSrcweir
26*cdf0e10cSrcweir#ifndef __com_sun_star_awt_Point_idl__
27*cdf0e10cSrcweir#include <com/sun/star/awt/Point.idl>
28*cdf0e10cSrcweir#endif
29*cdf0e10cSrcweir#ifndef __com_sun_star_awt_Size_idl__
30*cdf0e10cSrcweir#include <com/sun/star/awt/Size.idl>
31*cdf0e10cSrcweir#endif
32*cdf0e10cSrcweir
33*cdf0e10cSrcweir
34*cdf0e10cSrcweir//=============================================================================
35*cdf0e10cSrcweir
36*cdf0e10cSrcweirmodule com {  module sun {  module star {  module chart2 {
37*cdf0e10cSrcweir
38*cdf0e10cSrcweir//=============================================================================
39*cdf0e10cSrcweir
40*cdf0e10cSrcweir/**
41*cdf0e10cSrcweirthis interface is used for a wrapper of objects implementing the service com::sun::star::drawing::Shape
42*cdf0e10cSrcweir*/
43*cdf0e10cSrcweir
44*cdf0e10cSrcweir//interface XChartShape : ::com::sun::star::beans::XPropertySet
45*cdf0e10cSrcweirinterface XChartShape : ::com::sun::star::uno::XInterface
46*cdf0e10cSrcweir{
47*cdf0e10cSrcweir    /** the method corresponds to the identical methods of the interface com::sun::star::beans::XPropertySet
48*cdf0e10cSrcweir    */
49*cdf0e10cSrcweir    void setPropertyValue( [in] string aPropertyName,
50*cdf0e10cSrcweir             [in] any aValue )
51*cdf0e10cSrcweir            raises( com::sun::star::beans::UnknownPropertyException,
52*cdf0e10cSrcweir                    com::sun::star::beans::PropertyVetoException,
53*cdf0e10cSrcweir                    com::sun::star::lang::IllegalArgumentException,
54*cdf0e10cSrcweir                    com::sun::star::lang::WrappedTargetException );
55*cdf0e10cSrcweir
56*cdf0e10cSrcweir    //-------------------------------------------------------------------------
57*cdf0e10cSrcweir    /** the method corresponds to the identical methods of the interface com::sun::star::beans::XPropertySet
58*cdf0e10cSrcweir    */
59*cdf0e10cSrcweir    any getPropertyValue( [in] string PropertyName )
60*cdf0e10cSrcweir            raises( com::sun::star::beans::UnknownPropertyException,
61*cdf0e10cSrcweir                    com::sun::star::lang::WrappedTargetException );
62*cdf0e10cSrcweir
63*cdf0e10cSrcweir    //-------------------------------------------------------------------------
64*cdf0e10cSrcweir    /** the method corresponds to the identical methods of the interface com::sun::star::drawing::XShape
65*cdf0e10cSrcweir     */
66*cdf0e10cSrcweir    com::sun::star::awt::Point getPosition();
67*cdf0e10cSrcweir
68*cdf0e10cSrcweir    //-------------------------------------------------------------------------
69*cdf0e10cSrcweir    /** the method corresponds to the identical methods of the interface com::sun::star::drawing::XShape
70*cdf0e10cSrcweir     */
71*cdf0e10cSrcweir    void setPosition( [in] com::sun::star::awt::Point aPosition );
72*cdf0e10cSrcweir
73*cdf0e10cSrcweir    //-------------------------------------------------------------------------
74*cdf0e10cSrcweir    /** the method corresponds to the identical methods of the interface com::sun::star::drawing::XShape
75*cdf0e10cSrcweir     */
76*cdf0e10cSrcweir    com::sun::star::awt::Size getSize();
77*cdf0e10cSrcweir
78*cdf0e10cSrcweir    //-------------------------------------------------------------------------
79*cdf0e10cSrcweir    /** the method corresponds to the identical methods of the interface com::sun::star::drawing::XShape
80*cdf0e10cSrcweir     */
81*cdf0e10cSrcweir    void setSize( [in] com::sun::star::awt::Size aSize )
82*cdf0e10cSrcweir            raises( com::sun::star::beans::PropertyVetoException );
83*cdf0e10cSrcweir
84*cdf0e10cSrcweir    //-------------------------------------------------------------------------
85*cdf0e10cSrcweir    /** the method corresponds to the identical methods of the interface com::sun::star::drawing::XShape
86*cdf0e10cSrcweir    * ??????????? deprecated
87*cdf0e10cSrcweir    *
88*cdf0e10cSrcweir    */
89*cdf0e10cSrcweir    string getShapeType();
90*cdf0e10cSrcweir};
91*cdf0e10cSrcweir
92*cdf0e10cSrcweir//=============================================================================
93*cdf0e10cSrcweir
94*cdf0e10cSrcweir}; }; }; };
95*cdf0e10cSrcweir
96*cdf0e10cSrcweir#endif
97