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_XSheetObject_idl__ 25*b63233d8Sdamjan#define __ooo_vba_excel_XSheetObject_idl__ 26*b63233d8Sdamjan 27*b63233d8Sdamjan#include <ooo/vba/XHelperInterface.idl> 28*b63233d8Sdamjan 29*b63233d8Sdamjan 30*b63233d8Sdamjan//============================================================================= 31*b63233d8Sdamjan 32*b63233d8Sdamjanmodule ooo { module vba { module excel { 33*b63233d8Sdamjan 34*b63233d8Sdamjan//============================================================================= 35*b63233d8Sdamjan/** Base interface for graphic objects and drawing controls in a single sheet. 36*b63233d8Sdamjan 37*b63233d8Sdamjan <p>The objects supporting this interface are now deprecated in VBA in 38*b63233d8Sdamjan favour of the Shapes and OLEObjects collections, but are kept for 39*b63233d8Sdamjan compatibility with old VBA scripts. All form control objects do NOT belong 40*b63233d8Sdamjan to ActiveX form controls but to the old-style drawing controls.</p> 41*b63233d8Sdamjan */ 42*b63233d8Sdamjaninterface XSheetObject : ooo::vba::XHelperInterface 43*b63233d8Sdamjan{ 44*b63233d8Sdamjan /** Left coordinate of the drawing object, in points. */ 45*b63233d8Sdamjan [attribute] double Left; 46*b63233d8Sdamjan 47*b63233d8Sdamjan /** Top coordinate of the drawing object, in points. */ 48*b63233d8Sdamjan [attribute] double Top; 49*b63233d8Sdamjan 50*b63233d8Sdamjan /** Width of the drawing object, in points. */ 51*b63233d8Sdamjan [attribute] double Width; 52*b63233d8Sdamjan 53*b63233d8Sdamjan /** Height of the drawing object, in points. */ 54*b63233d8Sdamjan [attribute] double Height; 55*b63233d8Sdamjan 56*b63233d8Sdamjan /** The name of the drawing object, used as collection key. */ 57*b63233d8Sdamjan [attribute] string Name; 58*b63233d8Sdamjan 59*b63233d8Sdamjan /** Name of a macro that will be executed when the drawing object is clicked. */ 60*b63233d8Sdamjan [attribute] string OnAction; 61*b63233d8Sdamjan 62*b63233d8Sdamjan /** Anchor mode of the object (fixed or variable position and size). Must 63*b63233d8Sdamjan be a value from <type>ooo::vba::excel::XlPlacement</type>. */ 64*b63233d8Sdamjan [attribute] long Placement; 65*b63233d8Sdamjan 66*b63233d8Sdamjan /** True = print object, false = skip object on printing. */ 67*b63233d8Sdamjan [attribute] boolean PrintObject; 68*b63233d8Sdamjan}; 69*b63233d8Sdamjan 70*b63233d8Sdamjan//============================================================================= 71*b63233d8Sdamjan 72*b63233d8Sdamjan}; }; }; 73*b63233d8Sdamjan 74*b63233d8Sdamjan#endif 75