1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 #ifndef CHART_NAMEDFILLPROPERTIES_HXX
24 #define CHART_NAMEDFILLPROPERTIES_HXX
25 
26 #error "Deprecated, do not include this file"
27 
28 #include "PropertyHelper.hxx"
29 #include "FastPropertyIdRanges.hxx"
30 #include <com/sun/star/beans/Property.hpp>
31 
32 #include <vector>
33 
34 namespace chart
35 {
36 
37 // CHANGED! : these are the UNnamed properties!
38 // @deprecated
39 class NamedFillProperties
40 {
41 public:
42     // FastProperty Ids for properties
43     enum
44     {
45         // com.sun.star.drawing.FillProperties (only named properties)
46         //optional properties:
47         PROP_FILL_TRANSPARENCE_GRADIENT,
48         PROP_FILL_GRADIENT,
49         PROP_FILL_HATCH,
50         PROP_FILL_BITMAP,
51 
52         FAST_PROPERTY_ID_END_NAMED_FILL_PROP
53     };
54 
55     static void AddPropertiesToVector(
56         ::std::vector< ::com::sun::star::beans::Property > & rOutProperties );
57 
58     static void AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap );
59 
60     //will return e.g. "FillGradientName" for nHandle == PROP_FILL_GRADIENT_NAME
61     static ::rtl::OUString GetPropertyNameForHandle( sal_Int32 nHandle );
62 
63 private:
64     // not implemented
65     NamedFillProperties();
66 };
67 
68 } //  namespace chart
69 
70 // CHART_NAMEDFILLPROPERTIES_HXX
71 #endif
72