lok: vcl: fix multiple floatwin removal case more robustly.
[LibreOffice.git] / oovbaapi / ooo / vba / msforms / XShape.idl
blob1337645798ae40fecad2aa4e53865c30168156a4
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 .
19 #ifndef __ooo_vba_msforms_XShape_idl__
20 #define __ooo_vba_msforms_XShape_idl__
22 #include <ooo/vba/XHelperInterface.idl>
23 #include <ooo/vba/msforms/XLineFormat.idl>
24 #include <ooo/vba/msforms/XFillFormat.idl>
25 #include <ooo/vba/msforms/XPictureFormat.idl>
27 module ooo { module vba { module msforms {
28 interface XShapeRange;
29 interface XShape : ooo::vba::XHelperInterface
31 [attribute] string Name;
32 [attribute] string AlternativeText;
33 [attribute] double Height;
34 [attribute] double Width;
35 [attribute] double Left;
36 [attribute] double Top;
37 [attribute] boolean Visible;
38 [attribute, readonly] long ZOrderPosition;
39 [attribute, readonly] long Type;
40 [attribute] double Rotation;
41 [attribute, readonly] XLineFormat Line;
42 [attribute, readonly] XFillFormat Fill;
43 [attribute, readonly] XPictureFormat PictureFormat;
44 [attribute] boolean LockAspectRatio;
45 [attribute] boolean LockAnchor;
46 [attribute] long RelativeHorizontalPosition;
47 [attribute] long RelativeVerticalPosition;
49 any TextFrame();
50 any WrapFormat();
51 void Delete();
52 void ZOrder( [in] long ZOrderCmd );
53 void IncrementRotation( [in] double Increment );
54 void IncrementLeft( [in] double Increment );
55 void IncrementTop( [in] double Increment );
56 void Select( [in] /*Optional*/ any Replace );
57 void ScaleHeight( [in] double Factor, [in] boolean RelativeToOriginalSize, [in] long Scale );
58 void ScaleWidth( [in] double Factor, [in] boolean RelativeToOriginalSize, [in] long Scale );
59 any ShapeRange( [in] any index ); // only here for convenience
61 }; }; };
63 #endif
65 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */