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 #ifndef __ooo_vba_excel_XSheetObject_idl__
21 #define __ooo_vba_excel_XSheetObject_idl__
23 #include
<ooo
/vba
/XHelperInterface.idl
>
25 /* Note: This is a compatibility interface for drawing objects and drawing
26 controls embedded in sheets. All these symbols are deprecated
27 in VBA and kept for compatibility with old VBA scripts. */
29 module ooo
{ module vba
{ module excel
{
33 /** Base interface for graphic objects and drawing controls in a single sheet.
35 <p>The objects supporting this interface are now deprecated in VBA in
36 favour of the Shapes and OLEObjects collections, but are kept for
37 compatibility with old VBA scripts. All form control objects do NOT belong
38 to ActiveX form controls but to the old-style drawing controls.</p>
40 interface XSheetObject
: ooo
::vba
::XHelperInterface
42 /** Left coordinate of the drawing object, in points. */
43 [attribute
] double Left
;
45 /** Top coordinate of the drawing object, in points. */
46 [attribute
] double Top
;
48 /** Width of the drawing object, in points. */
49 [attribute
] double Width
;
51 /** Height of the drawing object, in points. */
52 [attribute
] double Height
;
54 /** The name of the drawing object, used as collection key. */
55 [attribute
] string Name
;
57 /** Name of a macro that will be executed when the drawing object is clicked. */
58 [attribute
] string OnAction
;
60 /** Anchor mode of the object (fixed or variable position and size). Must
61 be a value from ooo::vba::excel::XlPlacement. */
62 [attribute
] long Placement
;
64 /** True = print object, false = skip object on printing. */
65 [attribute
] boolean PrintObject
;
74 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */