1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
20 module ooo
{ module vba
{ module msforms
{
21 interface XShapeRange
;
22 interface XShape
: ooo
::vba
::XHelperInterface
24 [attribute
] string Name
;
25 [attribute
] string AlternativeText
;
26 [attribute
] double Height
;
27 [attribute
] double Width
;
28 [attribute
] double Left
;
29 [attribute
] double Top
;
30 [attribute
] boolean Visible
;
31 [attribute
, readonly] long ZOrderPosition
;
32 [attribute
, readonly] long Type
;
33 [attribute
] double Rotation
;
34 [attribute
, readonly] XLineFormat Line
;
35 [attribute
, readonly] XFillFormat Fill
;
36 [attribute
, readonly] XPictureFormat PictureFormat
;
37 [attribute
] boolean LockAspectRatio
;
38 [attribute
] boolean LockAnchor
;
39 [attribute
] long RelativeHorizontalPosition
;
40 [attribute
] long RelativeVerticalPosition
;
45 void ZOrder
( [in] long ZOrderCmd
);
46 void IncrementRotation
( [in] double Increment
);
47 void IncrementLeft
( [in] double Increment
);
48 void IncrementTop
( [in] double Increment
);
49 void Select
( [in] /*Optional*/ any Replace
);
50 void ScaleHeight
( [in] double Factor
, [in] boolean RelativeToOriginalSize
, [in] long Scale
);
51 void ScaleWidth
( [in] double Factor
, [in] boolean RelativeToOriginalSize
, [in] long Scale
);
52 any ShapeRange
( [in] any index
); // only here for convenience
56 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */