1*cf279e26SAndrew Rist /************************************************************** 2cdf0e10cSrcweir * 3*cf279e26SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*cf279e26SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*cf279e26SAndrew Rist * distributed with this work for additional information 6*cf279e26SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*cf279e26SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*cf279e26SAndrew Rist * "License"); you may not use this file except in compliance 9*cf279e26SAndrew Rist * with the License. You may obtain a copy of the License at 10*cf279e26SAndrew Rist * 11*cf279e26SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*cf279e26SAndrew Rist * 13*cf279e26SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*cf279e26SAndrew Rist * software distributed under the License is distributed on an 15*cf279e26SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*cf279e26SAndrew Rist * KIND, either express or implied. See the License for the 17*cf279e26SAndrew Rist * specific language governing permissions and limitations 18*cf279e26SAndrew Rist * under the License. 19*cf279e26SAndrew Rist * 20*cf279e26SAndrew Rist *************************************************************/ 21*cf279e26SAndrew Rist 22*cf279e26SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir using System; 25cdf0e10cSrcweir using System.Reflection; 26cdf0e10cSrcweir using System.Diagnostics; 27cdf0e10cSrcweir using uno; 28cdf0e10cSrcweir 29cdf0e10cSrcweir using unoidl.test.cliure.climaker; 30cdf0e10cSrcweir //using unoidl.com.sun.star.uno; 31cdf0e10cSrcweir using ucss=unoidl.com.sun.star; 32cdf0e10cSrcweir 33cdf0e10cSrcweir 34cdf0e10cSrcweir /* To create this component, the class context (in this assembly) can be used. When 35cdf0e10cSrcweir createInstanceWithArgumentsAndContext is called on the service manager 36cdf0e10cSrcweir then the arguments are passed into the ctor. 37cdf0e10cSrcweir */ 38cdf0e10cSrcweir class Component:uno.util.WeakComponentBase, XTest 39cdf0e10cSrcweir { Component(ucss.uno.XComponentContext ctx)40cdf0e10cSrcweir public Component(ucss.uno.XComponentContext ctx) { 41cdf0e10cSrcweir m_args = new Any[] {new Any(typeof(ucss.uno.XComponentContext), ctx)}; 42cdf0e10cSrcweir m_A2 = 0; 43cdf0e10cSrcweir m_A4 = 0; 44cdf0e10cSrcweir } 45cdf0e10cSrcweir Component(ucss.uno.XComponentContext ctx, uno.Any[] args)46cdf0e10cSrcweir public Component(ucss.uno.XComponentContext ctx, uno.Any[] args) { 47cdf0e10cSrcweir m_args = new Any[args.Length + 1]; 48cdf0e10cSrcweir m_args[0] = new Any(typeof(ucss.uno.XComponentContext), ctx); 49cdf0e10cSrcweir for (int i = 0; i < args.Length; i ++) { 50cdf0e10cSrcweir m_args[i+1] = args[i]; 51cdf0e10cSrcweir } 52cdf0e10cSrcweir } 53cdf0e10cSrcweir 54cdf0e10cSrcweir public Any[] Args { 55cdf0e10cSrcweir get 56cdf0e10cSrcweir { 57cdf0e10cSrcweir return m_args; 58cdf0e10cSrcweir } 59cdf0e10cSrcweir } 60cdf0e10cSrcweir 61cdf0e10cSrcweir // XTest 62cdf0e10cSrcweir public int A1 { 63cdf0e10cSrcweir get { 64cdf0e10cSrcweir return m_A1; 65cdf0e10cSrcweir } 66cdf0e10cSrcweir set { 67cdf0e10cSrcweir m_A1 = value; 68cdf0e10cSrcweir } 69cdf0e10cSrcweir } 70cdf0e10cSrcweir 71cdf0e10cSrcweir public int A2 { 72cdf0e10cSrcweir get { 73cdf0e10cSrcweir return m_A2; 74cdf0e10cSrcweir } 75cdf0e10cSrcweir } 76cdf0e10cSrcweir 77cdf0e10cSrcweir public int A3 { 78cdf0e10cSrcweir get { 79cdf0e10cSrcweir return m_A3; 80cdf0e10cSrcweir } 81cdf0e10cSrcweir set { 82cdf0e10cSrcweir m_A3 = value; 83cdf0e10cSrcweir } 84cdf0e10cSrcweir } 85cdf0e10cSrcweir 86cdf0e10cSrcweir public int A4 { 87cdf0e10cSrcweir get { 88cdf0e10cSrcweir return m_A4; 89cdf0e10cSrcweir } 90cdf0e10cSrcweir } 91cdf0e10cSrcweir test()92cdf0e10cSrcweir public bool test() { 93cdf0e10cSrcweir return true; 94cdf0e10cSrcweir } 95cdf0e10cSrcweir testOneway()96cdf0e10cSrcweir public void testOneway() 97cdf0e10cSrcweir { 98cdf0e10cSrcweir } 99cdf0e10cSrcweir testExceptions()100cdf0e10cSrcweir public void testExceptions() 101cdf0e10cSrcweir { 102cdf0e10cSrcweir } 103cdf0e10cSrcweir testPolyStruct(PolyStruct val)104cdf0e10cSrcweir public PolyStruct testPolyStruct(PolyStruct val) 105cdf0e10cSrcweir { 106cdf0e10cSrcweir return val; 107cdf0e10cSrcweir } 108cdf0e10cSrcweir inParameters(bool aBool, byte aByte, short aShort, ushort aUShort, int aInt, uint aUInt, long aLong, ulong aULong, float aFloat, double aDouble, char aChar, string aString, Type aType, uno.Any aAny, Enum2 aEnum, Struct1 aStruct, object aXInterface, unoidl.com.sun.star.lang.XComponent aXComponent, bool[] seqBool)109cdf0e10cSrcweir public void inParameters(bool aBool, byte aByte, 110cdf0e10cSrcweir short aShort, ushort aUShort, 111cdf0e10cSrcweir int aInt, uint aUInt, 112cdf0e10cSrcweir long aLong, ulong aULong, 113cdf0e10cSrcweir float aFloat, double aDouble, 114cdf0e10cSrcweir char aChar, string aString, 115cdf0e10cSrcweir Type aType, uno.Any aAny, 116cdf0e10cSrcweir Enum2 aEnum, Struct1 aStruct, 117cdf0e10cSrcweir object aXInterface, 118cdf0e10cSrcweir unoidl.com.sun.star.lang.XComponent aXComponent, 119cdf0e10cSrcweir bool[] seqBool) 120cdf0e10cSrcweir { 121cdf0e10cSrcweir m_Bool = aBool; 122cdf0e10cSrcweir m_Byte = aByte; 123cdf0e10cSrcweir m_Short = aShort; 124cdf0e10cSrcweir m_UShort = aUShort; 125cdf0e10cSrcweir m_Int = aInt; 126cdf0e10cSrcweir m_UInt = aUInt; 127cdf0e10cSrcweir m_Long = aLong; 128cdf0e10cSrcweir m_ULong = aULong; 129cdf0e10cSrcweir m_Float = aFloat; 130cdf0e10cSrcweir m_Double = aDouble; 131cdf0e10cSrcweir m_Char = aChar; 132cdf0e10cSrcweir m_String = aString; 133cdf0e10cSrcweir m_Type = aType; 134cdf0e10cSrcweir m_Any = aAny; 135cdf0e10cSrcweir m_Enum2 = aEnum; 136cdf0e10cSrcweir m_Struct1 = aStruct; 137cdf0e10cSrcweir m_XInterface = aXInterface; 138cdf0e10cSrcweir m_XComponent = aXComponent; 139cdf0e10cSrcweir m_seqBool = seqBool; 140cdf0e10cSrcweir 141cdf0e10cSrcweir } 142cdf0e10cSrcweir outParameters(out bool aBool, out byte aByte, out short aShort, out ushort aUShort, out int aInt, out uint aUInt, out long aLong, out ulong aULong, out float aFloat, out double aDouble, out char aChar, out string aString, out Type aType, out uno.Any aAny, out Enum2 aEnum, out Struct1 aStruct, out object aXInterface, out unoidl.com.sun.star.lang.XComponent aXComponent, out bool[] seqBool)143cdf0e10cSrcweir public void outParameters(out bool aBool, out byte aByte, 144cdf0e10cSrcweir out short aShort, out ushort aUShort, 145cdf0e10cSrcweir out int aInt, out uint aUInt, 146cdf0e10cSrcweir out long aLong, out ulong aULong, 147cdf0e10cSrcweir out float aFloat, out double aDouble, 148cdf0e10cSrcweir out char aChar, out string aString, 149cdf0e10cSrcweir out Type aType, out uno.Any aAny, 150cdf0e10cSrcweir out Enum2 aEnum, out Struct1 aStruct, 151cdf0e10cSrcweir out object aXInterface, 152cdf0e10cSrcweir out unoidl.com.sun.star.lang.XComponent aXComponent, 153cdf0e10cSrcweir out bool[] seqBool) 154cdf0e10cSrcweir { 155cdf0e10cSrcweir aBool = m_Bool; 156cdf0e10cSrcweir aByte = m_Byte; 157cdf0e10cSrcweir aShort = m_Short; 158cdf0e10cSrcweir aUShort = m_UShort; 159cdf0e10cSrcweir aInt = m_Int; 160cdf0e10cSrcweir aUInt = m_UInt; 161cdf0e10cSrcweir aLong = m_Long; 162cdf0e10cSrcweir aULong = m_ULong; 163cdf0e10cSrcweir aFloat = m_Float; 164cdf0e10cSrcweir aDouble = m_Double; 165cdf0e10cSrcweir aChar = m_Char; 166cdf0e10cSrcweir aString = m_String; 167cdf0e10cSrcweir aType = m_Type; 168cdf0e10cSrcweir aAny = m_Any; 169cdf0e10cSrcweir aEnum = m_Enum2; 170cdf0e10cSrcweir aStruct = m_Struct1; 171cdf0e10cSrcweir aXInterface = m_XInterface; 172cdf0e10cSrcweir aXComponent = m_XComponent; 173cdf0e10cSrcweir seqBool = m_seqBool; 174cdf0e10cSrcweir 175cdf0e10cSrcweir } 176cdf0e10cSrcweir 177cdf0e10cSrcweir //returns the values which have been set in a previous call 178cdf0e10cSrcweir //to this function or inParameters. inoutParameters(ref bool aBool, ref byte aByte, ref short aShort, ref ushort aUShort, ref int aInt, ref uint aUInt, ref long aLong, ref ulong aULong, ref float aFloat, ref double aDouble, ref char aChar, ref string aString, ref Type aType, ref uno.Any aAny, ref Enum2 aEnum, ref Struct1 aStruct, ref object aXInterface, ref unoidl.com.sun.star.lang.XComponent aXComponent, ref bool[] seqBool)179cdf0e10cSrcweir public void inoutParameters(ref bool aBool, ref byte aByte, 180cdf0e10cSrcweir ref short aShort, ref ushort aUShort, 181cdf0e10cSrcweir ref int aInt, ref uint aUInt, 182cdf0e10cSrcweir ref long aLong, ref ulong aULong, 183cdf0e10cSrcweir ref float aFloat, ref double aDouble, 184cdf0e10cSrcweir ref char aChar, ref string aString, 185cdf0e10cSrcweir ref Type aType, ref uno.Any aAny, 186cdf0e10cSrcweir ref Enum2 aEnum, ref Struct1 aStruct, 187cdf0e10cSrcweir ref object aXInterface, 188cdf0e10cSrcweir ref unoidl.com.sun.star.lang.XComponent aXComponent, 189cdf0e10cSrcweir ref bool[] seqBool) 190cdf0e10cSrcweir { 191cdf0e10cSrcweir bool _bool = aBool; 192cdf0e10cSrcweir aBool = m_Bool; 193cdf0e10cSrcweir m_Bool = _bool; 194cdf0e10cSrcweir 195cdf0e10cSrcweir byte _byte = aByte; 196cdf0e10cSrcweir aByte = m_Byte; 197cdf0e10cSrcweir m_Byte = _byte; 198cdf0e10cSrcweir 199cdf0e10cSrcweir short _short = aShort; 200cdf0e10cSrcweir aShort = m_Short; 201cdf0e10cSrcweir m_Short = _short; 202cdf0e10cSrcweir 203cdf0e10cSrcweir ushort _ushort = aUShort; 204cdf0e10cSrcweir aUShort = m_UShort; 205cdf0e10cSrcweir m_UShort = _ushort; 206cdf0e10cSrcweir 207cdf0e10cSrcweir int _int = aInt; 208cdf0e10cSrcweir aInt = m_Int; 209cdf0e10cSrcweir m_Int = _int; 210cdf0e10cSrcweir 211cdf0e10cSrcweir uint _uint = aUInt; 212cdf0e10cSrcweir aUInt = m_UInt; 213cdf0e10cSrcweir m_UInt = _uint; 214cdf0e10cSrcweir 215cdf0e10cSrcweir long _long = aLong; 216cdf0e10cSrcweir aLong = m_Long; 217cdf0e10cSrcweir m_Long = _long; 218cdf0e10cSrcweir 219cdf0e10cSrcweir ulong _ulong = aULong; 220cdf0e10cSrcweir aULong = m_ULong; 221cdf0e10cSrcweir m_ULong = _ulong; 222cdf0e10cSrcweir 223cdf0e10cSrcweir float _f = aFloat; 224cdf0e10cSrcweir aFloat = m_Float; 225cdf0e10cSrcweir m_Float = _f; 226cdf0e10cSrcweir 227cdf0e10cSrcweir double _d = aDouble; 228cdf0e10cSrcweir aDouble = m_Double; 229cdf0e10cSrcweir m_Double = _d; 230cdf0e10cSrcweir 231cdf0e10cSrcweir char _char = aChar; 232cdf0e10cSrcweir aChar = m_Char; 233cdf0e10cSrcweir m_Char = _char; 234cdf0e10cSrcweir 235cdf0e10cSrcweir string _string = aString; 236cdf0e10cSrcweir aString = m_String; 237cdf0e10cSrcweir m_String = _string; 238cdf0e10cSrcweir 239cdf0e10cSrcweir Type _type = aType; 240cdf0e10cSrcweir aType = m_Type; 241cdf0e10cSrcweir m_Type = _type; 242cdf0e10cSrcweir 243cdf0e10cSrcweir Any _any = aAny; 244cdf0e10cSrcweir aAny = m_Any; 245cdf0e10cSrcweir m_Any = _any; 246cdf0e10cSrcweir 247cdf0e10cSrcweir Enum2 _enum2 = aEnum; 248cdf0e10cSrcweir aEnum = m_Enum2; 249cdf0e10cSrcweir m_Enum2 = _enum2; 250cdf0e10cSrcweir 251cdf0e10cSrcweir Struct1 _struct1 = aStruct; 252cdf0e10cSrcweir aStruct = m_Struct1; 253cdf0e10cSrcweir m_Struct1 = _struct1; 254cdf0e10cSrcweir 255cdf0e10cSrcweir object _obj = aXInterface; 256cdf0e10cSrcweir aXInterface = m_XInterface; 257cdf0e10cSrcweir m_XInterface = _obj; 258cdf0e10cSrcweir 259cdf0e10cSrcweir ucss.lang.XComponent _xcomp = aXComponent; 260cdf0e10cSrcweir aXComponent = m_XComponent; 261cdf0e10cSrcweir m_XComponent = _xcomp; 262cdf0e10cSrcweir 263cdf0e10cSrcweir bool[] _seq = seqBool; 264cdf0e10cSrcweir seqBool = m_seqBool; 265cdf0e10cSrcweir m_seqBool = _seq; 266cdf0e10cSrcweir } 267cdf0e10cSrcweir retBoolean()268cdf0e10cSrcweir public bool retBoolean() 269cdf0e10cSrcweir { 270cdf0e10cSrcweir return m_Bool; 271cdf0e10cSrcweir } 272cdf0e10cSrcweir retByte()273cdf0e10cSrcweir public byte retByte() 274cdf0e10cSrcweir { 275cdf0e10cSrcweir return m_Byte; 276cdf0e10cSrcweir } 277cdf0e10cSrcweir retShort()278cdf0e10cSrcweir public short retShort() 279cdf0e10cSrcweir { 280cdf0e10cSrcweir return m_Short; 281cdf0e10cSrcweir } 282cdf0e10cSrcweir retUShort()283cdf0e10cSrcweir public ushort retUShort() 284cdf0e10cSrcweir { 285cdf0e10cSrcweir return m_UShort; 286cdf0e10cSrcweir } 287cdf0e10cSrcweir retLong()288cdf0e10cSrcweir public int retLong() 289cdf0e10cSrcweir { 290cdf0e10cSrcweir return m_Int; 291cdf0e10cSrcweir } 292cdf0e10cSrcweir retULong()293cdf0e10cSrcweir public uint retULong() 294cdf0e10cSrcweir { 295cdf0e10cSrcweir return m_UInt; 296cdf0e10cSrcweir } 297cdf0e10cSrcweir retHyper()298cdf0e10cSrcweir public long retHyper() 299cdf0e10cSrcweir { 300cdf0e10cSrcweir return m_Long; 301cdf0e10cSrcweir } 302cdf0e10cSrcweir retUHyper()303cdf0e10cSrcweir public ulong retUHyper() 304cdf0e10cSrcweir { 305cdf0e10cSrcweir return m_ULong; 306cdf0e10cSrcweir } 307cdf0e10cSrcweir retFloat()308cdf0e10cSrcweir public float retFloat() 309cdf0e10cSrcweir { 310cdf0e10cSrcweir return m_Float; 311cdf0e10cSrcweir } 312cdf0e10cSrcweir retDouble()313cdf0e10cSrcweir public double retDouble() 314cdf0e10cSrcweir { 315cdf0e10cSrcweir return m_Double; 316cdf0e10cSrcweir } 317cdf0e10cSrcweir retChar()318cdf0e10cSrcweir public char retChar() 319cdf0e10cSrcweir { 320cdf0e10cSrcweir return m_Char; 321cdf0e10cSrcweir } 322cdf0e10cSrcweir retString()323cdf0e10cSrcweir public string retString() 324cdf0e10cSrcweir { 325cdf0e10cSrcweir return m_String; 326cdf0e10cSrcweir } 327cdf0e10cSrcweir retType()328cdf0e10cSrcweir public Type retType() 329cdf0e10cSrcweir { 330cdf0e10cSrcweir return m_Type; 331cdf0e10cSrcweir } 332cdf0e10cSrcweir retAny()333cdf0e10cSrcweir public uno.Any retAny() 334cdf0e10cSrcweir { 335cdf0e10cSrcweir return m_Any; 336cdf0e10cSrcweir } 337cdf0e10cSrcweir retEnum()338cdf0e10cSrcweir public Enum2 retEnum() 339cdf0e10cSrcweir { 340cdf0e10cSrcweir return m_Enum2; 341cdf0e10cSrcweir } retStruct1()342cdf0e10cSrcweir public Struct1 retStruct1() 343cdf0e10cSrcweir { 344cdf0e10cSrcweir return m_Struct1; 345cdf0e10cSrcweir } 346cdf0e10cSrcweir retXInterface()347cdf0e10cSrcweir public object retXInterface() 348cdf0e10cSrcweir { 349cdf0e10cSrcweir return m_XInterface; 350cdf0e10cSrcweir } 351cdf0e10cSrcweir retXComponent()352cdf0e10cSrcweir public unoidl.com.sun.star.lang.XComponent retXComponent() 353cdf0e10cSrcweir { 354cdf0e10cSrcweir return m_XComponent; 355cdf0e10cSrcweir } 356cdf0e10cSrcweir retSeqBool()357cdf0e10cSrcweir public bool[] retSeqBool() 358cdf0e10cSrcweir { 359cdf0e10cSrcweir return m_seqBool; 360cdf0e10cSrcweir } 361cdf0e10cSrcweir 362cdf0e10cSrcweir public bool attrBoolean 363cdf0e10cSrcweir { 364cdf0e10cSrcweir get { 365cdf0e10cSrcweir return m_Bool; 366cdf0e10cSrcweir } 367cdf0e10cSrcweir set { 368cdf0e10cSrcweir m_Bool = value; 369cdf0e10cSrcweir } 370cdf0e10cSrcweir } 371cdf0e10cSrcweir 372cdf0e10cSrcweir public byte attrByte 373cdf0e10cSrcweir { 374cdf0e10cSrcweir get { 375cdf0e10cSrcweir return m_Byte; 376cdf0e10cSrcweir } 377cdf0e10cSrcweir set { 378cdf0e10cSrcweir m_Byte = value; 379cdf0e10cSrcweir } 380cdf0e10cSrcweir } 381cdf0e10cSrcweir 382cdf0e10cSrcweir public short attrShort 383cdf0e10cSrcweir { 384cdf0e10cSrcweir get { 385cdf0e10cSrcweir return m_Short; 386cdf0e10cSrcweir } 387cdf0e10cSrcweir set { 388cdf0e10cSrcweir m_Short = value; 389cdf0e10cSrcweir } 390cdf0e10cSrcweir } 391cdf0e10cSrcweir 392cdf0e10cSrcweir public ushort attrUShort 393cdf0e10cSrcweir { 394cdf0e10cSrcweir get { 395cdf0e10cSrcweir return m_UShort; 396cdf0e10cSrcweir } 397cdf0e10cSrcweir set { 398cdf0e10cSrcweir m_UShort = value; 399cdf0e10cSrcweir } 400cdf0e10cSrcweir } 401cdf0e10cSrcweir 402cdf0e10cSrcweir public int attrLong 403cdf0e10cSrcweir { 404cdf0e10cSrcweir get { 405cdf0e10cSrcweir return m_Int; 406cdf0e10cSrcweir } 407cdf0e10cSrcweir set { 408cdf0e10cSrcweir m_Int = value; 409cdf0e10cSrcweir } 410cdf0e10cSrcweir } 411cdf0e10cSrcweir 412cdf0e10cSrcweir public uint attrULong 413cdf0e10cSrcweir { 414cdf0e10cSrcweir get { 415cdf0e10cSrcweir return m_UInt; 416cdf0e10cSrcweir } 417cdf0e10cSrcweir set { 418cdf0e10cSrcweir m_UInt = value; 419cdf0e10cSrcweir } 420cdf0e10cSrcweir } 421cdf0e10cSrcweir 422cdf0e10cSrcweir public long attrHyper 423cdf0e10cSrcweir { 424cdf0e10cSrcweir get { 425cdf0e10cSrcweir return m_Long; 426cdf0e10cSrcweir } 427cdf0e10cSrcweir set { 428cdf0e10cSrcweir m_Long = value; 429cdf0e10cSrcweir } 430cdf0e10cSrcweir } 431cdf0e10cSrcweir 432cdf0e10cSrcweir public ulong attrUHyper 433cdf0e10cSrcweir { 434cdf0e10cSrcweir get { 435cdf0e10cSrcweir return m_ULong; 436cdf0e10cSrcweir } 437cdf0e10cSrcweir set { 438cdf0e10cSrcweir m_ULong = value; 439cdf0e10cSrcweir } 440cdf0e10cSrcweir } 441cdf0e10cSrcweir 442cdf0e10cSrcweir public float attrFloat 443cdf0e10cSrcweir { 444cdf0e10cSrcweir get { 445cdf0e10cSrcweir return m_Float; 446cdf0e10cSrcweir } 447cdf0e10cSrcweir set { 448cdf0e10cSrcweir m_Float = value; 449cdf0e10cSrcweir } 450cdf0e10cSrcweir } 451cdf0e10cSrcweir 452cdf0e10cSrcweir public double attrDouble 453cdf0e10cSrcweir { 454cdf0e10cSrcweir get { 455cdf0e10cSrcweir return m_Double; 456cdf0e10cSrcweir } 457cdf0e10cSrcweir set { 458cdf0e10cSrcweir m_Double = value; 459cdf0e10cSrcweir } 460cdf0e10cSrcweir } 461cdf0e10cSrcweir 462cdf0e10cSrcweir public char attrChar 463cdf0e10cSrcweir { 464cdf0e10cSrcweir get { 465cdf0e10cSrcweir return m_Char; 466cdf0e10cSrcweir } 467cdf0e10cSrcweir set { 468cdf0e10cSrcweir m_Char = value; 469cdf0e10cSrcweir } 470cdf0e10cSrcweir } 471cdf0e10cSrcweir 472cdf0e10cSrcweir public string attrString 473cdf0e10cSrcweir { 474cdf0e10cSrcweir get { 475cdf0e10cSrcweir return m_String; 476cdf0e10cSrcweir } 477cdf0e10cSrcweir set { 478cdf0e10cSrcweir m_String = value; 479cdf0e10cSrcweir } 480cdf0e10cSrcweir } 481cdf0e10cSrcweir 482cdf0e10cSrcweir public Type attrType 483cdf0e10cSrcweir { 484cdf0e10cSrcweir get { 485cdf0e10cSrcweir return m_Type; 486cdf0e10cSrcweir } 487cdf0e10cSrcweir set { 488cdf0e10cSrcweir m_Type = value; 489cdf0e10cSrcweir } 490cdf0e10cSrcweir } 491cdf0e10cSrcweir 492cdf0e10cSrcweir public Any attrAny 493cdf0e10cSrcweir { 494cdf0e10cSrcweir get { 495cdf0e10cSrcweir return m_Any; 496cdf0e10cSrcweir } 497cdf0e10cSrcweir set { 498cdf0e10cSrcweir m_Any = value; 499cdf0e10cSrcweir } 500cdf0e10cSrcweir } 501cdf0e10cSrcweir 502cdf0e10cSrcweir public Enum2 attrEnum2 503cdf0e10cSrcweir { 504cdf0e10cSrcweir get { 505cdf0e10cSrcweir return m_Enum2; 506cdf0e10cSrcweir } 507cdf0e10cSrcweir set { 508cdf0e10cSrcweir m_Enum2 = value; 509cdf0e10cSrcweir } 510cdf0e10cSrcweir } 511cdf0e10cSrcweir 512cdf0e10cSrcweir public Struct1 attrStruct1 513cdf0e10cSrcweir { 514cdf0e10cSrcweir get { 515cdf0e10cSrcweir return m_Struct1; 516cdf0e10cSrcweir } 517cdf0e10cSrcweir set { 518cdf0e10cSrcweir m_Struct1 = value; 519cdf0e10cSrcweir } 520cdf0e10cSrcweir } 521cdf0e10cSrcweir 522cdf0e10cSrcweir public object attrXInterface 523cdf0e10cSrcweir { 524cdf0e10cSrcweir get { 525cdf0e10cSrcweir return m_XInterface; 526cdf0e10cSrcweir } 527cdf0e10cSrcweir set { 528cdf0e10cSrcweir m_XInterface = value; 529cdf0e10cSrcweir } 530cdf0e10cSrcweir } 531cdf0e10cSrcweir 532cdf0e10cSrcweir public ucss.lang.XComponent attrXComponent 533cdf0e10cSrcweir { 534cdf0e10cSrcweir get { 535cdf0e10cSrcweir return m_XComponent; 536cdf0e10cSrcweir } 537cdf0e10cSrcweir set { 538cdf0e10cSrcweir m_XComponent = value; 539cdf0e10cSrcweir } 540cdf0e10cSrcweir } 541cdf0e10cSrcweir 542cdf0e10cSrcweir public bool[] attrSeqBoolean 543cdf0e10cSrcweir { 544cdf0e10cSrcweir get { 545cdf0e10cSrcweir return m_seqBool; 546cdf0e10cSrcweir } 547cdf0e10cSrcweir set { 548cdf0e10cSrcweir m_seqBool = value; 549cdf0e10cSrcweir } 550cdf0e10cSrcweir } 551cdf0e10cSrcweir 552cdf0e10cSrcweir 553cdf0e10cSrcweir 554cdf0e10cSrcweir 555cdf0e10cSrcweir 556cdf0e10cSrcweir Any[] m_args; 557cdf0e10cSrcweir int m_A1; 558cdf0e10cSrcweir int m_A2; 559cdf0e10cSrcweir int m_A3; 560cdf0e10cSrcweir int m_A4; 561cdf0e10cSrcweir 562cdf0e10cSrcweir bool m_Bool; 563cdf0e10cSrcweir byte m_Byte; 564cdf0e10cSrcweir short m_Short; 565cdf0e10cSrcweir ushort m_UShort; 566cdf0e10cSrcweir int m_Int; 567cdf0e10cSrcweir uint m_UInt; 568cdf0e10cSrcweir long m_Long; 569cdf0e10cSrcweir ulong m_ULong; 570cdf0e10cSrcweir float m_Float; 571cdf0e10cSrcweir double m_Double; 572cdf0e10cSrcweir char m_Char; 573cdf0e10cSrcweir string m_String; 574cdf0e10cSrcweir Type m_Type; 575cdf0e10cSrcweir Any m_Any; 576cdf0e10cSrcweir Enum2 m_Enum2; 577cdf0e10cSrcweir Struct1 m_Struct1; 578cdf0e10cSrcweir object m_XInterface; 579cdf0e10cSrcweir unoidl.com.sun.star.lang.XComponent m_XComponent; 580cdf0e10cSrcweir bool[] m_seqBool; 581cdf0e10cSrcweir 582cdf0e10cSrcweir } 583cdf0e10cSrcweir 584cdf0e10cSrcweir 585