xref: /trunk/main/oovbaapi/ooo/vba/msforms/XShapes.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_XShapes_idl__
24cdf0e10cSrcweir#define __ooo_vba_msforms_XShapes_idl__
25cdf0e10cSrcweir
26cdf0e10cSrcweir#ifndef __ooo_vba_XHelperInterface_idl__
27cdf0e10cSrcweir#include <ooo/vba/XHelperInterface.idl>
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir#ifndef  __ooo_vba_XCollection_idl__
30cdf0e10cSrcweir#include <ooo/vba/XCollection.idl>
31cdf0e10cSrcweir#endif
32cdf0e10cSrcweirmodule ooo {  module vba { module msforms {
33cdf0e10cSrcweir
34cdf0e10cSrcweirinterface XShapeRange;
35cdf0e10cSrcweirinterface XShape;
36cdf0e10cSrcweir
37cdf0e10cSrcweirinterface XShapes
38cdf0e10cSrcweir{
39cdf0e10cSrcweir    interface ooo::vba::XCollection;
40cdf0e10cSrcweir    void SelectAll();
41cdf0e10cSrcweir    XShapeRange Range( [in] any shapes );
42cdf0e10cSrcweir    /*
43cdf0e10cSrcweir    helper::calc
44cdf0e10cSrcweir    */
45cdf0e10cSrcweir    any AddLine( [in] long StartX, [in] long StartY, [in] long endX, [in] long endY );
46cdf0e10cSrcweir    any AddShape([in] long ShapeType, [in] long StartX, [in] long StartY, [in] long endX, [in] long endY );
47cdf0e10cSrcweir    any AddTextbox([in] long Orientation, [in] long Left, [in] long Top, [in] long Width, [in] long Height );
48cdf0e10cSrcweir};
49cdf0e10cSrcweir}; }; };
50cdf0e10cSrcweir
51cdf0e10cSrcweir
52cdf0e10cSrcweir#endif
53