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