Bump for 3.6-28
[LibreOffice.git] / offapi / com / sun / star / chart2 / FillBitmap.idl
blob42a26fa3bf8de8f5bd4774e884c7b96ecc219ec3
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
28 #ifndef com_sun_star_chart2_FillBitmap_idl
29 #define com_sun_star_chart2_FillBitmap_idl
31 #include <com/sun/star/awt/Point.idl>
32 #include <com/sun/star/awt/Size.idl>
33 #include <com/sun/star/drawing/BitmapMode.idl>
34 #include <com/sun/star/drawing/RectanglePoint.idl>
37 module com
39 module sun
41 module star
43 module chart2
46 /** This structure contains all properties of a bitmap when used as
47 FillStyle.
49 @see com::sun::star::drawing::FillProperties
51 struct FillBitmap
53 /** a URL to the bitmap used. This may be an internal URL of the
54 graphics manager.
56 string aURL;
58 /** This is the horizontal and vertical offset where the tile
59 starts.
61 <p>It is given in percent in relation to the width of the
62 bitmap.</p>
64 com::sun::star::awt::Point aOffset;
66 /** Every second line (X) / row (Y) of tiles is moved the given
67 percent of the width of the bitmap.
69 com::sun::star::awt::Point aPositionOffset;
71 /** The RectanglePoint specifies the position inside of the bitmap
72 to use as the top left position for rendering.
74 com::sun::star::drawing::RectanglePoint aRectanglePoint;
76 /** specifies if the size is given in percentage or as an absolute
77 value.
79 <p>If this is <TRUE/>, the properties SizeX and
80 SizeY contain the size of the tile in percent of the
81 size of the original bitmap. If this is <FALSE/>, the size of
82 the tile is specified with 1/100th mm.</p>
84 boolean bLogicalSize;
86 /** This is the size of the tile for filling.
88 <p>Depending on the property LogicalSize, this is
89 either relative or absolute.</p>
91 com::sun::star::awt::Size aSize;
93 /** this enum selects how a area is filled with a single bitmap.
95 <p>It may be repeated, stretched or displayed with blank space
96 around it.</p>
98 com::sun::star::drawing::BitmapMode aBitmapMode;
101 } ; // chart2
102 } ; // com
103 } ; // sun
104 } ; // star
107 #endif
109 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */