summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/chart2/ScaleData.idl
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-05-22 13:57:10 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-05-22 13:57:10 +0000
commit47ffec5007f9550adbc6c12ecc1a8e9b479c9b49 (patch)
tree4aee0dcecc057918116670c7da9acc0cfd0baea6 /offapi/com/sun/star/chart2/ScaleData.idl
parent4e1f1ec618334e52f2eaa0c428043559f9ba9e56 (diff)
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED
2006/09/24 09:09:53 iha 1.1.2.4: #i61970# correct implementation of axis at 2006/04/10 12:19:32 iha 1.1.2.3: api restructure axis, grids, scales and increments 2005/09/16 16:12:40 iha 1.1.2.2: no creation of dummy categories in model - instead trigger generation of missing labels and categories in view 2005/05/09 09:43:11 bm 1.1.2.1: API moved here from chart2 project
Diffstat (limited to 'offapi/com/sun/star/chart2/ScaleData.idl')
-rw-r--r--offapi/com/sun/star/chart2/ScaleData.idl87
1 files changed, 87 insertions, 0 deletions
diff --git a/offapi/com/sun/star/chart2/ScaleData.idl b/offapi/com/sun/star/chart2/ScaleData.idl
new file mode 100644
index 000000000000..73f35703fab9
--- /dev/null
+++ b/offapi/com/sun/star/chart2/ScaleData.idl
@@ -0,0 +1,87 @@
+#ifndef com_sun_star_chart2_ScaleData_idl
+#define com_sun_star_chart2_ScaleData_idl
+
+#ifndef com_sun_star_chart2_Break_idl
+#include <com/sun/star/chart2/Break.idl>
+#endif
+
+#ifndef com_sun_star_chart2_XScaling_idl
+#include <com/sun/star/chart2/XScaling.idl>
+#endif
+
+#ifndef com_sun_star_chart2_AxisOrientation_idl
+#include <com/sun/star/chart2/AxisOrientation.idl>
+#endif
+
+#ifndef com_sun_star_chart2_data_XLabeledDataSequence_idl
+#include <com/sun/star/chart2/data/XLabeledDataSequence.idl>
+#endif
+
+#ifndef com_sun_star_chart2_AxisType_idl
+#include <com/sun/star/chart2/AxisType.idl>
+#endif
+
+#ifndef com_sun_star_chart_IncrementData_idl
+#include <com/sun/star/chart2/IncrementData.idl>
+#endif
+
+//=============================================================================
+
+module com { module sun { module star { module chart2 {
+
+//=============================================================================
+
+struct ScaleData
+{
+ /** if the any contains a double value this is used as a fixed
+ maximum. Otherwise, if the any is empty or contains an
+ incompatible type, the maximum is automatic.
+
+ <p>If the maximum is automatic, this means, each view that
+ represents the model containing this scale, has to calculate a
+ maximum by its own means.</p>
+ */
+ any Minimum;
+
+ /** if the any contains a double value this is used as a fixed
+ minimum. Otherwise, if the any is empty or contains an
+ incompatible type, the minimum is automatic.
+
+ <p>If the minimum is automatic, this means, each view that
+ represents the model containing this scale, has to calculate a
+ minimum by its own means.</p>
+ */
+ any Maximum;
+
+
+ /** The Origin indicates where other axes cross this axis.
+ If the any contains a double value that value is used.
+ Otherwise an appropriate value has to be calculated
+ by that instances using Origin.
+ */
+ any Origin;
+
+ /** Note: Is this a good place for the AXIS-orientation? Two axes may use the same
+ scale, but point into two different directions (?)
+ */
+ AxisOrientation Orientation;
+
+ XScaling Scaling;
+
+ sequence< Break > Breaks;
+
+ data::XLabeledDataSequence Categories;
+
+ /** describes the type of the axis. E.g. it can be a real number axis or a category axis or something else.
+ AxisType is one value out of the constant group <type>AxisType</type>.
+ */
+ long AxisType;
+
+ IncrementData IncrementData;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif