1*cdf0e10cSrcweir#ifndef com_sun_star_chart2_IncrementData_idl
2*cdf0e10cSrcweir#define com_sun_star_chart2_IncrementData_idl
3*cdf0e10cSrcweir
4*cdf0e10cSrcweir#include <com/sun/star/chart2/SubIncrement.idl>
5*cdf0e10cSrcweir
6*cdf0e10cSrcweir//=============================================================================
7*cdf0e10cSrcweir
8*cdf0e10cSrcweirmodule com {  module sun {  module star {  module chart2 {
9*cdf0e10cSrcweir
10*cdf0e10cSrcweir//=============================================================================
11*cdf0e10cSrcweir
12*cdf0e10cSrcweir/** An IncrementData describes how tickmarks are positioned on the scale of an axis.
13*cdf0e10cSrcweir
14*cdf0e10cSrcweir@see <type>Axis</type>
15*cdf0e10cSrcweir@see <type>Grid</type>
16*cdf0e10cSrcweir@see <type>Scale</type>
17*cdf0e10cSrcweir@see <type>XScaling</type>
18*cdf0e10cSrcweir*/
19*cdf0e10cSrcweirstruct IncrementData
20*cdf0e10cSrcweir{
21*cdf0e10cSrcweir    /** if the any contains a double value this is used as a fixed
22*cdf0e10cSrcweir        Distance value.  Otherwise, if the any is empty or contains an
23*cdf0e10cSrcweir        incompatible type, the Distance is meant to be calculated
24*cdf0e10cSrcweir        automatically by the view component representing the model
25*cdf0e10cSrcweir        containing this increment.
26*cdf0e10cSrcweir     */
27*cdf0e10cSrcweir    any         Distance;
28*cdf0e10cSrcweir
29*cdf0e10cSrcweir    /**
30*cdf0e10cSrcweir    <member>PostEquidistant</member> rules wether the member <member>Distance</member>
31*cdf0e10cSrcweir    describes a distance before or after the scaling is applied.
32*cdf0e10cSrcweir
33*cdf0e10cSrcweir    <p>If <member>PostEquidistant</member> equals <TRUE/> <member>Distance</member>
34*cdf0e10cSrcweir    is given in values after <type>XScaling</type> is applied, thus resulting
35*cdf0e10cSrcweir    main tickmarks will always look equidistant on the screen.
36*cdf0e10cSrcweir    If <member>PostEquidistant</member> equals <FALSE/> <member>Distance</member>
37*cdf0e10cSrcweir    is given in values before <type>XScaling</type> is applied.</p>
38*cdf0e10cSrcweir    */
39*cdf0e10cSrcweir    any         PostEquidistant;
40*cdf0e10cSrcweir
41*cdf0e10cSrcweir    /** if the any contains a double value this is used as a fixed
42*cdf0e10cSrcweir        BaseValue.  Otherwise, if the any is empty or contains an
43*cdf0e10cSrcweir        incompatible type, the BaseValue is meant to be calculated
44*cdf0e10cSrcweir        automatically by the view component representing the model
45*cdf0e10cSrcweir        containing this increment.
46*cdf0e10cSrcweir     */
47*cdf0e10cSrcweir    any         BaseValue;
48*cdf0e10cSrcweir
49*cdf0e10cSrcweir    /** <member>SubIncrements</member> describes the positioning of further
50*cdf0e10cSrcweir    sub tickmarks on the scale of an axis.
51*cdf0e10cSrcweir
52*cdf0e10cSrcweir    <p>The first SubIncrement in this sequence determines how the
53*cdf0e10cSrcweir    distance between two neighboring main tickmarks is divided for positioning
54*cdf0e10cSrcweir    of further sub tickmarks. Every following SubIncrement determines the
55*cdf0e10cSrcweir    positions of subsequent tickmarks in relation to their parent tickmarks
56*cdf0e10cSrcweir    given by the preceding SubIncrement.</p>
57*cdf0e10cSrcweir    */
58*cdf0e10cSrcweir    sequence< SubIncrement > SubIncrements;
59*cdf0e10cSrcweir};
60*cdf0e10cSrcweir
61*cdf0e10cSrcweir//=============================================================================
62*cdf0e10cSrcweir
63*cdf0e10cSrcweir}; }; }; };
64*cdf0e10cSrcweir
65*cdf0e10cSrcweir#endif
66