Gtk-WARNING gtktreestore.c:1047: Invalid column number 1 added to iter
[LibreOffice.git] / offapi / com / sun / star / chart2 / Axis.idl
blob83bff4d8347bbe697bd164621579b87de69aca00
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 module com
22 module sun
24 module star
26 module chart2
29 service Axis
31 service ::com::sun::star::drawing::LineProperties;
33 service ::com::sun::star::style::CharacterProperties;
34 service ::com::sun::star::beans::PropertySet;
35 [optional] service ::com::sun::star::style::CharacterPropertiesAsian;
36 [optional] service ::com::sun::star::style::CharacterPropertiesComplex;
38 interface ::com::sun::star::chart2::XAxis;
39 [optional] interface ::com::sun::star::chart2::XTitled;
41 /** Determines, whether the axis should be rendered by the view.
43 [property] boolean Show;
45 /** Determines where the axis crosses the other axis.
47 [optional, property] com::sun::star::chart::ChartAxisPosition CrossoverPosition;
49 /** Determines the scale value on the other axis when CrossoverPosition is set to VALUE.
51 [optional, property] double CrossoverValue;
53 /** Determines whether to display text at the axis or not.
55 [property] boolean DisplayLabels;
57 /** Determines where the axis labels are placed.
59 [optional, property] com::sun::star::chart::ChartAxisLabelPosition LabelPosition;
61 /** Determines how to stagger the labels at the axis (side by side, even, odd, auto )
63 [property] ::com::sun::star::chart::ChartAxisArrangeOrderType ArrangeOrder;
65 /** Determines whether the labels are allowed to break into more than one line
67 [property] boolean TextBreak;
69 /** Determines whether the labels are allowed to overlap
71 [property] boolean TextOverlap;
73 /** Determines whether the characters in a single labels should be stacked one upon each other
75 [property] boolean StackCharacters;
77 /** Determines the rotation of the text labels in degrees
79 [property] double TextRotation;
81 /** A NumberFormat key.
83 <p>If this property is not set, it is treated as auto. This
84 means linked to the source format.</p>
86 <p>To determine a source format, the axis can query the
87 XDataSequences used by the data series attached
88 to it (see XDataSequence::getNumberFormatKeyByIndex()).
89 </p>
91 [property, maybevoid] long NumberFormat;
93 [property] ::com::sun::star::awt::Size ReferencePageSize;
95 /** determines what kind of tickmarks should be shown for major ticks.
97 @see TickmarkStyle.
99 [property] long MajorTickmarks;
101 /** determines what kind of tickmarks should be shown for minor ticks.
103 @see TickmarkStyle.
105 [property] long MinorTickmarks;
107 /** Determines where the interval marks are placed.
109 [optional, property] com::sun::star::chart::ChartAxisMarkPosition MarkPosition;
111 /** Determines display units are available for axis
113 @since LibreOffice 4.3
115 [optional, property] boolean DisplayUnits;
117 /** Determines built in display unit value for axis
119 @since LibreOffice 4.3
121 [optional, property] string BuiltInUnit;
123 /** Compatibility option: determines which strategy should be tried first for fixing axis labels overlapping issues
125 @since LibreOffice 5.1
127 [optional, property] boolean TryStaggeringFirst;
129 /** This attribute specifies the shift of the first major tick from the origin.
131 @since LibreOffice 7.0
133 [optional, property] long MajorOrigin;
137 } ; // chart2
138 } ; // com
139 } ; // sun
140 } ; // star
142 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */