1*b63233d8Sdamjan/**************************************************************
2*b63233d8Sdamjan *
3*b63233d8Sdamjan * Licensed to the Apache Software Foundation (ASF) under one
4*b63233d8Sdamjan * or more contributor license agreements.  See the NOTICE file
5*b63233d8Sdamjan * distributed with this work for additional information
6*b63233d8Sdamjan * regarding copyright ownership.  The ASF licenses this file
7*b63233d8Sdamjan * to you under the Apache License, Version 2.0 (the
8*b63233d8Sdamjan * "License"); you may not use this file except in compliance
9*b63233d8Sdamjan * with the License.  You may obtain a copy of the License at
10*b63233d8Sdamjan *
11*b63233d8Sdamjan *   http://www.apache.org/licenses/LICENSE-2.0
12*b63233d8Sdamjan *
13*b63233d8Sdamjan * Unless required by applicable law or agreed to in writing,
14*b63233d8Sdamjan * software distributed under the License is distributed on an
15*b63233d8Sdamjan * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*b63233d8Sdamjan * KIND, either express or implied.  See the License for the
17*b63233d8Sdamjan * specific language governing permissions and limitations
18*b63233d8Sdamjan * under the License.
19*b63233d8Sdamjan *
20*b63233d8Sdamjan *************************************************************/
21*b63233d8Sdamjan
22*b63233d8Sdamjan
23*b63233d8Sdamjan
24*b63233d8Sdamjan#ifndef __ooo_vba_excel_GraphicObjects_idl__
25*b63233d8Sdamjan#define __ooo_vba_excel_GraphicObjects_idl__
26*b63233d8Sdamjan
27*b63233d8Sdamjanmodule ooo {  module vba { module excel {
28*b63233d8Sdamjan
29*b63233d8Sdamjan//=============================================================================
30*b63233d8Sdamjan
31*b63233d8Sdamjan/** Collections that implement this interface provide access to a specific type
32*b63233d8Sdamjan    of drawing objects in a single sheet.
33*b63233d8Sdamjan
34*b63233d8Sdamjan    <p>The following sheet symbols represent collections of graphic objects,
35*b63233d8Sdamjan    and therefore implement this interface:</p>
36*b63233d8Sdamjan    <ul><li>Buttons: push button (command button) controls,</li>
37*b63233d8Sdamjan    <li>ChartObjects: chart objects embedded in the sheet,</li>
38*b63233d8Sdamjan    <li>CheckBoxes: check box controls,</li>
39*b63233d8Sdamjan    <li>DropDowns: drop-down listbox controls,</li>
40*b63233d8Sdamjan    <li>EditBoxes: text edit controls (dialog sheets only),</li>
41*b63233d8Sdamjan    <li>GroupBoxes: group frame controls,</li>
42*b63233d8Sdamjan    <li>GroupObjects: group objects containing other child objects,</li>
43*b63233d8Sdamjan    <li>Labels: fixed text controls,</li>
44*b63233d8Sdamjan    <li>ListBoxes: plain listbox controls,</li>
45*b63233d8Sdamjan    <li>OptionButtons: option button (radio button) controls,</li>
46*b63233d8Sdamjan    <li>Ovals: simple ovals and circles,</li>
47*b63233d8Sdamjan    <li>Pictures: picture objects,</li>
48*b63233d8Sdamjan    <li>Rectangles: simple rectangle objects,</li>
49*b63233d8Sdamjan    <li>ScrollBars: scrollbar controls,</li>
50*b63233d8Sdamjan    <li>Spinners: spinner (spin button) controls,</li>
51*b63233d8Sdamjan    <li>TextBoxes: rectangle objects with embedded text.</li></ul>
52*b63233d8Sdamjan
53*b63233d8Sdamjan    <p>These symbols are now deprecated in VBA but kept for compatibility with
54*b63233d8Sdamjan    old VBA scripts. All symbols representing collections of form controls do
55*b63233d8Sdamjan    NOT belong to ActiveX form controls but to the old-style drawing controls.
56*b63233d8Sdamjan    </p>
57*b63233d8Sdamjan */
58*b63233d8Sdamjaninterface XGraphicObjects : com::sun::star::uno::XInterface
59*b63233d8Sdamjan{
60*b63233d8Sdamjan    /** Adds a new graphic object to the sheet this collection belongs to. The
61*b63233d8Sdamjan        type of the object is determined by the type of the collection.
62*b63233d8Sdamjan
63*b63233d8Sdamjan        @param Left  Position of the left border in points (1/72 inch).
64*b63233d8Sdamjan        @param Top  Position of the top border in points (1/72 inch).
65*b63233d8Sdamjan        @param Width  Width of the object in points (1/72 inch).
66*b63233d8Sdamjan        @param Height  Height of the object in points (1/72 inch).
67*b63233d8Sdamjan
68*b63233d8Sdamjan        @return  The created graphic object.
69*b63233d8Sdamjan     */
70*b63233d8Sdamjan    any Add( [in] any Left, [in] any Top, [in] any Width, [in] any Height );
71*b63233d8Sdamjan};
72*b63233d8Sdamjan
73*b63233d8Sdamjan//=============================================================================
74*b63233d8Sdamjan
75*b63233d8Sdamjan}; }; };
76*b63233d8Sdamjan
77*b63233d8Sdamjan#endif
78