Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / chart2 / FillBitmap.idl
blob29da2b57be5342f8d8bd219c318dd47d64a56dcb
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 com_sun_star_chart2_FillBitmap_idl
20 #define com_sun_star_chart2_FillBitmap_idl
22 #include <com/sun/star/awt/Point.idl>
23 #include <com/sun/star/awt/Size.idl>
24 #include <com/sun/star/drawing/BitmapMode.idl>
25 #include <com/sun/star/drawing/RectanglePoint.idl>
28 module com
30 module sun
32 module star
34 module chart2
37 /** This structure contains all properties of a bitmap when used as
38 FillStyle.
40 @see com::sun::star::drawing::FillProperties
42 struct FillBitmap
44 /** a URL to the bitmap used. This may be an internal URL of the
45 graphics manager.
47 string aURL;
49 /** This is the horizontal and vertical offset where the tile
50 starts.
52 <p>It is given in percent in relation to the width of the
53 bitmap.</p>
55 com::sun::star::awt::Point aOffset;
57 /** Every second line (X) / row (Y) of tiles is moved the given
58 percent of the width of the bitmap.
60 com::sun::star::awt::Point aPositionOffset;
62 /** The RectanglePoint specifies the position inside of the bitmap
63 to use as the top left position for rendering.
65 com::sun::star::drawing::RectanglePoint aRectanglePoint;
67 /** specifies if the size is given in percentage or as an absolute
68 value.
70 <p>If this is `TRUE`, the properties SizeX and
71 SizeY contain the size of the tile in percent of the
72 size of the original bitmap. If this is `FALSE`, the size of
73 the tile is specified with 1/100th mm.</p>
75 boolean bLogicalSize;
77 /** This is the size of the tile for filling.
79 <p>Depending on the property LogicalSize, this is
80 either relative or absolute.</p>
82 com::sun::star::awt::Size aSize;
84 /** this enum selects how a area is filled with a single bitmap.
86 <p>It may be repeated, stretched or displayed with blank space
87 around it.</p>
89 com::sun::star::drawing::BitmapMode aBitmapMode;
92 } ; // chart2
93 } ; // com
94 } ; // sun
95 } ; // star
98 #endif
100 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */