tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / offapi / com / sun / star / drawing / Shape.idl
blob0dc5e397ac93a492b5e579bb92255790cdaacb41
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 module com { module sun { module star { module drawing {
23 /** This abstract service specifies the general characteristics of all
24 Shapes.
26 @see XShape
27 @see com::sun::star::lang::XComponent
28 @see com::sun::star::text::XText
29 @see ShapeDescriptor
31 published service Shape
34 /** handles all the properties of this instance.
36 interface com::sun::star::beans::XPropertySet;
39 /** This gives you the size and position of this Shape
40 and lets you change it. You can use getShapeType()
41 to determine what kind of shape this is.
43 interface com::sun::star::drawing::XShape;
46 /** is used for lifetime control of this Shape.
48 interface com::sun::star::lang::XComponent;
51 /** The XShapeDescriptor tells you what kind of
52 Shape this instance is.
54 interface com::sun::star::drawing::XShapeDescriptor;
57 /** This interfaces gives access to an optional container of gluepoints.
58 To have unique ids you should query the returned interface for
59 com::sun::star::container::XIdentifierContainer.
61 [optional] interface com::sun::star::drawing::XGluePointsSupplier;
64 [optional] interface com::sun::star::beans::XTolerantMultiPropertySet;
67 /** is used to query or change the ZOrder of this Shape. */
68 [optional, property] long ZOrder;
71 /** This is the ID of the Layer to which this
72 Shape is attached.
74 [optional, property] short LayerID;
77 /** This is the name of the Layer to which this
78 Shape is attached.
80 [optional, property] string LayerName;
83 /** If this is `FALSE`, the Shape is not visible
84 on screen outputs. Please note that the Shape may still
85 be visible when printed, see #Printable.
87 [optional, property] boolean Visible;
90 /** If this is `FALSE`, the Shape is not visible
91 on printer outputs.
93 [optional, property] boolean Printable;
96 /** With this set to `TRUE`, this Shape
97 cannot be moved interactively in the user interface.
99 [optional, property] boolean MoveProtect;
102 /** This is the name of this Shape.
104 [optional, property] string Name;
107 /** With this set to `TRUE`, this Shape may not be
108 sized interactively in the user interface.
110 [optional, property] boolean SizeProtect;
113 /** this property lets you get and set a style for this shape.
115 [optional, property] com::sun::star::style::XStyle Style;
118 /** this property lets you get and set the transformation matrix
119 for this shape.
121 The transformation is a 3x3 homogeneous matrix and can contain
122 translation, rotation, shearing and scaling.
124 [optional, property] com::sun::star::drawing::HomogenMatrix3 Transformation;
127 /** this property stores xml attributes.
128 They will be saved to and restored from automatic styles inside xml files.
130 @see com::sun::star::xml::AttributeContainer
132 [optional, property] com::sun::star::container::XNameContainer ShapeUserDefinedAttributes;
135 /** this property stores the navigation order of this shape. If this value
136 is negative, the navigation order for this shapes page is equal to
137 the z-order.
139 [optional, property] long NavigationOrder;
141 /** this property lets you get and set a hyperlink for this shape.
143 [optional, property] string Hyperlink;
145 /** Grab bag of shape properties, used as a string-any map for
146 interim interop purposes.
148 @since LibreOffice 4.2
150 <p>This property is intentionally not handled by the ODF
151 filter. Any member that should be handled there should be
152 first moved out from this grab bag to a separate property.</p>
154 [optional, property] sequence<com::sun::star::beans::PropertyValue> InteropGrabBag;
156 /** contains the relative height of the object.
157 <p> It is only valid if it is greater than zero.</p>
159 @since LibreOffice 4.3
161 [optional, property] short RelativeHeight;
163 /** contains the relative width of the object.
164 <p> It is only valid if it is greater than zero. </p>
166 @since LibreOffice 4.3
168 [optional, property] short RelativeWidth;
170 /** contains the relation of the relative height of the object.
171 <p> It is only valid if RelativeHeight is greater than zero.</p>
173 @see com::sun::star::text::RelOrientation
174 @since LibreOffice 4.3
176 [optional, property] short RelativeHeightRelation;
178 /** contains the relation of the relative width of the object.
179 <p> It is only valid if RelativeWidth is greater than zero.</p>
181 @see com::sun::star::text::RelOrientation
182 @since LibreOffice 4.3
184 [optional, property] short RelativeWidthRelation;
186 /** contains short title for the object
188 <p>This short title is visible as an alternative tag in HTML format.
189 Accessibility tools can read this text.</p>
191 @since OOo 2.2
193 [optional, property] string Title;
195 /** contains description for the object
197 <p>The long description text can be entered to describe an object in
198 more detail to users with screen reader software. The description is
199 visible as an alternative tag for accessibility tools.</p>
201 @since OOo 2.2
203 [optional, property] string Description;
205 /** Determines if the shape is purely decorative.
207 If `TRUE`, it is considered not part of the document content,
208 and may be ignored by assistive technologies.
210 @since LibreOffice 7.6
212 [optional, property] boolean Decorative;
217 }; }; }; };
219 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */