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