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 .
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"
28 namespace com
{ namespace sun
{ namespace star
{ namespace beans
{ struct Property
; } } } }
33 // implements service FillProperties
34 namespace FillProperties
36 // FastProperty Ids for properties
39 // com.sun.star.drawing.FillProperties
40 PROP_FILL_STYLE
= FAST_PROPERTY_ID_START_FILL_PROP
42 , PROP_FILL_TRANSPARENCE
43 , PROP_FILL_TRANSPARENCE_GRADIENT_NAME
44 // , PROP_FILL_TRANSPARENCE_GRADIENT //optional
45 , PROP_FILL_GRADIENT_NAME
46 , PROP_FILL_GRADIENT_STEPCOUNT
47 // , PROP_FILL_GRADIENT //optional
48 , PROP_FILL_HATCH_NAME
49 // , PROP_FILL_HATCH //optional
50 // bitmap properties start
51 , PROP_FILL_BITMAP_NAME
52 // , PROP_FILL_BITMAP //optional
53 // , PROP_FILL_BITMAP_URL //optional
54 , PROP_FILL_BITMAP_OFFSETX
55 , PROP_FILL_BITMAP_OFFSETY
56 , PROP_FILL_BITMAP_POSITION_OFFSETX
57 , PROP_FILL_BITMAP_POSITION_OFFSETY
58 , PROP_FILL_BITMAP_RECTANGLEPOINT
59 , PROP_FILL_BITMAP_LOGICALSIZE
60 , PROP_FILL_BITMAP_SIZEX
61 , PROP_FILL_BITMAP_SIZEY
62 , PROP_FILL_BITMAP_MODE
63 // bitmap properties end
64 , PROP_FILL_BACKGROUND
67 OOO_DLLPUBLIC_CHARTTOOLS
void AddPropertiesToVector(
68 std::vector
< css::beans::Property
> & rOutProperties
);
70 OOO_DLLPUBLIC_CHARTTOOLS
void AddDefaultsToMap( ::chart::tPropertyValueMap
& rOutMap
);
75 // INCLUDED_CHART2_SOURCE_INC_FILLPROPERTIES_HXX
78 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */