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 .
21 #include "PropertyHelper.hxx"
22 #include "FastPropertyIdRanges.hxx"
23 #include "charttoolsdllapi.hxx"
27 namespace com::sun::star::beans
{ struct Property
; }
32 // implements service FillProperties
33 namespace FillProperties
35 // FastProperty Ids for properties
38 // com.sun.star.drawing.FillProperties
39 PROP_FILL_STYLE
= FAST_PROPERTY_ID_START_FILL_PROP
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 UNLESS_MERGELIBS(OOO_DLLPUBLIC_CHARTTOOLS
) void AddPropertiesToVector(
67 std::vector
< css::beans::Property
> & rOutProperties
);
69 UNLESS_MERGELIBS(OOO_DLLPUBLIC_CHARTTOOLS
) void AddDefaultsToMap( ::chart::tPropertyValueMap
& rOutMap
);
74 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */