1 #ifndef com_sun_star_chart2_XCoordinateSystem_idl
2 #define com_sun_star_chart2_XCoordinateSystem_idl
4 #ifndef __com_sun_star_uno_XInterface_idl__
5 #include
<com
/sun
/star
/uno
/XInterface.idl
>
8 #ifndef __com_sun_star_lang_IndexOutOfBoundsException_idl__
9 #include
<com
/sun
/star
/lang
/IndexOutOfBoundsException.idl
>
12 #include
<com
/sun
/star
/chart2
/XAxis.idl
>
26 interface XCoordinateSystem
: ::com
::sun
::star
::uno
::XInterface
28 /** the dimension of the coordinate-system.
32 /** identifies the type of coordinate system (e.g. cartesian, polar ...)
34 string getCoordinateSystemType
();
36 /** return a service name from which the view component for this coordinate system can be created
38 string getViewServiceName
();
40 /** The dimension says wether it is a x, y or z axis.
41 The index says wether it is a primary or a secondary axis.
42 Use nIndex == 0 for a primary axis.
44 void setAxisByDimension
( [in] long nDimension
,
47 raises
( com
::sun
::star
::lang
::IndexOutOfBoundsException
);
49 /** The dimension says wether it is a x, y or z axis.
50 The index indicates wether it is a primary or a secondary axis or maybe more in future.
51 Use nIndex == 0 for a primary axis.
52 An empty Reference will be returned if the given nDimension and nIndex are in the valid range but no axis is set for those values.
53 An IndexOutOfBoundsException will be thrown if nDimension is lower than 0 or greater than the value returned by getDimension()
54 and/or if nIndex is lower 0 or greater than the value returned by getMaxAxisIndexByDimension(nDimension).
56 XAxis getAxisByDimension
( [in] long nDimension
, [in] long nIndex
)
57 raises
( com
::sun
::star
::lang
::IndexOutOfBoundsException
);
59 /** In one dimension there could be several axes to enable main and secondary axis and maybe more in future.
60 This method returns the maximum index at which an axis exists for the given dimension.
61 It is allowed that some indexes inbetween do not have an axis.
63 long getMaximumAxisIndexByDimension( [in] long nDimension )
64 raises( com::sun::star::lang::IndexOutOfBoundsException );