1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef com_sun_star_chart2_FillBitmap_idl
28 #define com_sun_star_chart2_FillBitmap_idl
30 // #ifndef __com_sun_star_awt_XBitmap_idl__
31 // #include <com/sun/star/awt/XBitmap.idl>
34 #ifndef __com_sun_star_awt_Point_idl__
35 #include
<com
/sun
/star
/awt
/Point.idl
>
37 #ifndef __com_sun_star_awt_Size_idl__
38 #include
<com
/sun
/star
/awt
/Size.idl
>
41 #ifndef __com_sun_star_drawing_BitmapMode_idl__
42 #include
<com
/sun
/star
/drawing
/BitmapMode.idl
>
44 #ifndef __com_sun_star_drawing_RectanglePoint_idl__
45 #include
<com
/sun
/star
/drawing
/RectanglePoint.idl
>
58 /** This strucutre contains all properties of a bitmap when used as
61 @see com::sun::star::drawing::FillProperties
65 /** a URL to the bitmap used. This may be an internal URL of the
70 /** This is the horizontal and vertical offset where the tile
73 <p>It is given in percent in relation to the width of the
76 com
::sun
::star
::awt
::Point aOffset
;
78 /** Every second line (X) / row (Y) of tiles is moved the given
79 percent of the witdh of the bitmap.
81 com
::sun
::star
::awt
::Point aPositionOffset
;
83 /** The RectanglePoint specifies the position inside of the bitmap
84 to use as the top left position for rendering.
86 com
::sun
::star
::drawing
::RectanglePoint aRectanglePoint
;
88 /** specifies if the size is given in percentage or as an absolute
91 <p>If this is <TRUE/>, the properties SizeX and
92 SizeY contain the size of the tile in percent of the
93 size of the original bitmap. If this is <FALSE/>, the size of
94 the tile is specified with 1/100th mm.</p>
98 /** This is the size of the tile for filling.
100 <p>Depending on the property LogicalSize, this is
101 either relative or absolute.</p>
103 com
::sun
::star
::awt
::Size aSize
;
105 /** this enum selects how a area is filled with a single bitmap.
107 <p>It may be repeated, stretched or displayed with blank space
110 com
::sun
::star
::drawing
::BitmapMode aBitmapMode
;