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 .
20 #include "DataPointProperties.hxx"
22 #include "LinePropertiesHelper.hxx"
23 #include "FillProperties.hxx"
24 #include <unonames.hxx>
26 #include <com/sun/star/beans/PropertyAttribute.hpp>
27 #include <com/sun/star/drawing/FillStyle.hpp>
28 #include <com/sun/star/drawing/LineStyle.hpp>
29 #include <com/sun/star/drawing/LineDash.hpp>
30 #include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp>
31 #include <com/sun/star/style/XStyle.hpp>
32 #include <com/sun/star/drawing/BitmapMode.hpp>
33 #include <com/sun/star/drawing/RectanglePoint.hpp>
35 #include <com/sun/star/chart2/DataPointGeometry3D.hpp>
36 #include <com/sun/star/chart2/DataPointLabel.hpp>
37 #include <com/sun/star/chart2/Symbol.hpp>
39 using namespace ::com::sun::star
;
41 using ::com::sun::star::beans::Property
;
46 void DataPointProperties::AddPropertiesToVector(
47 ::std::vector
< Property
> & rOutProperties
)
49 // DataPointProperties
53 rOutProperties
.push_back(
56 cppu::UnoType
<sal_Int32
>::get(),
57 beans::PropertyAttribute::BOUND
58 | beans::PropertyAttribute::MAYBEVOID
// "maybe auto"
59 | beans::PropertyAttribute::MAYBEDEFAULT
));
61 rOutProperties
.push_back(
62 Property( "Transparency",
63 PROP_DATAPOINT_TRANSPARENCY
,
64 cppu::UnoType
<sal_Int16
>::get(),
65 beans::PropertyAttribute::BOUND
66 | beans::PropertyAttribute::MAYBEDEFAULT
));
69 rOutProperties
.push_back(
70 Property( "FillStyle",
71 PROP_DATAPOINT_FILL_STYLE
,
72 cppu::UnoType
<drawing::FillStyle
>::get(),
73 beans::PropertyAttribute::BOUND
74 | beans::PropertyAttribute::MAYBEDEFAULT
));
76 rOutProperties
.push_back(
77 Property( "TransparencyGradientName",
78 PROP_DATAPOINT_TRANSPARENCY_GRADIENT_NAME
,
79 cppu::UnoType
<OUString
>::get(),
80 beans::PropertyAttribute::BOUND
81 | beans::PropertyAttribute::MAYBEDEFAULT
82 | beans::PropertyAttribute::MAYBEVOID
));
84 rOutProperties
.push_back(
85 Property( "GradientName",
86 PROP_DATAPOINT_GRADIENT_NAME
,
87 cppu::UnoType
<OUString
>::get(),
88 beans::PropertyAttribute::BOUND
89 | beans::PropertyAttribute::MAYBEDEFAULT
90 | beans::PropertyAttribute::MAYBEVOID
));
92 rOutProperties
.push_back(
93 beans::Property( "GradientStepCount",
94 PROP_DATAPOINT_GRADIENT_STEPCOUNT
,
95 cppu::UnoType
<sal_Int16
>::get(),
96 beans::PropertyAttribute::BOUND
97 | beans::PropertyAttribute::MAYBEVOID
));
99 rOutProperties
.push_back(
100 Property( "HatchName",
101 PROP_DATAPOINT_HATCH_NAME
,
102 cppu::UnoType
<OUString
>::get(),
103 beans::PropertyAttribute::BOUND
104 | beans::PropertyAttribute::MAYBEDEFAULT
105 | beans::PropertyAttribute::MAYBEVOID
));
107 rOutProperties
.push_back(
108 Property( "FillBitmapName",
109 PROP_DATAPOINT_FILL_BITMAP_NAME
,
110 cppu::UnoType
<OUString
>::get(),
111 beans::PropertyAttribute::BOUND
112 | beans::PropertyAttribute::MAYBEDEFAULT
113 | beans::PropertyAttribute::MAYBEVOID
));
114 rOutProperties
.push_back(
115 Property( "FillBackground",
116 PROP_DATAPOINT_FILL_BACKGROUND
,
117 cppu::UnoType
<bool>::get(),
118 beans::PropertyAttribute::BOUND
119 | beans::PropertyAttribute::MAYBEDEFAULT
120 | beans::PropertyAttribute::MAYBEVOID
));
122 // border for filled objects
123 rOutProperties
.push_back(
124 Property( "BorderColor",
125 PROP_DATAPOINT_BORDER_COLOR
,
126 cppu::UnoType
<sal_Int32
>::get(),
127 beans::PropertyAttribute::BOUND
128 | beans::PropertyAttribute::MAYBEVOID
// "maybe auto"
129 | beans::PropertyAttribute::MAYBEDEFAULT
));
130 rOutProperties
.push_back(
131 Property( "BorderStyle",
132 PROP_DATAPOINT_BORDER_STYLE
,
133 cppu::UnoType
<drawing::LineStyle
>::get(),
134 beans::PropertyAttribute::BOUND
135 | beans::PropertyAttribute::MAYBEDEFAULT
));
136 rOutProperties
.push_back(
137 Property( "BorderWidth",
138 PROP_DATAPOINT_BORDER_WIDTH
,
139 cppu::UnoType
<sal_Int32
>::get(),
140 beans::PropertyAttribute::BOUND
141 | beans::PropertyAttribute::MAYBEDEFAULT
));
142 rOutProperties
.push_back(
143 Property( "BorderDashName",
144 PROP_DATAPOINT_BORDER_DASH_NAME
,
145 cppu::UnoType
<OUString
>::get(),
146 beans::PropertyAttribute::BOUND
147 | beans::PropertyAttribute::MAYBEVOID
));
148 rOutProperties
.push_back(
149 Property( "BorderTransparency",
150 PROP_DATAPOINT_BORDER_TRANSPARENCY
,
151 cppu::UnoType
<sal_Int16
>::get(),
152 beans::PropertyAttribute::BOUND
153 | beans::PropertyAttribute::MAYBEVOID
));
156 rOutProperties
.push_back(
157 Property( "LineStyle",
158 LinePropertiesHelper::PROP_LINE_STYLE
,
159 cppu::UnoType
<drawing::LineStyle
>::get(),
160 beans::PropertyAttribute::BOUND
161 | beans::PropertyAttribute::MAYBEDEFAULT
));
162 rOutProperties
.push_back(
163 Property( "LineWidth",
164 LinePropertiesHelper::PROP_LINE_WIDTH
,
165 cppu::UnoType
<sal_Int32
>::get(),
166 beans::PropertyAttribute::BOUND
167 | beans::PropertyAttribute::MAYBEDEFAULT
));
168 rOutProperties
.push_back(
169 Property( "LineDash",
170 LinePropertiesHelper::PROP_LINE_DASH
,
171 cppu::UnoType
<drawing::LineDash
>::get(),
172 beans::PropertyAttribute::BOUND
173 | beans::PropertyAttribute::MAYBEVOID
));
174 rOutProperties
.push_back(
175 Property( "LineDashName",
176 LinePropertiesHelper::PROP_LINE_DASH_NAME
,
177 cppu::UnoType
<OUString
>::get(),
178 beans::PropertyAttribute::BOUND
179 | beans::PropertyAttribute::MAYBEVOID
));
183 rOutProperties
.push_back(
184 Property( "FillBitmapOffsetX",
185 FillProperties::PROP_FILL_BITMAP_OFFSETX
,
186 cppu::UnoType
<sal_Int16
>::get(),
187 beans::PropertyAttribute::BOUND
188 | beans::PropertyAttribute::MAYBEDEFAULT
));
190 rOutProperties
.push_back(
191 Property( "FillBitmapOffsetY",
192 FillProperties::PROP_FILL_BITMAP_OFFSETY
,
193 cppu::UnoType
<sal_Int16
>::get(),
194 beans::PropertyAttribute::BOUND
195 | beans::PropertyAttribute::MAYBEDEFAULT
));
197 rOutProperties
.push_back(
198 Property( "FillBitmapPositionOffsetX",
199 FillProperties::PROP_FILL_BITMAP_POSITION_OFFSETX
,
200 cppu::UnoType
<sal_Int16
>::get(),
201 beans::PropertyAttribute::BOUND
202 | beans::PropertyAttribute::MAYBEDEFAULT
));
204 rOutProperties
.push_back(
205 Property( "FillBitmapPositionOffsetY",
206 FillProperties::PROP_FILL_BITMAP_POSITION_OFFSETY
,
207 cppu::UnoType
<sal_Int16
>::get(),
208 beans::PropertyAttribute::BOUND
209 | beans::PropertyAttribute::MAYBEDEFAULT
));
211 rOutProperties
.push_back(
212 Property( "FillBitmapRectanglePoint",
213 FillProperties::PROP_FILL_BITMAP_RECTANGLEPOINT
,
214 cppu::UnoType
<drawing::RectanglePoint
>::get(),
215 beans::PropertyAttribute::BOUND
216 | beans::PropertyAttribute::MAYBEDEFAULT
));
218 rOutProperties
.push_back(
219 Property( "FillBitmapLogicalSize",
220 FillProperties::PROP_FILL_BITMAP_LOGICALSIZE
,
221 cppu::UnoType
<bool>::get(),
222 beans::PropertyAttribute::BOUND
223 | beans::PropertyAttribute::MAYBEDEFAULT
));
225 rOutProperties
.push_back(
226 Property( "FillBitmapSizeX",
227 FillProperties::PROP_FILL_BITMAP_SIZEX
,
228 cppu::UnoType
<sal_Int32
>::get(),
229 beans::PropertyAttribute::BOUND
230 | beans::PropertyAttribute::MAYBEDEFAULT
));
232 rOutProperties
.push_back(
233 Property( "FillBitmapSizeY",
234 FillProperties::PROP_FILL_BITMAP_SIZEY
,
235 cppu::UnoType
<sal_Int32
>::get(),
236 beans::PropertyAttribute::BOUND
237 | beans::PropertyAttribute::MAYBEDEFAULT
));
239 rOutProperties
.push_back(
240 Property( "FillBitmapMode",
241 FillProperties::PROP_FILL_BITMAP_MODE
,
242 cppu::UnoType
<drawing::BitmapMode
>::get(),
243 beans::PropertyAttribute::BOUND
244 | beans::PropertyAttribute::MAYBEDEFAULT
));
247 rOutProperties
.push_back(
249 PROP_DATAPOINT_SYMBOL_PROP
,
250 cppu::UnoType
<chart2::Symbol
>::get(),
251 beans::PropertyAttribute::BOUND
252 | beans::PropertyAttribute::MAYBEDEFAULT
));
253 rOutProperties
.push_back(
255 PROP_DATAPOINT_OFFSET
,
256 cppu::UnoType
<double>::get(),
257 beans::PropertyAttribute::BOUND
258 | beans::PropertyAttribute::MAYBEDEFAULT
));
259 rOutProperties
.push_back(
260 Property( "Geometry3D",
261 PROP_DATAPOINT_GEOMETRY3D
,
262 cppu::UnoType
<sal_Int32
>::get(),
263 beans::PropertyAttribute::BOUND
264 | beans::PropertyAttribute::MAYBEDEFAULT
));
266 rOutProperties
.push_back(
267 Property( CHART_UNONAME_NUMFMT
,
268 PROP_DATAPOINT_NUMBER_FORMAT
,
269 cppu::UnoType
<sal_Int32
>::get(),
270 beans::PropertyAttribute::BOUND
271 | beans::PropertyAttribute::MAYBEDEFAULT
));
273 rOutProperties
.push_back(
274 Property( CHART_UNONAME_LINK_TO_SRC_NUMFMT
,
275 PROP_DATAPOINT_LINK_NUMBERFORMAT_TO_SOURCE
,
276 cppu::UnoType
<bool>::get(),
277 beans::PropertyAttribute::BOUND
278 | beans::PropertyAttribute::MAYBEDEFAULT
));
280 //additional 'PercentageNumberFormat'
281 rOutProperties
.push_back(
282 Property( "PercentageNumberFormat",
283 PROP_DATAPOINT_PERCENTAGE_NUMBER_FORMAT
,
284 cppu::UnoType
<sal_Int32
>::get(),
285 beans::PropertyAttribute::BOUND
286 | beans::PropertyAttribute::MAYBEVOID
));
288 rOutProperties
.push_back(
289 Property( "LabelPlacement",
290 PROP_DATAPOINT_LABEL_PLACEMENT
,
291 cppu::UnoType
<sal_Int32
>::get(),
292 beans::PropertyAttribute::BOUND
293 | beans::PropertyAttribute::MAYBEVOID
));
295 rOutProperties
.push_back(
296 Property( "ReferencePageSize",
297 PROP_DATAPOINT_REFERENCE_DIAGRAM_SIZE
,
298 cppu::UnoType
<awt::Size
>::get(),
299 beans::PropertyAttribute::BOUND
300 | beans::PropertyAttribute::MAYBEVOID
));
302 rOutProperties
.push_back(
303 Property( "TextRotation",
304 PROP_DATAPOINT_TEXT_ROTATION
,
305 cppu::UnoType
<double>::get(),
306 beans::PropertyAttribute::BOUND
307 | beans::PropertyAttribute::MAYBEDEFAULT
));
310 rOutProperties
.push_back(
311 Property( CHART_UNONAME_ERRORBAR_X
,
312 PROP_DATAPOINT_ERROR_BAR_X
,
313 // XPropertySet supporting service ErrorBar
314 cppu::UnoType
<beans::XPropertySet
>::get(),
315 beans::PropertyAttribute::BOUND
316 | beans::PropertyAttribute::MAYBEVOID
));
317 rOutProperties
.push_back(
318 Property( CHART_UNONAME_ERRORBAR_Y
,
319 PROP_DATAPOINT_ERROR_BAR_Y
,
320 // XPropertySet supporting service ErrorBar
321 cppu::UnoType
<beans::XPropertySet
>::get(),
322 beans::PropertyAttribute::BOUND
323 | beans::PropertyAttribute::MAYBEVOID
));
324 rOutProperties
.push_back(
325 Property( "ShowErrorBox",
326 PROP_DATAPOINT_SHOW_ERROR_BOX
,
327 cppu::UnoType
<bool>::get(),
328 beans::PropertyAttribute::BOUND
329 | beans::PropertyAttribute::MAYBEVOID
));
330 rOutProperties
.push_back(
331 Property( "PercentDiagonal",
332 PROP_DATAPOINT_PERCENT_DIAGONAL
,
333 cppu::UnoType
<sal_Int16
>::get(),
334 beans::PropertyAttribute::BOUND
335 | beans::PropertyAttribute::MAYBEVOID
));
337 // Properties specific to data label.
339 rOutProperties
.push_back(
340 Property( CHART_UNONAME_LABEL
,
341 PROP_DATAPOINT_LABEL
,
342 cppu::UnoType
<chart2::DataPointLabel
>::get(),
343 beans::PropertyAttribute::BOUND
344 | beans::PropertyAttribute::MAYBEDEFAULT
));
346 rOutProperties
.push_back(
347 Property( CHART_UNONAME_LABEL_SEP
,
348 PROP_DATAPOINT_LABEL_SEPARATOR
,
349 cppu::UnoType
<OUString
>::get(),
350 beans::PropertyAttribute::BOUND
351 | beans::PropertyAttribute::MAYBEDEFAULT
));
353 rOutProperties
.push_back(
354 Property( CHART_UNONAME_LABEL_BORDER_STYLE
,
355 PROP_DATAPOINT_LABEL_BORDER_STYLE
,
356 cppu::UnoType
<drawing::LineStyle
>::get(),
357 beans::PropertyAttribute::BOUND
358 | beans::PropertyAttribute::MAYBEDEFAULT
));
359 rOutProperties
.push_back(
360 Property( CHART_UNONAME_LABEL_BORDER_COLOR
,
361 PROP_DATAPOINT_LABEL_BORDER_COLOR
,
362 cppu::UnoType
<sal_Int32
>::get(),
363 beans::PropertyAttribute::BOUND
364 | beans::PropertyAttribute::MAYBEVOID
// "maybe auto"
365 | beans::PropertyAttribute::MAYBEDEFAULT
));
366 rOutProperties
.push_back(
367 Property( CHART_UNONAME_LABEL_BORDER_WIDTH
,
368 PROP_DATAPOINT_LABEL_BORDER_WIDTH
,
369 cppu::UnoType
<sal_Int32
>::get(),
370 beans::PropertyAttribute::BOUND
371 | beans::PropertyAttribute::MAYBEDEFAULT
));
372 rOutProperties
.push_back(
373 Property( CHART_UNONAME_LABEL_BORDER_DASH
,
374 PROP_DATAPOINT_LABEL_BORDER_DASH
,
375 cppu::UnoType
<drawing::LineDash
>::get(),
376 beans::PropertyAttribute::BOUND
377 | beans::PropertyAttribute::MAYBEVOID
));
378 rOutProperties
.push_back(
379 Property( CHART_UNONAME_LABEL_BORDER_DASHNAME
,
380 PROP_DATAPOINT_LABEL_BORDER_DASH_NAME
,
381 cppu::UnoType
<OUString
>::get(),
382 beans::PropertyAttribute::BOUND
383 | beans::PropertyAttribute::MAYBEVOID
));
384 rOutProperties
.push_back(
385 Property( CHART_UNONAME_LABEL_BORDER_TRANS
,
386 PROP_DATAPOINT_LABEL_BORDER_TRANS
,
387 cppu::UnoType
<sal_Int16
>::get(),
388 beans::PropertyAttribute::BOUND
389 | beans::PropertyAttribute::MAYBEDEFAULT
));
392 void DataPointProperties::AddDefaultsToMap(
393 ::chart::tPropertyValueMap
& rOutMap
)
395 PropertyHelper::setPropertyValueDefault
< sal_Int32
>( rOutMap
, PROP_DATAPOINT_COLOR
, 0x0099ccff ); // blue 8
396 PropertyHelper::setPropertyValueDefault
< sal_Int16
>( rOutMap
, PROP_DATAPOINT_TRANSPARENCY
, 0 );
399 PropertyHelper::setPropertyValueDefault( rOutMap
, PROP_DATAPOINT_FILL_STYLE
, drawing::FillStyle_SOLID
);
400 PropertyHelper::setEmptyPropertyValueDefault( rOutMap
, PROP_DATAPOINT_TRANSPARENCY_GRADIENT_NAME
);
401 PropertyHelper::setEmptyPropertyValueDefault( rOutMap
, PROP_DATAPOINT_GRADIENT_NAME
);
402 PropertyHelper::setEmptyPropertyValueDefault( rOutMap
, PROP_DATAPOINT_HATCH_NAME
);
403 PropertyHelper::setEmptyPropertyValueDefault( rOutMap
, PROP_DATAPOINT_FILL_BITMAP_NAME
);
404 PropertyHelper::setPropertyValueDefault( rOutMap
, PROP_DATAPOINT_FILL_BACKGROUND
, false );
407 PropertyHelper::setPropertyValueDefault
< sal_Int32
>( rOutMap
, PROP_DATAPOINT_BORDER_COLOR
, 0x000000 ); // black
408 PropertyHelper::setPropertyValueDefault( rOutMap
, PROP_DATAPOINT_BORDER_STYLE
, drawing::LineStyle_SOLID
); // drawing::LineStyle_NONE
409 PropertyHelper::setPropertyValueDefault
< sal_Int32
>( rOutMap
, PROP_DATAPOINT_BORDER_WIDTH
, 0 );
410 PropertyHelper::setEmptyPropertyValueDefault( rOutMap
, PROP_DATAPOINT_BORDER_DASH_NAME
);
411 PropertyHelper::setPropertyValueDefault
< sal_Int16
>( rOutMap
, PROP_DATAPOINT_BORDER_TRANSPARENCY
, 0 );
414 PropertyHelper::setPropertyValueDefault( rOutMap
, LinePropertiesHelper::PROP_LINE_STYLE
, drawing::LineStyle_SOLID
);
415 PropertyHelper::setPropertyValueDefault
< sal_Int32
>( rOutMap
, LinePropertiesHelper::PROP_LINE_WIDTH
, 0 );
416 PropertyHelper::setPropertyValueDefault( rOutMap
, LinePropertiesHelper::PROP_LINE_DASH
, drawing::LineDash());
417 PropertyHelper::setEmptyPropertyValueDefault( rOutMap
, LinePropertiesHelper::PROP_LINE_DASH_NAME
);
420 PropertyHelper::setPropertyValueDefault
< sal_Int16
>( rOutMap
, FillProperties::PROP_FILL_BITMAP_OFFSETX
, 0 );
421 PropertyHelper::setPropertyValueDefault
< sal_Int16
>( rOutMap
, FillProperties::PROP_FILL_BITMAP_OFFSETY
, 0 );
422 PropertyHelper::setPropertyValueDefault
< sal_Int16
>( rOutMap
, FillProperties::PROP_FILL_BITMAP_POSITION_OFFSETX
, 0 );
423 PropertyHelper::setPropertyValueDefault
< sal_Int16
>( rOutMap
, FillProperties::PROP_FILL_BITMAP_POSITION_OFFSETY
, 0 );
424 PropertyHelper::setPropertyValueDefault( rOutMap
, FillProperties::PROP_FILL_BITMAP_RECTANGLEPOINT
, drawing::RectanglePoint_MIDDLE_MIDDLE
);
425 PropertyHelper::setPropertyValueDefault( rOutMap
, FillProperties::PROP_FILL_BITMAP_LOGICALSIZE
, true );
427 PropertyHelper::setPropertyValueDefault
< sal_Int32
>( rOutMap
, FillProperties::PROP_FILL_BITMAP_SIZEX
, 0 );
428 PropertyHelper::setPropertyValueDefault
< sal_Int32
>( rOutMap
, FillProperties::PROP_FILL_BITMAP_SIZEY
, 0 );
429 PropertyHelper::setPropertyValueDefault( rOutMap
, FillProperties::PROP_FILL_BITMAP_MODE
, drawing::BitmapMode_REPEAT
);
432 chart2::Symbol aSymbProp
;
433 aSymbProp
.Style
= chart2::SymbolStyle_NONE
;
434 aSymbProp
.StandardSymbol
= 0;
435 aSymbProp
.Size
= awt::Size( 250, 250 ); // ca. 7pt x 7pt (7pt=246.94)
436 aSymbProp
.BorderColor
= 0x000000; // Black
437 aSymbProp
.FillColor
= 0xee4000; // OrangeRed2
438 PropertyHelper::setPropertyValueDefault( rOutMap
, PROP_DATAPOINT_SYMBOL_PROP
, aSymbProp
);
440 PropertyHelper::setPropertyValueDefault
< double >( rOutMap
, PROP_DATAPOINT_OFFSET
, 0.0 );
441 PropertyHelper::setPropertyValueDefault( rOutMap
, PROP_DATAPOINT_GEOMETRY3D
, chart2::DataPointGeometry3D::CUBOID
);
443 //@todo maybe choose a different one here -> should be dynamically that of the attached axis
444 PropertyHelper::setPropertyValueDefault( rOutMap
, PROP_DATAPOINT_ERROR_BAR_X
, uno::Reference
< beans::XPropertySet
>());
445 PropertyHelper::setPropertyValueDefault( rOutMap
, PROP_DATAPOINT_ERROR_BAR_Y
, uno::Reference
< beans::XPropertySet
>());
446 PropertyHelper::setPropertyValueDefault
< sal_Int16
>( rOutMap
, PROP_DATAPOINT_PERCENT_DIAGONAL
, 0 );
448 PropertyHelper::setPropertyValueDefault
< double >( rOutMap
, PROP_DATAPOINT_TEXT_ROTATION
, 0.0 );
450 PropertyHelper::setPropertyValueDefault(rOutMap
, PROP_DATAPOINT_LINK_NUMBERFORMAT_TO_SOURCE
, true);
453 PropertyHelper::setPropertyValueDefault(
454 rOutMap
, PROP_DATAPOINT_LABEL
,
455 chart2::DataPointLabel(
456 sal_False
, // ShowNumber
457 sal_False
, // ShowNumberInPercent
458 sal_False
, // ShowCategoryName
459 sal_False
// ShowLegendSymbol
462 PropertyHelper::setPropertyValueDefault
< OUString
>( rOutMap
, PROP_DATAPOINT_LABEL_SEPARATOR
, " " );
463 PropertyHelper::setPropertyValueDefault
<sal_Int32
>(rOutMap
, PROP_DATAPOINT_LABEL_BORDER_STYLE
, drawing::LineStyle_NONE
);
464 PropertyHelper::setEmptyPropertyValueDefault(rOutMap
, PROP_DATAPOINT_LABEL_BORDER_COLOR
);
465 PropertyHelper::setPropertyValueDefault
<sal_Int32
>(rOutMap
, PROP_DATAPOINT_LABEL_BORDER_WIDTH
, 0);
466 PropertyHelper::setPropertyValueDefault(rOutMap
, PROP_DATAPOINT_LABEL_BORDER_DASH
, drawing::LineDash());
467 PropertyHelper::setEmptyPropertyValueDefault(rOutMap
, PROP_DATAPOINT_LABEL_BORDER_DASH_NAME
);
468 PropertyHelper::setPropertyValueDefault
<sal_Int16
>(rOutMap
, PROP_DATAPOINT_LABEL_BORDER_TRANS
, 0);
473 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */