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: GraphicObjectShape.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_drawing_GraphicObjectShape_idl__
31 #define __com_sun_star_drawing_GraphicObjectShape_idl__
33 #ifndef __com_sun_star_drawing_Shape_idl__
34 #include
<com
/sun
/star
/drawing
/Shape.idl
>
37 #ifndef __com_sun_star_drawing_Text_idl__
38 #include
<com
/sun
/star
/drawing
/Text.idl
>
41 #ifndef __com_sun_star_drawing_ShadowProperties_idl__
42 #include
<com
/sun
/star
/drawing
/ShadowProperties.idl
>
45 #ifndef __com_sun_star_drawing_RotationDescriptor_idl__
46 #include
<com
/sun
/star
/drawing
/RotationDescriptor.idl
>
49 #ifndef __com_sun_star_awt_XBitmap_idl__
50 #include
<com
/sun
/star
/awt
/XBitmap.idl
>
53 #ifndef com_sun_star_graphic_XGraphic_idl
54 #include
<com
/sun
/star
/graphic
/XGraphic.idl
>
57 #ifndef __com_sun_star_drawing_ColorMode_idl__
58 #include
<com
/sun
/star
/drawing
/ColorMode.idl
>
61 #ifndef __com_sun_star_container_XIndexContainer_idl__
62 #include
<com
/sun
/star
/container
/XIndexContainer.idl
>
65 //=============================================================================
67 module com
{ module sun
{ module star
{ module drawing
{
69 //=============================================================================
71 /** This service is for a graphic shape.
73 published service GraphicObjectShape
75 service com
::sun
::star
::drawing
::Shape
;
77 service com
::sun
::star
::drawing
::Text
;
79 service com
::sun
::star
::drawing
::ShadowProperties
;
81 service com
::sun
::star
::drawing
::RotationDescriptor
;
83 //-------------------------------------------------------------------------
84 /** This is an url to the source bitmap for this graphic shape.
86 [property
] string GraphicURL
;
88 //-------------------------------------------------------------------------
89 /** This is an url to the stream ('in document' or linked graphic) for this graphic shape.
91 [property
] string GraphicStreamURL
;
93 //-------------------------------------------------------------------------
94 /** Deprecated. Use graphic property instead!
95 This is the bitmap that represents this graphic shape.
97 [optional, property
] com
::sun
::star
::awt
::XBitmap GraphicObjectFillBitmap
;
99 //-------------------------------------------------------------------------
100 /** If this property is set, the luminance of this graphic shape is adjusted
101 by the given signed percent value.
103 [property
] short AdjustLuminance
;
105 //-------------------------------------------------------------------------
106 /** If this property is set, the contrast of this graphic shape is adjusted
107 by the given signed percent value.
109 [property
] short AdjustContrast
;
111 //-------------------------------------------------------------------------
112 /** If this property is set, the red channel of this graphic shape is
113 adjusted by the given signed percent value.
115 [property
] short AdjustRed
;
117 //-------------------------------------------------------------------------
118 /** If this property is set, the green channel of this graphic shape is
119 adjusted by the given signed percent value.
121 [property
] short AdjustGreen
;
123 //-------------------------------------------------------------------------
124 /** If this property is set, the blue channel of this graphic shape is
125 adjusted by the given signed percent value.
127 [property
] short AdjustBlue
;
129 //-------------------------------------------------------------------------
130 /** If this property is set, the gama value of this graphic shape is
131 adjusted by the given value.
133 [property
] double Gamma
;
135 //-------------------------------------------------------------------------
136 /** If this property is set, the transparency value of this graphic shape is
137 adjusted by the given unsigned percent value.
138 100% is fully transparent, 0 % is fully opaque.
140 [property
] short Transparency
;
142 //-------------------------------------------------------------------------
143 /** This property selects the color mode that is used for rendering.
145 [property
] ColorMode GraphicColorMode
;
147 //-------------------------------------------------------------------------
148 /** This property contains a image map for this graphic.
149 @see com::sun::star::image::ImageMap
151 [optional, property
] com
::sun
::star
::container
::XIndexContainer ImageMap
;
153 //-------------------------------------------------------------------------
154 /** This is the graphic that represents this graphic shape
156 [optional, property
] com
::sun
::star
::graphic
::XGraphic Graphic
;
159 //=============================================================================