1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
21 module com
{ module sun
{ module star
{ module chart
{
24 /** specifies all the properties for the graphic object of
25 a data point (e.g., a single bar in a bar chart).
27 <p>Text properties correlate to the data description of the data
28 point. There is a similar service for a group of graphic elements
29 called ChartDataRowProperties for the properties of
32 @see ChartDataRowProperties
34 published service ChartDataPointProperties
36 /** This service has to be supported for data points that can be
39 [optional] service com
::sun
::star
::drawing
::FillProperties
;
41 service com
::sun
::star
::drawing
::LineProperties
;
43 /** These properties affect the characters of data captions if
46 service com
::sun
::star
::style
::CharacterProperties
;
48 /** If ChartDataPointProperties may be stored as XML
49 element, this service should be supported in order to preserve
50 unparsed XML attributes.
54 [optional] service com
::sun
::star
::xml
::UserDefinedAttributesSupplier
;
57 /** is only available if the chart is of type
58 BarDiagram and Dim3DDiagram and the
59 property ChartDataPointProperties::Dim3D is
63 @see Dim3DDiagram@see BarDiagram
66 [optional] service com
::sun
::star
::chart
::Chart3DBarProperties
;
68 interface com
::sun
::star
::beans
::XPropertySet
;
71 /** specifies how the captions of data points are displayed.@see ChartDataCaption
73 [property
] long DataCaption
;
77 /** specifies a string that is used to separate the parts of a data label (caption)
79 [optional, property
] string LabelSeparator
;
82 /** specifies a number format for the display of the value in the data label
84 [optional, property
] long NumberFormat
;
87 /** specifies a number format for the display of the percentage value in the data label
89 [optional, property
] long PercentageNumberFormat
;
92 /** specifies a relative position for the data label
94 @see DataLabelPlacement
96 [optional, property
] long LabelPlacement
;
99 /** specifies the type of symbols if the current chart type
100 supports the usage of symbols.
104 [optional, property
] long SymbolType
;
107 /** In charts that support symbols, you can set this property to
108 any valid URL that points to a graphic file. This graphic is
109 then used as symbol for each data point.
111 <p>When you query this value you get an internal URL of the
112 embedded graphic.</p>
114 @deprecated as of Libreoffice 6.1
118 [optional, property
] string SymbolBitmapURL
;
120 /** the offset by which pie segments in a PieDiagram
121 are dragged outside from the center. This value is given in
122 percent of the radius.
124 [optional, property
] long SegmentOffset
;
126 /** specifies if the text of a data label (caption) must be wrapped
128 @since LibreOffice 5.1
130 [optional, property
] boolean TextWordWrap
;
132 /** In charts that support symbols, you can set this property to
133 a graphic object. This graphic is then used as symbol for each
136 @since LibreOffice 6.1
140 [optional, property
] com
::sun
::star
::graphic
::XGraphic SymbolBitmap
;
146 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */