1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#ifndef __com_sun_star_drawing_GraphicObjectShape_idl__ 24#define __com_sun_star_drawing_GraphicObjectShape_idl__ 25 26#ifndef __com_sun_star_drawing_Shape_idl__ 27#include <com/sun/star/drawing/Shape.idl> 28#endif 29 30#ifndef __com_sun_star_drawing_Text_idl__ 31#include <com/sun/star/drawing/Text.idl> 32#endif 33 34#ifndef __com_sun_star_drawing_ShadowProperties_idl__ 35#include <com/sun/star/drawing/ShadowProperties.idl> 36#endif 37 38#ifndef __com_sun_star_drawing_RotationDescriptor_idl__ 39#include <com/sun/star/drawing/RotationDescriptor.idl> 40#endif 41 42#ifndef __com_sun_star_awt_XBitmap_idl__ 43#include <com/sun/star/awt/XBitmap.idl> 44#endif 45 46#ifndef com_sun_star_graphic_XGraphic_idl 47#include <com/sun/star/graphic/XGraphic.idl> 48#endif 49 50#ifndef __com_sun_star_drawing_ColorMode_idl__ 51#include <com/sun/star/drawing/ColorMode.idl> 52#endif 53 54#ifndef __com_sun_star_container_XIndexContainer_idl__ 55#include <com/sun/star/container/XIndexContainer.idl> 56#endif 57 58//============================================================================= 59 60 module com { module sun { module star { module drawing { 61 62//============================================================================= 63 64/** This service is for a graphic shape. 65 */ 66published service GraphicObjectShape 67{ 68 service com::sun::star::drawing::Shape; 69 70 service com::sun::star::drawing::Text; 71 72 service com::sun::star::drawing::ShadowProperties; 73 74 service com::sun::star::drawing::RotationDescriptor; 75 76 //------------------------------------------------------------------------- 77 /** This is an url to the source bitmap for this graphic shape. 78 */ 79 [property] string GraphicURL; 80 81 //------------------------------------------------------------------------- 82 /** This is an url to the stream ('in document' or linked graphic) for this graphic shape. 83 */ 84 [property] string GraphicStreamURL; 85 86 //------------------------------------------------------------------------- 87 /** Deprecated. Use graphic property instead! 88 This is the bitmap that represents this graphic shape. 89 */ 90 [optional, property] com::sun::star::awt::XBitmap GraphicObjectFillBitmap; 91 92 //------------------------------------------------------------------------- 93 /** If this property is set, the luminance of this graphic shape is adjusted 94 by the given signed percent value. 95 */ 96 [property] short AdjustLuminance; 97 98 //------------------------------------------------------------------------- 99 /** If this property is set, the contrast of this graphic shape is adjusted 100 by the given signed percent value. 101 */ 102 [property] short AdjustContrast; 103 104 //------------------------------------------------------------------------- 105 /** If this property is set, the red channel of this graphic shape is 106 adjusted by the given signed percent value. 107 */ 108 [property] short AdjustRed; 109 110 //------------------------------------------------------------------------- 111 /** If this property is set, the green channel of this graphic shape is 112 adjusted by the given signed percent value. 113 */ 114 [property] short AdjustGreen; 115 116 //------------------------------------------------------------------------- 117 /** If this property is set, the blue channel of this graphic shape is 118 adjusted by the given signed percent value. 119 */ 120 [property] short AdjustBlue; 121 122 //------------------------------------------------------------------------- 123 /** If this property is set, the gama value of this graphic shape is 124 adjusted by the given value. 125 */ 126 [property] double Gamma; 127 128 //------------------------------------------------------------------------- 129 /** If this property is set, the transparency value of this graphic shape is 130 adjusted by the given unsigned percent value. 131 100% is fully transparent, 0 % is fully opaque. 132 */ 133 [property] short Transparency; 134 135 //------------------------------------------------------------------------- 136 /** This property selects the color mode that is used for rendering. 137 */ 138 [property] ColorMode GraphicColorMode; 139 140 //------------------------------------------------------------------------- 141 /** This property contains a image map for this graphic. 142 @see com::sun::star::image::ImageMap 143 */ 144 [optional, property] com::sun::star::container::XIndexContainer ImageMap; 145 146 //------------------------------------------------------------------------- 147 /** This is the graphic that represents this graphic shape 148 */ 149 [optional, property] com::sun::star::graphic::XGraphic Graphic; 150}; 151 152//============================================================================= 153 154}; }; }; }; 155 156#endif 157