xref: /AOO41X/main/offapi/com/sun/star/drawing/XShapeGroup.idl (revision d1766043198e81d0bcfc626e12893e7b4d7e31ca)
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_XShapeGroup_idl__
24#define __com_sun_star_drawing_XShapeGroup_idl__
25
26#ifndef __com_sun_star_drawing_XShape_idl__
27#include <com/sun/star/drawing/XShape.idl>
28#endif
29
30
31//=============================================================================
32
33 module com {  module sun {  module star {  module drawing {
34
35//=============================================================================
36
37/** is implemented by <type>Shape</type>s that contain other
38    <type>Shape</type>s.
39
40    @deprecated
41 */
42published interface XShapeGroup: com::sun::star::drawing::XShape
43{
44    //-------------------------------------------------------------------------
45
46    // DocMerge from xml: method com::sun::star::drawing::XShapeGroup::enterGroup
47    /** enters the group which enables the editing function
48        for the parts of a grouped <type>Shape</type>. Then the parts can
49        be edited instead of the group as a whole.
50
51
52
53        <p>This affects only the user interface. The behavior is not
54        specified if this instance is not visible on any view. In this case
55        it may or may not work.</p>
56     */
57    void enterGroup();
58
59    //-------------------------------------------------------------------------
60
61    // DocMerge from xml: method com::sun::star::drawing::XShapeGroup::leaveGroup
62    /** leaves the group, which disables the editing function
63        for the parts of a grouped <type>Shape</type>. Then only the
64        group as a whole can be edited.
65
66
67
68        <p>This affects only the user interface. The behavior is not
69        specified if this instance is not visible on any view. In this case
70        it may or may not work.</p>
71     */
72    void leaveGroup();
73
74};
75
76//=============================================================================
77
78}; }; }; };
79
80#endif
81
82