2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 #ifndef __ooo_vba_msforms_XShape_idl__
19 #define __ooo_vba_msforms_XShape_idl__
21 #include
<ooo
/vba
/XHelperInterface.idl
>
22 #include
<ooo
/vba
/msforms
/XLineFormat.idl
>
23 #include
<ooo
/vba
/msforms
/XFillFormat.idl
>
24 #include
<ooo
/vba
/msforms
/XPictureFormat.idl
>
26 module ooo
{ module vba
{ module msforms
{
27 interface XShapeRange
;
28 interface XShape
: ooo
::vba
::XHelperInterface
30 [attribute
] string Name
;
31 [attribute
] string AlternativeText
;
32 [attribute
] double Height
;
33 [attribute
] double Width
;
34 [attribute
] double Left
;
35 [attribute
] double Top
;
36 [attribute
] boolean Visible
;
37 [attribute
, readonly] long ZOrderPosition
;
38 [attribute
, readonly] long Type
;
39 [attribute
] double Rotation
;
40 [attribute
, readonly] XLineFormat Line
;
41 [attribute
, readonly] XFillFormat Fill
;
42 [attribute
, readonly] XPictureFormat PictureFormat
;
43 [attribute
] boolean LockAspectRatio
;
44 [attribute
] boolean LockAnchor
;
45 [attribute
] long RelativeHorizontalPosition
;
46 [attribute
] long RelativeVerticalPosition
;
51 void ZOrder
( [in] long ZOrderCmd
);
52 void IncrementRotation
( [in] double Increment
);
53 void IncrementLeft
( [in] double Increment
);
54 void IncrementTop
( [in] double Increment
);
55 void Select
( [in] /*Optional*/ any Replace
);
56 void ScaleHeight
( [in] double Factor
, [in] boolean RelativeToOriginalSize
, [in] long Scale
);
57 void ScaleWidth
( [in] double Factor
, [in] boolean RelativeToOriginalSize
, [in] long Scale
);
58 any ShapeRange
( [in] any index
); // only here for convience