1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 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. 14 * 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). 20 * 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. 25 * 26 ************************************************************************/ 27#ifndef __com_sun_star_drawing_GraphicObjectShape_idl__ 28#define __com_sun_star_drawing_GraphicObjectShape_idl__ 29 30#ifndef __com_sun_star_drawing_Shape_idl__ 31#include <com/sun/star/drawing/Shape.idl> 32#endif 33 34#ifndef __com_sun_star_drawing_Text_idl__ 35#include <com/sun/star/drawing/Text.idl> 36#endif 37 38#ifndef __com_sun_star_drawing_ShadowProperties_idl__ 39#include <com/sun/star/drawing/ShadowProperties.idl> 40#endif 41 42#ifndef __com_sun_star_drawing_RotationDescriptor_idl__ 43#include <com/sun/star/drawing/RotationDescriptor.idl> 44#endif 45 46#ifndef __com_sun_star_awt_XBitmap_idl__ 47#include <com/sun/star/awt/XBitmap.idl> 48#endif 49 50#ifndef com_sun_star_graphic_XGraphic_idl 51#include <com/sun/star/graphic/XGraphic.idl> 52#endif 53 54#ifndef __com_sun_star_drawing_ColorMode_idl__ 55#include <com/sun/star/drawing/ColorMode.idl> 56#endif 57 58#ifndef __com_sun_star_container_XIndexContainer_idl__ 59#include <com/sun/star/container/XIndexContainer.idl> 60#endif 61 62//============================================================================= 63 64 module com { module sun { module star { module drawing { 65 66//============================================================================= 67 68/** This service is for a graphic shape. 69 */ 70published service GraphicObjectShape 71{ 72 service com::sun::star::drawing::Shape; 73 74 service com::sun::star::drawing::Text; 75 76 service com::sun::star::drawing::ShadowProperties; 77 78 service com::sun::star::drawing::RotationDescriptor; 79 80 //------------------------------------------------------------------------- 81 /** This is an url to the source bitmap for this graphic shape. 82 */ 83 [property] string GraphicURL; 84 85 //------------------------------------------------------------------------- 86 /** This is an url to the stream ('in document' or linked graphic) for this graphic shape. 87 */ 88 [property] string GraphicStreamURL; 89 90 //------------------------------------------------------------------------- 91 /** Deprecated. Use graphic property instead! 92 This is the bitmap that represents this graphic shape. 93 */ 94 [optional, property] com::sun::star::awt::XBitmap GraphicObjectFillBitmap; 95 96 //------------------------------------------------------------------------- 97 /** If this property is set, the luminance of this graphic shape is adjusted 98 by the given signed percent value. 99 */ 100 [property] short AdjustLuminance; 101 102 //------------------------------------------------------------------------- 103 /** If this property is set, the contrast of this graphic shape is adjusted 104 by the given signed percent value. 105 */ 106 [property] short AdjustContrast; 107 108 //------------------------------------------------------------------------- 109 /** If this property is set, the red channel of this graphic shape is 110 adjusted by the given signed percent value. 111 */ 112 [property] short AdjustRed; 113 114 //------------------------------------------------------------------------- 115 /** If this property is set, the green channel of this graphic shape is 116 adjusted by the given signed percent value. 117 */ 118 [property] short AdjustGreen; 119 120 //------------------------------------------------------------------------- 121 /** If this property is set, the blue channel of this graphic shape is 122 adjusted by the given signed percent value. 123 */ 124 [property] short AdjustBlue; 125 126 //------------------------------------------------------------------------- 127 /** If this property is set, the gama value of this graphic shape is 128 adjusted by the given value. 129 */ 130 [property] double Gamma; 131 132 //------------------------------------------------------------------------- 133 /** If this property is set, the transparency value of this graphic shape is 134 adjusted by the given unsigned percent value. 135 100% is fully transparent, 0 % is fully opaque. 136 */ 137 [property] short Transparency; 138 139 //------------------------------------------------------------------------- 140 /** This property selects the color mode that is used for rendering. 141 */ 142 [property] ColorMode GraphicColorMode; 143 144 //------------------------------------------------------------------------- 145 /** This property contains a image map for this graphic. 146 @see com::sun::star::image::ImageMap 147 */ 148 [optional, property] com::sun::star::container::XIndexContainer ImageMap; 149 150 //------------------------------------------------------------------------- 151 /** This is the graphic that represents this graphic shape 152 */ 153 [optional, property] com::sun::star::graphic::XGraphic Graphic; 154}; 155 156//============================================================================= 157 158}; }; }; }; 159 160#endif 161