Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / chart2 / Diagram.idl
blobb63063ca188c81ef7f198f108624a600e90df10f
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 .
19 #ifndef com_sun_star_chart2_Diagram_idl
20 #define com_sun_star_chart2_Diagram_idl
22 #include <com/sun/star/chart2/XDiagram.idl>
23 #include <com/sun/star/chart2/XCoordinateSystemContainer.idl>
24 #include <com/sun/star/chart2/XTitled.idl>
25 #include <com/sun/star/chart2/RelativePosition.idl>
26 #include <com/sun/star/chart2/RelativeSize.idl>
27 #include <com/sun/star/chart/X3DDefaultSetter.idl>
29 module com
31 module sun
33 module star
35 module chart2
38 /**
40 service Diagram
42 /**
44 interface ::com::sun::star::chart2::XDiagram;
46 /**
48 interface ::com::sun::star::chart2::XCoordinateSystemContainer;
50 /** gives access to the sub title of a chart document
52 interface XTitled;
54 /** makes it easy to set suitable defaults for illumination and rotation for 3D charts
56 [optional] interface ::com::sun::star::chart::X3DDefaultSetter;
58 /** The position is as a relative position on the page.
60 <p>If a relative position is given the diagram is not automatically placed,
61 but instead is placed relative on the page.</p>
63 [property, maybevoid] ::com::sun::star::chart2::RelativePosition RelativePosition;
65 /** The size of the diagram as relative size of the page size.
67 [property] ::com::sun::star::chart2::RelativeSize RelativeSize;
69 /** The attributes RelativePosition and RelativeSize should be used for the inner coordinate region without axis labels and without data labels.
71 [optional, property] boolean PosSizeExcludeLabels;
73 /** Sort data points by x values for rendering
75 [optional, property] boolean SortByXValues;
77 /** Draw connection lines for stacked bar charts.
79 [optional, property] boolean ConnectBars;
81 /** If bars of a bar or column chart are attached to different
82 axis, this property determines how to display those. If
83 `TRUE`, the bars are grouped together in one block for each
84 axis, thus they are painted one group over the other.
86 <p>If `FALSE`, the bars are displayed side-by-side, as if
87 they were all attached to the same axis.</p>
89 <p>If all data series of a bar or column chart are attached to
90 only one axis, this property has no effect.</p>
92 [optional, property] boolean GroupBarsPerAxis;
94 /** Starting angle in degrees for pie charts and doughnut charts.
96 [optional, property] long StartingAngle;
98 [optional, property] boolean RightAngledAxes;
100 /** Chart Datatable flags
102 [optional, property] boolean DataTableHBorder;
103 [optional, property] boolean DataTableVBorder;
104 [optional, property] boolean DataTableOutline;
106 /** Perspective of 3D charts ( [0,100] ).
108 [optional, property] long Perspective;
110 /** Horizontal rotation of 3D charts in degrees ( ]-180,180] ).
112 [optional, property] long RotationHorizontal;
114 /** Vertical rotation of 3D charts in degrees ( ]-180,180] ).
116 [optional, property] long RotationVertical;
118 /** specifies how empty or invalid cells in the provided data should be handled when displayed
120 @see ::com::sun::star::chart::MissingValueTreatment
122 [optional, property] long MissingValueTreatment;
124 [optional, property] string ExternalData;
128 } ; // chart2
129 } ; // com
130 } ; // sun
131 } ; // star
133 #endif
135 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */