Get the style color and number just once
[LibreOffice.git] / chart2 / source / inc / SceneProperties.hxx
blob1fdae1b6703f24b7d0bf95d48b018d58b6b8bd43
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 #pragma once
21 #include <config_options.h>
22 #include "PropertyHelper.hxx"
23 #include "FastPropertyIdRanges.hxx"
24 #include "charttoolsdllapi.hxx"
26 #include <vector>
28 namespace com::sun::star::beans { struct Property; }
30 namespace chart
33 // implements service SceneProperties
34 namespace SceneProperties
36 // FastProperty Ids for properties
37 enum
39 // "com.sun.star.drawing.SceneProperties" (does not exist)
40 PROP_SCENE_TRANSF_MATRIX = FAST_PROPERTY_ID_START_SCENE_PROP,
41 PROP_SCENE_DISTANCE,
42 PROP_SCENE_FOCAL_LENGTH,
43 PROP_SCENE_SHADOW_SLANT,
44 PROP_SCENE_SHADE_MODE,
45 PROP_SCENE_AMBIENT_COLOR,
46 PROP_SCENE_TWO_SIDED_LIGHTING,
47 PROP_SCENE_CAMERA_GEOMETRY,
48 PROP_SCENE_PERSPECTIVE,
49 PROP_SCENE_LIGHT_COLOR_1,
50 PROP_SCENE_LIGHT_DIRECTION_1,
51 PROP_SCENE_LIGHT_ON_1,
52 PROP_SCENE_LIGHT_COLOR_2,
53 PROP_SCENE_LIGHT_DIRECTION_2,
54 PROP_SCENE_LIGHT_ON_2,
55 PROP_SCENE_LIGHT_COLOR_3,
56 PROP_SCENE_LIGHT_DIRECTION_3,
57 PROP_SCENE_LIGHT_ON_3,
58 PROP_SCENE_LIGHT_COLOR_4,
59 PROP_SCENE_LIGHT_DIRECTION_4,
60 PROP_SCENE_LIGHT_ON_4,
61 PROP_SCENE_LIGHT_COLOR_5,
62 PROP_SCENE_LIGHT_DIRECTION_5,
63 PROP_SCENE_LIGHT_ON_5,
64 PROP_SCENE_LIGHT_COLOR_6,
65 PROP_SCENE_LIGHT_DIRECTION_6,
66 PROP_SCENE_LIGHT_ON_6,
67 PROP_SCENE_LIGHT_COLOR_7,
68 PROP_SCENE_LIGHT_DIRECTION_7,
69 PROP_SCENE_LIGHT_ON_7,
70 PROP_SCENE_LIGHT_COLOR_8,
71 PROP_SCENE_LIGHT_DIRECTION_8,
72 PROP_SCENE_LIGHT_ON_8
75 UNLESS_MERGELIBS(OOO_DLLPUBLIC_CHARTTOOLS) void AddPropertiesToVector(
76 std::vector< css::beans::Property > & rOutProperties );
78 UNLESS_MERGELIBS(OOO_DLLPUBLIC_CHARTTOOLS) void AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap );
81 } // namespace chart
83 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */