| 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 |
|
| 25 |
|
| 26 |
/* Note: This file collects all compatibility interfaces for collections of |
| 27 |
drawing objects and drawing controls embedded in sheets. All these symbols |
| 28 |
are deprecated in VBA and kept for compatibility with old VBA scripts. */ |
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
module ooo { module vba { module excel { |
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
/** Collections that implement this interface provide access to a specific type |
| 37 |
of drawing objects in a single sheet. |
| 38 |
|
| 39 |
<p>The following sheet symbols represent collections of graphic objects, |
| 40 |
and therefore implement this interface:</p> |
| 41 |
<ul><li>Buttons: push button (command button) controls,</li> |
| 42 |
<li>ChartObjects: chart objects embedded in the sheet,</li> |
| 43 |
<li>CheckBoxes: check box controls,</li> |
| 44 |
<li>DropDowns: drop-down listbox controls,</li> |
| 45 |
<li>EditBoxes: text edit controls (dialog sheets only),</li> |
| 46 |
<li>GroupBoxes: group frame controls,</li> |
| 47 |
<li>GroupObjects: group objects containing other child objects,</li> |
| 48 |
<li>Labels: fixed text controls,</li> |
| 49 |
<li>ListBoxes: plain listbox controls,</li> |
| 50 |
<li>OptionButtons: option button (radio button) controls,</li> |
| 51 |
<li>Ovals: simple ovals and circles,</li> |
| 52 |
<li>Pictures: picture objects,</li> |
| 53 |
<li>Rectangles: simple rectangle objects,</li> |
| 54 |
<li>ScrollBars: scrollbar controls,</li> |
| 55 |
<li>Spinners: spinner (spin button) controls,</li> |
| 56 |
<li>TextBoxes: rectangle objects with embedded text.</li></ul> |
| 57 |
|
| 58 |
<p>These symbols are now deprecated in VBA but kept for compatibility with |
| 59 |
old VBA scripts. All symbols representing collections of form controls do |
| 60 |
NOT belong to ActiveX form controls but to the old-style drawing controls. |
| 61 |
</p> |
| 62 |
*/ |
| 63 |
interface XGraphicObjects : com::sun::star::uno::XInterface |
| 64 |
{ |
| 65 |
/** Adds a new graphic object to the sheet this collection belongs to. The |
| 66 |
type of the object is determined by the type of the collection. |
| 67 |
|
| 68 |
@param Left Position of the left border in points (1/72 inch). |
| 69 |
@param Top Position of the top border in points (1/72 inch). |
| 70 |
@param Width Width of the object in points (1/72 inch). |
| 71 |
@param Height Height of the object in points (1/72 inch). |
| 72 |
|
| 73 |
@return The created graphic object. |
| 74 |
*/ |
| 75 |
any Add( [in] any Left, [in] any Top, [in] any Width, [in] any Height ); |
| 76 |
}; |
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
}; }; }; |
| 81 |
|
| 82 |
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |