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 __ooo_vba_msforms_XShape_idl__ 24#define __ooo_vba_msforms_XShape_idl__ 25 26#ifndef __ooo_vba_XHelperInterface_idl__ 27#include <ooo/vba/XHelperInterface.idl> 28#endif 29 30#ifndef __ooo_vba_msforms_XLineFormat_idl__ 31#include <ooo/vba/msforms/XLineFormat.idl> 32#endif 33 34#ifndef __ooo_vba_msforms_XFillFormat_idl__ 35#include <ooo/vba/msforms/XFillFormat.idl> 36#endif 37 38#ifndef __ooo_vba_msforms_XPictureFormat_idl__ 39#include <ooo/vba/msforms/XPictureFormat.idl> 40#endif 41 42module ooo { module vba { module msforms { 43interface XShapeRange; 44interface XShape : ooo::vba::XHelperInterface 45{ 46 [attribute] string Name; 47 [attribute] double Height; 48 [attribute] double Width; 49 [attribute] double Left; 50 [attribute] double Top; 51 [attribute] boolean Visible; 52 [attribute, readonly] long ZOrderPosition; 53 [attribute, readonly] long Type; 54 [attribute] double Rotation; 55 [attribute, readonly] XLineFormat Line; 56 [attribute, readonly] XFillFormat Fill; 57 [attribute, readonly] XPictureFormat PictureFormat; 58 [attribute] boolean LockAspectRatio; 59 [attribute] boolean LockAnchor; 60 [attribute] long RelativeHorizontalPosition; 61 [attribute] long RelativeVerticalPosition; 62 63 any TextFrame(); 64 any WrapFormat(); 65 void Delete(); 66 void ZOrder( [in] long ZOrderCmd ); 67 void IncrementRotation( [in] double Increment ); 68 void IncrementLeft( [in] double Increment ); 69 void IncrementTop( [in] double Increment ); 70 void Select( [in] /*Optional*/ any Replace ); 71 void ScaleHeight( [in] double Factor, [in] boolean RelativeToOriginalSize, [in] long Scale ); 72 void ScaleWidth( [in] double Factor, [in] boolean RelativeToOriginalSize, [in] long Scale ); 73 any ShapeRange( [in] any index ); // only here for convience 74}; 75}; }; }; 76 77#endif 78