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