xref: /aoo41x/main/offapi/com/sun/star/report/XShape.idl (revision d1766043)
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_report_XShape_idl__
24#define __com_sun_star_report_XShape_idl__
25
26#ifndef __com_sun_star_report_XReportControlModel_idl__
27#include <com/sun/star/report/XReportControlModel.idl>
28#endif
29#ifndef __com_sun_star_beans_PropertyValue_idl__
30#include <com/sun/star/beans/PropertyValue.idl>
31#endif
32#ifndef __com_sun_star_drawing_XShape_idl__
33#include <com/sun/star/drawing/XShape.idl>
34#endif
35#ifndef __com_sun_star_drawing_HomogenMatrix3_idl__
36#include <com/sun/star/drawing/HomogenMatrix3.idl>
37#endif
38//=============================================================================
39
40 module com {  module sun {  module star {  module report {
41
42//=============================================================================
43published interface XShape
44{
45    interface XReportControlModel;
46
47    /** is used to query or change the ZOrder of this <type>Shape</type>. */
48    [attribute,bound] long ZOrder;
49
50    /** this property lets you get and set the transformation matrix
51        for this shape.
52
53        The transformation is a 3x3 homogen matrix and can contain
54        translation, rotation, shearing and scaling.
55     */
56    [attribute,bound] com::sun::star::drawing::HomogenMatrix3 Transformation;
57
58    //-------------------------------------------------------------------------
59    /** This property contains the CustomShapeEngine service name that has to
60        be used for rendering.
61    */
62    [attribute] string CustomShapeEngine;
63
64    //-------------------------------------------------------------------------
65    /** This property can be used to store data that the CustomShapeEngine may
66        use for rendering
67    */
68    [attribute] string CustomShapeData;
69
70    /** This property describes the geometry of the CustomShape. The CustomShapeEngine
71        that is used should be able to get on with the content of this property.
72
73        If the CustomShapeEngine property is "com.sun.star.drawing.EnhancedCustomShapeEngine",
74        then this property is containing properties as they are specified in the service
75        com.sun.star.drawing.EnhancedCustomShapeGeometry
76    */
77    [attribute,bound] sequence<::com::sun::star::beans::PropertyValue> CustomShapeGeometry;
78
79    /** determines if the object is opaque or transparent for text.
80     */
81    [attribute,bound] boolean Opaque;
82};
83
84service Shape : XShape;
85//=============================================================================
86
87}; }; }; };
88
89/*=============================================================================
90
91=============================================================================*/
92#endif
93