1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: XShape.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __ooo_vba_msforms_XShape_idl__
31 #define __ooo_vba_msforms_XShape_idl__
33 #ifndef __ooo_vba_XHelperInterface_idl__
34 #include
<ooo
/vba
/XHelperInterface.idl
>
37 #ifndef __ooo_vba_msforms_XLineFormat_idl__
38 #include
<ooo
/vba
/msforms
/XLineFormat.idl
>
41 #ifndef __ooo_vba_msforms_XFillFormat_idl__
42 #include
<ooo
/vba
/msforms
/XFillFormat.idl
>
45 #ifndef __ooo_vba_msforms_XPictureFormat_idl__
46 #include
<ooo
/vba
/msforms
/XPictureFormat.idl
>
49 module ooo
{ module vba
{ module msforms
{
50 interface XShapeRange
;
51 interface XShape
: ooo
::vba
::XHelperInterface
53 [attribute
] string Name
;
54 [attribute
] double Height
;
55 [attribute
] double Width
;
56 [attribute
] double Left
;
57 [attribute
] double Top
;
58 [attribute
] boolean Visible
;
59 [attribute
, readonly] long ZOrderPosition
;
60 [attribute
, readonly] long Type
;
61 [attribute
] double Rotation
;
62 [attribute
, readonly] XLineFormat Line
;
63 [attribute
, readonly] XFillFormat Fill
;
64 [attribute
, readonly] XPictureFormat PictureFormat
;
65 [attribute
] boolean LockAspectRatio
;
66 [attribute
] boolean LockAnchor
;
67 [attribute
] long RelativeHorizontalPosition
;
68 [attribute
] long RelativeVerticalPosition
;
73 void ZOrder
( [in] long ZOrderCmd
);
74 void IncrementRotation
( [in] double Increment
);
75 void IncrementLeft
( [in] double Increment
);
76 void IncrementTop
( [in] double Increment
);
77 void Select
( [in] /*Optional*/ any Replace
);
78 void ScaleHeight
( [in] double Factor
, [in] boolean RelativeToOriginalSize
, [in] long Scale
);
79 void ScaleWidth
( [in] double Factor
, [in] boolean RelativeToOriginalSize
, [in] long Scale
);
80 any ShapeRange
( [in] any index
); // only here for convience