1*41b4bf98SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*41b4bf98SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*41b4bf98SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*41b4bf98SAndrew Rist * distributed with this work for additional information 6*41b4bf98SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*41b4bf98SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*41b4bf98SAndrew Rist * "License"); you may not use this file except in compliance 9*41b4bf98SAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 11*41b4bf98SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 13*41b4bf98SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*41b4bf98SAndrew Rist * software distributed under the License is distributed on an 15*41b4bf98SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*41b4bf98SAndrew Rist * KIND, either express or implied. See the License for the 17*41b4bf98SAndrew Rist * specific language governing permissions and limitations 18*41b4bf98SAndrew Rist * under the License. 19cdf0e10cSrcweir * 20*41b4bf98SAndrew Rist *************************************************************/ 21*41b4bf98SAndrew Rist 22*41b4bf98SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#ifndef __ooo_vba_msforms_XListBox_idl__ 25cdf0e10cSrcweir#define __ooo_vba_msforms_XListBox_idl__ 26cdf0e10cSrcweir 27cdf0e10cSrcweir#include <ooo/vba/msforms/XNewFont.idl> 28cdf0e10cSrcweir 29cdf0e10cSrcweir//============================================================================= 30cdf0e10cSrcweir 31cdf0e10cSrcweirmodule ooo { module vba { module msforms { 32cdf0e10cSrcweir 33cdf0e10cSrcweir//============================================================================= 34cdf0e10cSrcweir 35cdf0e10cSrcweirinterface XListBox 36cdf0e10cSrcweir{ 37cdf0e10cSrcweir [attribute] any Value; 38cdf0e10cSrcweir [attribute] string Text; 39cdf0e10cSrcweir [attribute] boolean MultiSelect; 40cdf0e10cSrcweir [attribute] any ListIndex; 41cdf0e10cSrcweir [attribute, readonly] long ListCount; 42cdf0e10cSrcweir [attribute, readonly] XNewFont Font; 43cdf0e10cSrcweir 44cdf0e10cSrcweir void AddItem( [in] any pvargItem, [in] any pvargIndex ); 45cdf0e10cSrcweir void removeItem( [in] any index ); 46cdf0e10cSrcweir void Clear(); 47cdf0e10cSrcweir any Selected( [in] long index ); 48cdf0e10cSrcweir any List( [in] any pvargIndex, [in] any pvarColumn ); 49cdf0e10cSrcweir}; 50cdf0e10cSrcweir 51cdf0e10cSrcweir//============================================================================= 52cdf0e10cSrcweir 53cdf0e10cSrcweir}; }; }; 54cdf0e10cSrcweir 55cdf0e10cSrcweir#endif 56cdf0e10cSrcweir 57cdf0e10cSrcweir 58