xref: /aoo42x/main/oovbaapi/ooo/vba/msforms/XShape.idl (revision 41b4bf98)
1*41b4bf98SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*41b4bf98SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*41b4bf98SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*41b4bf98SAndrew Rist * distributed with this work for additional information
6*41b4bf98SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*41b4bf98SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*41b4bf98SAndrew Rist * "License"); you may not use this file except in compliance
9*41b4bf98SAndrew Rist * with the License.  You may obtain a copy of the License at
10*41b4bf98SAndrew Rist *
11*41b4bf98SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*41b4bf98SAndrew Rist *
13*41b4bf98SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*41b4bf98SAndrew Rist * software distributed under the License is distributed on an
15*41b4bf98SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*41b4bf98SAndrew Rist * KIND, either express or implied.  See the License for the
17*41b4bf98SAndrew Rist * specific language governing permissions and limitations
18*41b4bf98SAndrew Rist * under the License.
19*41b4bf98SAndrew Rist *
20*41b4bf98SAndrew Rist *************************************************************/
21*41b4bf98SAndrew Rist
22*41b4bf98SAndrew Rist
23cdf0e10cSrcweir#ifndef __ooo_vba_msforms_XShape_idl__
24cdf0e10cSrcweir#define __ooo_vba_msforms_XShape_idl__
25cdf0e10cSrcweir
26cdf0e10cSrcweir#ifndef __ooo_vba_XHelperInterface_idl__
27cdf0e10cSrcweir#include <ooo/vba/XHelperInterface.idl>
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir
30cdf0e10cSrcweir#ifndef __ooo_vba_msforms_XLineFormat_idl__
31cdf0e10cSrcweir#include <ooo/vba/msforms/XLineFormat.idl>
32cdf0e10cSrcweir#endif
33cdf0e10cSrcweir
34cdf0e10cSrcweir#ifndef __ooo_vba_msforms_XFillFormat_idl__
35cdf0e10cSrcweir#include <ooo/vba/msforms/XFillFormat.idl>
36cdf0e10cSrcweir#endif
37cdf0e10cSrcweir
38cdf0e10cSrcweir#ifndef __ooo_vba_msforms_XPictureFormat_idl__
39cdf0e10cSrcweir#include <ooo/vba/msforms/XPictureFormat.idl>
40cdf0e10cSrcweir#endif
41cdf0e10cSrcweir
42cdf0e10cSrcweirmodule ooo {  module vba { module msforms {
43cdf0e10cSrcweirinterface XShapeRange;
44cdf0e10cSrcweirinterface XShape : ooo::vba::XHelperInterface
45cdf0e10cSrcweir{
46cdf0e10cSrcweir    [attribute] string Name;
47cdf0e10cSrcweir    [attribute] double Height;
48cdf0e10cSrcweir    [attribute] double Width;
49cdf0e10cSrcweir    [attribute] double Left;
50cdf0e10cSrcweir    [attribute] double Top;
51cdf0e10cSrcweir    [attribute] boolean Visible;
52cdf0e10cSrcweir    [attribute, readonly] long ZOrderPosition;
53cdf0e10cSrcweir    [attribute, readonly] long Type;
54cdf0e10cSrcweir    [attribute] double Rotation;
55cdf0e10cSrcweir    [attribute, readonly] XLineFormat Line;
56cdf0e10cSrcweir    [attribute, readonly] XFillFormat Fill;
57cdf0e10cSrcweir    [attribute, readonly] XPictureFormat PictureFormat;
58cdf0e10cSrcweir    [attribute] boolean LockAspectRatio;
59cdf0e10cSrcweir    [attribute] boolean LockAnchor;
60cdf0e10cSrcweir    [attribute] long RelativeHorizontalPosition;
61cdf0e10cSrcweir    [attribute] long RelativeVerticalPosition;
62cdf0e10cSrcweir
63cdf0e10cSrcweir    any TextFrame();
64cdf0e10cSrcweir    any WrapFormat();
65cdf0e10cSrcweir    void Delete();
66cdf0e10cSrcweir    void ZOrder( [in] long ZOrderCmd );
67cdf0e10cSrcweir    void IncrementRotation( [in] double Increment );
68cdf0e10cSrcweir    void IncrementLeft( [in] double Increment );
69cdf0e10cSrcweir    void IncrementTop( [in] double Increment );
70cdf0e10cSrcweir    void Select( [in]  /*Optional*/ any Replace );
71cdf0e10cSrcweir    void ScaleHeight( [in] double Factor, [in] boolean RelativeToOriginalSize, [in] long Scale );
72cdf0e10cSrcweir    void ScaleWidth( [in] double Factor, [in] boolean RelativeToOriginalSize, [in] long Scale );
73cdf0e10cSrcweir    any ShapeRange( [in] any index );  // only here for convience
74cdf0e10cSrcweir};
75cdf0e10cSrcweir}; }; };
76cdf0e10cSrcweir
77cdf0e10cSrcweir#endif
78