merged tag ooo/OOO330_m14
[LibreOffice.git] / offapi / com / sun / star / chart2 / ScaleData.idl
blobaddd66e103207678d311054f6c849d93f165dcff
1 #ifndef com_sun_star_chart2_ScaleData_idl
2 #define com_sun_star_chart2_ScaleData_idl
4 #ifndef com_sun_star_chart2_Break_idl
5 #include <com/sun/star/chart2/Break.idl>
6 #endif
8 #ifndef com_sun_star_chart2_XScaling_idl
9 #include <com/sun/star/chart2/XScaling.idl>
10 #endif
12 #ifndef com_sun_star_chart2_AxisOrientation_idl
13 #include <com/sun/star/chart2/AxisOrientation.idl>
14 #endif
16 #ifndef com_sun_star_chart2_data_XLabeledDataSequence_idl
17 #include <com/sun/star/chart2/data/XLabeledDataSequence.idl>
18 #endif
20 #ifndef com_sun_star_chart2_AxisType_idl
21 #include <com/sun/star/chart2/AxisType.idl>
22 #endif
24 #ifndef com_sun_star_chart_IncrementData_idl
25 #include <com/sun/star/chart2/IncrementData.idl>
26 #endif
28 //=============================================================================
30 module com { module sun { module star { module chart2 {
32 //=============================================================================
34 struct ScaleData
36 /** if the any contains a double value this is used as a fixed
37 maximum. Otherwise, if the any is empty or contains an
38 incompatible type, the maximum is automatic.
40 <p>If the maximum is automatic, this means, each view that
41 represents the model containing this scale, has to calculate a
42 maximum by its own means.</p>
44 any Minimum;
46 /** if the any contains a double value this is used as a fixed
47 minimum. Otherwise, if the any is empty or contains an
48 incompatible type, the minimum is automatic.
50 <p>If the minimum is automatic, this means, each view that
51 represents the model containing this scale, has to calculate a
52 minimum by its own means.</p>
54 any Maximum;
57 /** The Origin indicates where other axes cross this axis.
58 If the any contains a double value that value is used.
59 Otherwise an appropriate value has to be calculated
60 by that instances using Origin.
62 any Origin;
64 /** Axis orientation (standard or reversed).
66 <p>If used at the Y axis in pie charts or doughnut charts, specifies
67 the rotation direction of the pie. The value
68 <const>AxisOrientation::MATHEMATICAL</const> rotates the pie
69 counterclockwise, the value <const>AxisOrientation::REVERSE</const>
70 rotates the pie clockwise.</p>
72 <p>Note: Is this a good place for the axis orientation? Two axes may
73 use the same scale, but point into two different directions.</p>
75 AxisOrientation Orientation;
77 XScaling Scaling;
79 sequence< Break > Breaks;
81 data::XLabeledDataSequence Categories;
83 /** describes the type of the axis.
85 <p>It can be a real number axis or a category axis or something else.
86 AxisType is one value out of the constant group <type>AxisType</type>.</p>
88 long AxisType;
90 IncrementData IncrementData;
93 //=============================================================================
95 }; }; }; };
97 #endif