| 1 |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
| 2 |
/* |
| 3 |
* This file is part of the LibreOffice project. |
| 4 |
* |
| 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/. |
| 8 |
* |
| 9 |
* This file incorporates work covered by the following license notice: |
| 10 |
* |
| 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 . |
| 18 |
*/ |
| 19 |
|
| 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. */ |
| 23 |
|
| 24 |
module ooo { module vba { module excel { |
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
/** Base interface for graphic objects and drawing controls in a single sheet. |
| 29 |
|
| 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> |
| 34 |
*/ |
| 35 |
interface XSheetObject : ooo::vba::XHelperInterface |
| 36 |
{ |
| 37 |
/** Left coordinate of the drawing object, in points. */ |
| 38 |
[attribute] double Left; |
| 39 |
|
| 40 |
/** Top coordinate of the drawing object, in points. */ |
| 41 |
[attribute] double Top; |
| 42 |
|
| 43 |
/** Width of the drawing object, in points. */ |
| 44 |
[attribute] double Width; |
| 45 |
|
| 46 |
/** Height of the drawing object, in points. */ |
| 47 |
[attribute] double Height; |
| 48 |
|
| 49 |
/** The name of the drawing object, used as collection key. */ |
| 50 |
[attribute] string Name; |
| 51 |
|
| 52 |
/** Name of a macro that will be executed when the drawing object is clicked. */ |
| 53 |
[attribute] string OnAction; |
| 54 |
|
| 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; |
| 58 |
|
| 59 |
/** True = print object, false = skip object on printing. */ |
| 60 |
[attribute] boolean PrintObject; |
| 61 |
}; |
| 62 |
|
| 63 |
|
| 64 |
|
| 65 |
}; }; }; |
| 66 |
|
| 67 |
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |