1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
27 #ifndef __com_sun_star_text_TextGraphicObject_idl__
28 #define __com_sun_star_text_TextGraphicObject_idl__
30 #ifndef __com_sun_star_text_BaseFrame_idl__
31 #include
<com
/sun
/star
/text
/BaseFrame.idl
>
34 #ifndef __com_sun_star_text_GraphicCrop_idl__
35 #include
<com
/sun
/star
/text
/GraphicCrop.idl
>
38 #ifndef __com_sun_star_drawing_PointSequenceSequence_idl__
39 #include
<com
/sun
/star
/drawing
/PointSequenceSequence.idl
>
41 #ifndef __com_sun_star_drawing_ColorMode_idl__
42 #include
<com
/sun
/star
/drawing
/ColorMode.idl
>
44 #ifndef __com_sun_star_container_XIndexContainer_idl__
45 #include
<com
/sun
/star
/container
/XIndexContainer.idl
>
47 #ifndef __com_sun_star_graphic_XGraphic_idl__
48 #include
<com
/sun
/star
/graphic
/XGraphic.idl
>
51 //=============================================================================
53 module com
{ module sun
{ module star
{ module text
{
55 //=============================================================================
57 /** specifies a graphic which can be embedded in <type>Text</type>.
59 published service TextGraphicObject
61 /** contains the definition of interfaces and properties that are supported by text frames,
62 graphic objects and embeddedobjects.
65 //-------------------------------------------------------------------------
66 /** returns the client-side image map if one is assigned to the object.
68 [property
] com
::sun
::star
::container
::XIndexContainer ImageMap
;
70 //-------------------------------------------------------------------------
72 /** determines if the content is protected against changes from the user interface.
74 [property
] boolean ContentProtected
;
76 //-------------------------------------------------------------------------
78 /** determines if the text wraps around the contour of the object.
80 [property
] boolean SurroundContour
;
81 //-------------------------------------------------------------------------
83 /** the text flows only around the contour of the object.
85 [property
] boolean ContourOutside
;
86 //-------------------------------------------------------------------------
87 /** contains the contour of the object as PolyPolygon.
89 [optional, property
] com
::sun
::star
::drawing
::PointSequenceSequence ContourPolyPolygon
;
90 //-------------------------------------------------------------------------
91 //-------------------------------------------------------------------------
93 /** contains the cropping of the object.@see GraphicCrop
95 [property
] com
::sun
::star
::text
::GraphicCrop GraphicCrop
;
97 //-------------------------------------------------------------------------
98 /** determines if the object is horizontally mirrored on even pages.
100 [property
] boolean HoriMirroredOnEvenPages
;
101 //-------------------------------------------------------------------------
102 /** determines if the object is horizontally mirrored on odd pages.
104 [property
] boolean HoriMirroredOnOddPages
;
105 //-------------------------------------------------------------------------
106 //-------------------------------------------------------------------------
107 /** determines if the object is mirrored vertically.
109 [property
] boolean VertMirrored
;
111 /** contains the URL of the background graphic of the object
113 [property
] string GraphicURL
;
115 //-------------------------------------------------------------------------
117 /** contains the name of the filter of the background graphic of the object.
119 [property
] string GraphicFilter
;
121 //-------------------------------------------------------------------------
122 /** contains the original size of the bitmap in the graphic object.
124 [property
] com
::sun
::star
::awt
::Size ActualSize
;
125 //-------------------------------------------------------------------------
126 /** changes the display of the luminance.
127 It contains percentage values between -100 and +100.
129 [property
] short AdjustLuminance
;
130 //-------------------------------------------------------------------------
131 /** changes the display of contrast.
132 It contains percentage values between -100 and +100.
134 [property
] short AdjustContrast
;
135 //-------------------------------------------------------------------------
136 /** changes the display of the red color channel.
137 It contains percentage values between -100 and +100.
139 [property
] short AdjustRed
;
140 //-------------------------------------------------------------------------
141 /** changes the display of the green color channel.
142 It contains percentage values between -100 and +100.
144 [property
] short AdjustGreen
;
145 //-------------------------------------------------------------------------
146 /** changes the display of the blue color channel.
147 It contains percentage values between -100 and +100.
149 [property
] short AdjustBlue
;
150 //-------------------------------------------------------------------------
151 /** determins the gamma value of the graphic.
153 [property
] double Gamma
;
154 //-------------------------------------------------------------------------
155 /** determins if the graphic is display in inverted colors.
156 It contains percentage values between -100 and +100.
158 [property
] boolean GraphicIsInverted
;
159 //-------------------------------------------------------------------------
161 It contains percentage values between -100 and +100.
163 [property
] short Transparency
;
164 //-------------------------------------------------------------------------
165 /** contains the ColorMode as <type scope="com::sun::star::drawing">ColorMode</type>.
167 [property
] com
::sun
::star
::drawing
::ColorMode GraphicColorMode
;
168 //-------------------------------------------------------------------------
169 /** contains the graphic.
171 [optional, property
] com
::sun
::star
::graphic
::XGraphic Graphic
;
175 //=============================================================================