fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / chart2 / source / inc / FillProperties.hxx
blob43024262c399edbd9646d4207f00ff9cf9a02dd2
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 #ifndef INCLUDED_CHART2_SOURCE_INC_FILLPROPERTIES_HXX
20 #define INCLUDED_CHART2_SOURCE_INC_FILLPROPERTIES_HXX
22 #include "PropertyHelper.hxx"
23 #include "FastPropertyIdRanges.hxx"
24 #include "charttoolsdllapi.hxx"
25 #include <com/sun/star/beans/Property.hpp>
27 #include <vector>
29 namespace chart
32 // implements service FillProperties
33 namespace FillProperties
35 // FastProperty Ids for properties
36 enum
38 // com.sun.star.drawing.FillProperties
39 PROP_FILL_STYLE = FAST_PROPERTY_ID_START_FILL_PROP
40 , PROP_FILL_COLOR
41 , PROP_FILL_TRANSPARENCE
42 , PROP_FILL_TRANSPARENCE_GRADIENT_NAME
43 // , PROP_FILL_TRANSPARENCE_GRADIENT //optional
44 , PROP_FILL_GRADIENT_NAME
45 , PROP_FILL_GRADIENT_STEPCOUNT
46 // , PROP_FILL_GRADIENT //optional
47 , PROP_FILL_HATCH_NAME
48 // , PROP_FILL_HATCH //optional
49 // bitmap properties start
50 , PROP_FILL_BITMAP_NAME
51 // , PROP_FILL_BITMAP //optional
52 // , PROP_FILL_BITMAP_URL //optional
53 , PROP_FILL_BITMAP_OFFSETX
54 , PROP_FILL_BITMAP_OFFSETY
55 , PROP_FILL_BITMAP_POSITION_OFFSETX
56 , PROP_FILL_BITMAP_POSITION_OFFSETY
57 , PROP_FILL_BITMAP_RECTANGLEPOINT
58 , PROP_FILL_BITMAP_LOGICALSIZE
59 , PROP_FILL_BITMAP_SIZEX
60 , PROP_FILL_BITMAP_SIZEY
61 , PROP_FILL_BITMAP_MODE
62 // bitmap properties end
63 , PROP_FILL_BACKGROUND
66 OOO_DLLPUBLIC_CHARTTOOLS void AddPropertiesToVector(
67 ::std::vector< ::com::sun::star::beans::Property > & rOutProperties );
69 OOO_DLLPUBLIC_CHARTTOOLS void AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap );
72 } // namespace chart
74 // INCLUDED_CHART2_SOURCE_INC_FILLPROPERTIES_HXX
75 #endif
77 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */