1*d1766043SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*d1766043SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*d1766043SAndrew Rist * distributed with this work for additional information 6*d1766043SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*d1766043SAndrew Rist * "License"); you may not use this file except in compliance 9*d1766043SAndrew Rist * with the License. You may obtain a copy of the License at 10*d1766043SAndrew Rist * 11*d1766043SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*d1766043SAndrew Rist * 13*d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*d1766043SAndrew Rist * software distributed under the License is distributed on an 15*d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*d1766043SAndrew Rist * KIND, either express or implied. See the License for the 17*d1766043SAndrew Rist * specific language governing permissions and limitations 18*d1766043SAndrew Rist * under the License. 19*d1766043SAndrew Rist * 20*d1766043SAndrew Rist *************************************************************/ 21*d1766043SAndrew Rist 22*d1766043SAndrew Rist 23cdf0e10cSrcweir#ifndef __com_sun_star_text_TextGraphicObject_idl__ 24cdf0e10cSrcweir#define __com_sun_star_text_TextGraphicObject_idl__ 25cdf0e10cSrcweir 26cdf0e10cSrcweir#ifndef __com_sun_star_text_BaseFrame_idl__ 27cdf0e10cSrcweir#include <com/sun/star/text/BaseFrame.idl> 28cdf0e10cSrcweir#endif 29cdf0e10cSrcweir 30cdf0e10cSrcweir#ifndef __com_sun_star_text_GraphicCrop_idl__ 31cdf0e10cSrcweir#include <com/sun/star/text/GraphicCrop.idl> 32cdf0e10cSrcweir#endif 33cdf0e10cSrcweir 34cdf0e10cSrcweir#ifndef __com_sun_star_drawing_PointSequenceSequence_idl__ 35cdf0e10cSrcweir#include <com/sun/star/drawing/PointSequenceSequence.idl> 36cdf0e10cSrcweir#endif 37cdf0e10cSrcweir#ifndef __com_sun_star_drawing_ColorMode_idl__ 38cdf0e10cSrcweir#include <com/sun/star/drawing/ColorMode.idl> 39cdf0e10cSrcweir#endif 40cdf0e10cSrcweir#ifndef __com_sun_star_container_XIndexContainer_idl__ 41cdf0e10cSrcweir#include <com/sun/star/container/XIndexContainer.idl> 42cdf0e10cSrcweir#endif 43cdf0e10cSrcweir#ifndef __com_sun_star_graphic_XGraphic_idl__ 44cdf0e10cSrcweir#include <com/sun/star/graphic/XGraphic.idl> 45cdf0e10cSrcweir#endif 46cdf0e10cSrcweir 47cdf0e10cSrcweir//============================================================================= 48cdf0e10cSrcweir 49cdf0e10cSrcweir module com { module sun { module star { module text { 50cdf0e10cSrcweir 51cdf0e10cSrcweir//============================================================================= 52cdf0e10cSrcweir 53cdf0e10cSrcweir/** specifies a graphic which can be embedded in <type>Text</type>. 54cdf0e10cSrcweir */ 55cdf0e10cSrcweirpublished service TextGraphicObject 56cdf0e10cSrcweir{ 57cdf0e10cSrcweir /** contains the definition of interfaces and properties that are supported by text frames, 58cdf0e10cSrcweir graphic objects and embeddedobjects. 59cdf0e10cSrcweir */ 60cdf0e10cSrcweir service BaseFrame; 61cdf0e10cSrcweir //------------------------------------------------------------------------- 62cdf0e10cSrcweir /** returns the client-side image map if one is assigned to the object. 63cdf0e10cSrcweir */ 64cdf0e10cSrcweir [property] com::sun::star::container::XIndexContainer ImageMap; 65cdf0e10cSrcweir 66cdf0e10cSrcweir //------------------------------------------------------------------------- 67cdf0e10cSrcweir 68cdf0e10cSrcweir /** determines if the content is protected against changes from the user interface. 69cdf0e10cSrcweir */ 70cdf0e10cSrcweir [property] boolean ContentProtected; 71cdf0e10cSrcweir 72cdf0e10cSrcweir //------------------------------------------------------------------------- 73cdf0e10cSrcweir 74cdf0e10cSrcweir /** determines if the text wraps around the contour of the object. 75cdf0e10cSrcweir */ 76cdf0e10cSrcweir [property] boolean SurroundContour; 77cdf0e10cSrcweir //------------------------------------------------------------------------- 78cdf0e10cSrcweir 79cdf0e10cSrcweir /** the text flows only around the contour of the object. 80cdf0e10cSrcweir */ 81cdf0e10cSrcweir [property] boolean ContourOutside; 82cdf0e10cSrcweir //------------------------------------------------------------------------- 83cdf0e10cSrcweir /** contains the contour of the object as PolyPolygon. 84cdf0e10cSrcweir */ 85cdf0e10cSrcweir [optional, property] com::sun::star::drawing::PointSequenceSequence ContourPolyPolygon; 86cdf0e10cSrcweir //------------------------------------------------------------------------- 87cdf0e10cSrcweir //------------------------------------------------------------------------- 88cdf0e10cSrcweir 89cdf0e10cSrcweir /** contains the cropping of the object.@see GraphicCrop 90cdf0e10cSrcweir */ 91cdf0e10cSrcweir [property] com::sun::star::text::GraphicCrop GraphicCrop; 92cdf0e10cSrcweir 93cdf0e10cSrcweir //------------------------------------------------------------------------- 94cdf0e10cSrcweir /** determines if the object is horizontally mirrored on even pages. 95cdf0e10cSrcweir */ 96cdf0e10cSrcweir [property] boolean HoriMirroredOnEvenPages; 97cdf0e10cSrcweir //------------------------------------------------------------------------- 98cdf0e10cSrcweir /** determines if the object is horizontally mirrored on odd pages. 99cdf0e10cSrcweir */ 100cdf0e10cSrcweir [property] boolean HoriMirroredOnOddPages; 101cdf0e10cSrcweir //------------------------------------------------------------------------- 102cdf0e10cSrcweir //------------------------------------------------------------------------- 103cdf0e10cSrcweir /** determines if the object is mirrored vertically. 104cdf0e10cSrcweir */ 105cdf0e10cSrcweir [property] boolean VertMirrored; 106cdf0e10cSrcweir 107cdf0e10cSrcweir /** contains the URL of the background graphic of the object 108cdf0e10cSrcweir */ 109cdf0e10cSrcweir [property] string GraphicURL; 110cdf0e10cSrcweir 111cdf0e10cSrcweir //------------------------------------------------------------------------- 112cdf0e10cSrcweir 113cdf0e10cSrcweir /** contains the name of the filter of the background graphic of the object. 114cdf0e10cSrcweir */ 115cdf0e10cSrcweir [property] string GraphicFilter; 116cdf0e10cSrcweir 117cdf0e10cSrcweir //------------------------------------------------------------------------- 118cdf0e10cSrcweir /** contains the original size of the bitmap in the graphic object. 119cdf0e10cSrcweir */ 120cdf0e10cSrcweir [property] com::sun::star::awt::Size ActualSize; 121cdf0e10cSrcweir //------------------------------------------------------------------------- 122cdf0e10cSrcweir /** changes the display of the luminance. 123cdf0e10cSrcweir It contains percentage values between -100 and +100. 124cdf0e10cSrcweir */ 125cdf0e10cSrcweir [property] short AdjustLuminance; 126cdf0e10cSrcweir //------------------------------------------------------------------------- 127cdf0e10cSrcweir /** changes the display of contrast. 128cdf0e10cSrcweir It contains percentage values between -100 and +100. 129cdf0e10cSrcweir */ 130cdf0e10cSrcweir [property] short AdjustContrast; 131cdf0e10cSrcweir //------------------------------------------------------------------------- 132cdf0e10cSrcweir /** changes the display of the red color channel. 133cdf0e10cSrcweir It contains percentage values between -100 and +100. 134cdf0e10cSrcweir */ 135cdf0e10cSrcweir [property] short AdjustRed; 136cdf0e10cSrcweir //------------------------------------------------------------------------- 137cdf0e10cSrcweir /** changes the display of the green color channel. 138cdf0e10cSrcweir It contains percentage values between -100 and +100. 139cdf0e10cSrcweir */ 140cdf0e10cSrcweir [property] short AdjustGreen; 141cdf0e10cSrcweir //------------------------------------------------------------------------- 142cdf0e10cSrcweir /** changes the display of the blue color channel. 143cdf0e10cSrcweir It contains percentage values between -100 and +100. 144cdf0e10cSrcweir */ 145cdf0e10cSrcweir [property] short AdjustBlue; 146cdf0e10cSrcweir //------------------------------------------------------------------------- 147cdf0e10cSrcweir /** determins the gamma value of the graphic. 148cdf0e10cSrcweir */ 149cdf0e10cSrcweir [property] double Gamma; 150cdf0e10cSrcweir //------------------------------------------------------------------------- 151cdf0e10cSrcweir /** determins if the graphic is display in inverted colors. 152cdf0e10cSrcweir It contains percentage values between -100 and +100. 153cdf0e10cSrcweir */ 154cdf0e10cSrcweir [property] boolean GraphicIsInverted; 155cdf0e10cSrcweir //------------------------------------------------------------------------- 156cdf0e10cSrcweir /** . 157cdf0e10cSrcweir It contains percentage values between -100 and +100. 158cdf0e10cSrcweir */ 159cdf0e10cSrcweir [property] short Transparency; 160cdf0e10cSrcweir //------------------------------------------------------------------------- 161cdf0e10cSrcweir /** contains the ColorMode as <type scope="com::sun::star::drawing">ColorMode</type>. 162cdf0e10cSrcweir */ 163cdf0e10cSrcweir [property] com::sun::star::drawing::ColorMode GraphicColorMode; 164cdf0e10cSrcweir //------------------------------------------------------------------------- 165cdf0e10cSrcweir /** contains the graphic. 166cdf0e10cSrcweir */ 167cdf0e10cSrcweir [optional, property] com::sun::star::graphic::XGraphic Graphic; 168cdf0e10cSrcweir 169cdf0e10cSrcweir}; 170cdf0e10cSrcweir 171cdf0e10cSrcweir//============================================================================= 172cdf0e10cSrcweir 173cdf0e10cSrcweir}; }; }; }; 174cdf0e10cSrcweir 175cdf0e10cSrcweir#endif 176