Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / oovbaapi / ooo / vba / excel / XSheetObject.idl
blob13c58488b405d42b7b3565d599405b9ff6f062e8
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 .
20 /* Note: This is a compatibility interface for drawing objects and drawing
21 controls embedded in sheets. All these symbols are deprecated
22 in VBA and kept for compatibility with old VBA scripts. */
24 module ooo { module vba { module excel {
28 /** Base interface for graphic objects and drawing controls in a single sheet.
30 <p>The objects supporting this interface are now deprecated in VBA in
31 favour of the Shapes and OLEObjects collections, but are kept for
32 compatibility with old VBA scripts. All form control objects do NOT belong
33 to ActiveX form controls but to the old-style drawing controls.</p>
35 interface XSheetObject : ooo::vba::XHelperInterface
37 /** Left coordinate of the drawing object, in points. */
38 [attribute] double Left;
40 /** Top coordinate of the drawing object, in points. */
41 [attribute] double Top;
43 /** Width of the drawing object, in points. */
44 [attribute] double Width;
46 /** Height of the drawing object, in points. */
47 [attribute] double Height;
49 /** The name of the drawing object, used as collection key. */
50 [attribute] string Name;
52 /** Name of a macro that will be executed when the drawing object is clicked. */
53 [attribute] string OnAction;
55 /** Anchor mode of the object (fixed or variable position and size). Must
56 be a value from ooo::vba::excel::XlPlacement. */
57 [attribute] long Placement;
59 /** True = print object, false = skip object on printing. */
60 [attribute] boolean PrintObject;
65 }; }; };
67 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */