Bump for 3.6-28
[LibreOffice.git] / chart2 / source / inc / FillProperties.hxx
blob6e52e134e25cc1b380e4db8108a274eca694b6a0
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
28 #ifndef CHART_FILLPROPERTIES_HXX
29 #define CHART_FILLPROPERTIES_HXX
31 #include "PropertyHelper.hxx"
32 #include "FastPropertyIdRanges.hxx"
33 #include "charttoolsdllapi.hxx"
34 #include <com/sun/star/beans/Property.hpp>
36 #include <vector>
38 namespace chart
41 // implements service FillProperties
42 class OOO_DLLPUBLIC_CHARTTOOLS FillProperties
44 public:
45 // FastProperty Ids for properties
46 enum
48 // com.sun.star.drawing.FillProperties
49 // com.sun.star.drawing.FillProperties
50 PROP_FILL_STYLE = FAST_PROPERTY_ID_START_FILL_PROP
51 , PROP_FILL_COLOR
52 , PROP_FILL_TRANSPARENCE
53 , PROP_FILL_TRANSPARENCE_GRADIENT_NAME
54 // , PROP_FILL_TRANSPARENCE_GRADIENT //optional
55 , PROP_FILL_GRADIENT_NAME
56 , PROP_FILL_GRADIENT_STEPCOUNT
57 // , PROP_FILL_GRADIENT //optional
58 , PROP_FILL_HATCH_NAME
59 // , PROP_FILL_HATCH //optional
60 //------------------------
61 // bitmap properties start
62 , PROP_FILL_BITMAP_NAME
63 // , PROP_FILL_BITMAP //optional
64 // , PROP_FILL_BITMAP_URL //optional
65 , PROP_FILL_BITMAP_OFFSETX
66 , PROP_FILL_BITMAP_OFFSETY
67 , PROP_FILL_BITMAP_POSITION_OFFSETX
68 , PROP_FILL_BITMAP_POSITION_OFFSETY
69 , PROP_FILL_BITMAP_RECTANGLEPOINT
70 , PROP_FILL_BITMAP_LOGICALSIZE
71 , PROP_FILL_BITMAP_SIZEX
72 , PROP_FILL_BITMAP_SIZEY
73 , PROP_FILL_BITMAP_MODE
74 // bitmap properties end
75 //------------------------
76 , PROP_FILL_BACKGROUND
79 static void AddPropertiesToVector(
80 ::std::vector< ::com::sun::star::beans::Property > & rOutProperties );
82 static void AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap );
84 private:
85 // not implemented
86 FillProperties();
89 } // namespace chart
91 // CHART_FILLPROPERTIES_HXX
92 #endif
94 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */