1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #include
<com
/sun
/star
/lang
/ClassNotFoundException.idl
>
21 #include
<com
/sun
/star
/lang
/IllegalAccessException.idl
>
22 #include
<com
/sun
/star
/uno
/DeploymentException.idl
>
23 #include
<com
/sun
/star
/uno
/Exception.idl
>
24 #include
<com
/sun
/star
/uno
/RuntimeException.idl
>
25 #include
<com
/sun
/star
/uno
/XInterface.idl
>
26 #include
<com
/sun
/star
/uno
/XNamingService.idl
>
27 #include
<com
/sun
/star
/lang
/XComponent.idl
>
28 module test
{ module cliure
{ module climaker
{
30 enum Enum1
{ VALUE1
= -100, VALUE2
= 100 };
32 enum Enum2
{ VALUE0
= 0, VALUE1
= 1, VALUE2
= 2, VALUE4
= 4 };
34 struct Struct1
{ long member1
; };
36 struct PolyStruct
<if
,else
> {
41 struct PolyStruct2
<a
> {
46 struct PolyStruct3
<a
,b
> {
54 [attribute
, bound
] long A1
;
55 [attribute
, bound
, readonly] long A2
;
58 (com
::sun
::star
::uno
::Exception
,
59 com
::sun
::star
::lang
::ClassNotFoundException
);
60 set raises
(com
::sun
::star
::uno
::RuntimeException
);
62 [attribute
, readonly] long A4
{
63 get raises
(com
::sun
::star
::uno
::DeploymentException
);
69 raises
( com
::sun
::star
::uno
::Exception
,
70 com
::sun
::star
::lang
::ClassNotFoundException
);
73 PolyStruct
<char,long> testPolyStruct
([in] PolyStruct
<char, long> val
);
76 void inParameters
([in] boolean aBool
, [in] byte aByte
, [in] short aShort
,
77 [in] unsigned short aUShort
, [in] long aLong
, [in] unsigned long aULong
,
78 [in] hyper aHyper
, [in] unsigned hyper aUHyper
, [in] float aFloat
,
79 [in] double aDouble
, [in] char aChar
, [in] string aString
,
80 [in] type aType
, [in] any aAny
, [in] Enum2 aEnum
, [in] Struct1 aStruct
,
81 [in] com
::sun
::star
::uno
::XInterface aXInterface
,
82 [in] com
::sun
::star
::lang
::XComponent aXComponent
,
83 [in] sequence
<boolean> seqBool
);
85 void outParameters
([out] boolean aBool
, [out] byte aByte
, [out] short aShort
,
86 [out] unsigned short aUShort
, [out] long aLong
, [out] unsigned long aULong
,
87 [out] hyper aHyper
, [out] unsigned hyper aUHyper
, [out] float aFloat
,
88 [out] double aDouble
, [out] char aChar
, [out] string aString
,
89 [out] type aType
, [out] any aAny
, [out] Enum2 aEnum
, [out] Struct1 aStruct
,
90 [out] com
::sun
::star
::uno
::XInterface aXInterface
,
91 [out] com
::sun
::star
::lang
::XComponent aXComponent
,
92 [out] sequence
<boolean> seqBool
);
94 void inoutParameters
([inout
] boolean aBool
, [inout
] byte aByte
, [inout
] short aShort
,
95 [inout
] unsigned short aUShort
, [inout
] long aLong
,
96 [inout
] unsigned long aULong
,
97 [inout
] hyper aHyper
, [inout
] unsigned hyper aUHyper
,
99 [inout
] double aDouble
, [inout
] char aChar
, [inout
] string aString
,
100 [inout
] type aType
, [inout
] any aAny
, [inout
] Enum2 aEnum
,
101 [inout
] Struct1 aStruct
,
102 [inout
] com
::sun
::star
::uno
::XInterface aXInterface
,
103 [inout
] com
::sun
::star
::lang
::XComponent aXComponent
,
104 [inout
] sequence
<boolean> seqBool
);
105 boolean retBoolean
();
108 unsigned short retUShort
();
110 unsigned long retULong
();
112 unsigned hyper retUHyper
();
120 Struct1 retStruct1
();
121 com
::sun
::star
::uno
::XInterface retXInterface
();
122 com
::sun
::star
::lang
::XComponent retXComponent
();
123 sequence
<boolean> retSeqBool
();
125 [attribute
] boolean attrBoolean
;
126 [attribute
] byte attrByte
;
127 [attribute
] short attrShort
;
128 [attribute
] unsigned short attrUShort
;
129 [attribute
] long attrLong
;
130 [attribute
] unsigned long attrULong
;
131 [attribute
] hyper attrHyper
;
132 [attribute
] unsigned hyper attrUHyper
;
133 [attribute
] float attrFloat
;
134 [attribute
] double attrDouble
;
135 [attribute
] char attrChar
;
136 [attribute
] string attrString
;
137 [attribute
] type attrType
;
138 [attribute
] any attrAny
;
139 [attribute
] Enum2 attrEnum2
;
140 [attribute
] Struct1 attrStruct1
;
141 [attribute
] com
::sun
::star
::uno
::XInterface attrXInterface
;
142 [attribute
] com
::sun
::star
::lang
::XComponent attrXComponent
;
143 [attribute
] sequence
<boolean> attrSeqBoolean
;
146 typedef boolean Boolean;
149 typedef unsigned short UnsignedShort
;
151 typedef unsigned long UnsignedLong
;
153 typedef unsigned hyper UnsignedHyper
;
155 typedef double Double;
157 typedef string String;
161 typedef Struct1
Struct;
162 typedef com
::sun
::star
::uno
::XInterface XInterface
;
163 typedef com
::sun
::star
::uno
::XNamingService XNamingService
;
164 typedef com
::sun
::star
::lang
::XComponent XComponent
;
166 typedef sequence
< Boolean > SequenceBoolean
;
167 typedef sequence
< Byte > SequenceByte
;
168 typedef sequence
< Short > SequenceShort
;
169 typedef sequence
< UnsignedShort
> SequenceUnsignedShort
;
170 typedef sequence
< Long > SequenceLong
;
171 typedef sequence
< UnsignedLong
> SequenceUnsignedLong
;
172 typedef sequence
< Hyper > SequenceHyper
;
173 typedef sequence
< UnsignedHyper
> SequenceUnsignedHyper
;
174 typedef sequence
< Float > SequenceFloat
;
175 typedef sequence
< Double > SequenceDouble
;
176 typedef sequence
< Char > SequenceChar
;
177 typedef sequence
< String > SequenceString
;
178 typedef sequence
< Type
> SequenceType
;
179 typedef sequence
< Any
> SequenceAny
;
180 typedef sequence
< Enum > SequenceEnum
;
181 typedef sequence
< Struct > SequenceStruct
;
182 typedef sequence
< XInterface
> SequenceXInterface
;
183 typedef sequence
< XNamingService
> SequenceXNamingService
;
184 typedef sequence
< XComponent
> SequenceXComponent
;
203 com
::sun
::star
::uno
::XInterface p17
;
204 com
::sun
::star
::uno
::XNamingService p18
;
223 sequence
< boolean > a1
;
225 sequence
< short > a3
;
226 sequence
< unsigned short > a4
;
228 sequence
< unsigned long > a6
;
229 sequence
< hyper > a7
;
230 sequence
< unsigned hyper > a8
;
231 sequence
< float > a9
;
232 sequence
< double > a10
;
233 sequence
< char > a11
;
234 sequence
< string > a12
;
235 sequence
< type
> a13
;
237 sequence
< Enum2
> a15
;
238 sequence
< Struct1
> a16
;
239 sequence
< com
::sun
::star
::uno
::XInterface
> a17
;
240 sequence
< com
::sun
::star
::uno
::XNamingService
> a18
;
241 sequence
< sequence
< boolean > > aa1
;
242 sequence
< sequence
< byte > > aa2
;
243 sequence
< sequence
< short > > aa3
;
244 sequence
< sequence
< unsigned short > > aa4
;
245 sequence
< sequence
< long > > aa5
;
246 sequence
< sequence
< unsigned long > > aa6
;
247 sequence
< sequence
< hyper > > aa7
;
248 sequence
< sequence
< unsigned hyper > > aa8
;
249 sequence
< sequence
< float > > aa9
;
250 sequence
< sequence
< double > > aa10
;
251 sequence
< sequence
< char > > aa11
;
252 sequence
< sequence
< string > > aa12
;
253 sequence
< sequence
< type
> > aa13
;
254 sequence
< sequence
< any
> > aa14
;
255 sequence
< sequence
< Enum2
> > aa15
;
256 sequence
< sequence
< Struct1
> > aa16
;
257 sequence
< sequence
< com
::sun
::star
::uno
::XInterface
> > aa17
;
258 sequence
< sequence
< com
::sun
::star
::uno
::XNamingService
> > aa18
;
259 sequence
< SequenceBoolean
> at1
;
260 sequence
< SequenceByte
> at2
;
261 sequence
< SequenceShort
> at3
;
262 sequence
< SequenceUnsignedShort
> at4
;
263 sequence
< SequenceLong
> at5
;
264 sequence
< SequenceUnsignedLong
> at6
;
265 sequence
< SequenceHyper
> at7
;
266 sequence
< SequenceUnsignedHyper
> at8
;
267 sequence
< SequenceFloat
> at9
;
268 sequence
< SequenceDouble
> at10
;
269 sequence
< SequenceChar
> at11
;
270 sequence
< SequenceString
> at12
;
271 sequence
< SequenceType
> at13
;
272 sequence
< SequenceAny
> at14
;
273 sequence
< SequenceEnum
> at15
;
274 sequence
< SequenceStruct
> at16
;
275 sequence
< SequenceXInterface
> at17
;
276 sequence
< SequenceXNamingService
> at18
;
284 struct Struct4
: Struct3
302 sequence
<sequence
<Struct6
> > seqseqStruct6
;
308 create2
([in] any... create2
)
309 raises
(com
::sun
::star
::uno
::RuntimeException
,
310 com
::sun
::star
::lang
::ClassNotFoundException
,
311 com
::sun
::star
::uno
::Exception
,
312 com
::sun
::star
::lang
::IllegalAccessException
,
313 com
::sun
::star
::uno
::DeploymentException
);
315 create3
([in] sequence
<any
> S1
)
316 raises
(com
::sun
::star
::uno
::RuntimeException
,
317 com
::sun
::star
::lang
::ClassNotFoundException
,
318 com
::sun
::star
::lang
::IllegalAccessException
,
319 com
::sun
::star
::uno
::DeploymentException
);
321 create4
([in] long javamaker
, [in] long S1
, [in] long create4
);
327 [in] unsigned short p4
,
329 [in] unsigned long p6
,
331 [in] unsigned hyper p8
,
340 [in] PolyStruct
<char, short> p17
,
341 [in] PolyStruct
<any
, short> p18
,
342 [in] com
::sun
::star
::uno
::XInterface p19
,
343 [in] com
::sun
::star
::lang
::XComponent p20
,
347 [in] UnsignedShort t4
,
349 [in] UnsignedLong t6
,
351 [in] UnsignedHyper t8
,
362 [in] sequence
< boolean > a1
,
363 [in] sequence
< byte > a2
,
364 [in] sequence
< short > a3
,
365 [in] sequence
< unsigned short > a4
,
366 [in] sequence
< long > a5
,
367 [in] sequence
< unsigned long > a6
,
368 [in] sequence
< hyper > a7
,
369 [in] sequence
< unsigned hyper > a8
,
370 [in] sequence
< float > a9
,
371 [in] sequence
< double > a10
,
372 [in] sequence
< char > a11
,
373 [in] sequence
< string > a12
,
374 [in] sequence
< type
> a13
,
375 [in] sequence
< any
> a14
,
376 [in] sequence
< Enum2
> a15
,
377 [in] sequence
< Struct1
> a16
,
378 [in] sequence
< com
::sun
::star
::uno
::XInterface
> a17
,
379 [in] sequence
< com
::sun
::star
::lang
::XComponent
> a18
,
380 [in] sequence
< sequence
< boolean > > aa1
,
381 [in] sequence
< sequence
< byte > > aa2
,
382 [in] sequence
< sequence
< short > > aa3
,
383 [in] sequence
< sequence
< unsigned short > > aa4
,
384 [in] sequence
< sequence
< long > > aa5
,
385 [in] sequence
< sequence
< unsigned long > > aa6
,
386 [in] sequence
< sequence
< hyper > > aa7
,
387 [in] sequence
< sequence
< unsigned hyper > > aa8
,
388 [in] sequence
< sequence
< float > > aa9
,
389 [in] sequence
< sequence
< double > > aa10
,
390 [in] sequence
< sequence
< char > > aa11
,
391 [in] sequence
< sequence
< string > > aa12
,
392 [in] sequence
< sequence
< type
> > aa13
,
393 [in] sequence
< sequence
< any
> > aa14
,
394 [in] sequence
< sequence
< Enum2
> > aa15
,
395 [in] sequence
< sequence
< Struct1
> > aa16
,
396 [in] sequence
< sequence
< com
::sun
::star
::uno
::XInterface
> > aa17
,
397 [in] sequence
< sequence
< com
::sun
::star
::lang
::XComponent
> > aa18
,
398 [in] sequence
< SequenceBoolean
> at1
,
399 [in] sequence
< SequenceByte
> at2
,
400 [in] sequence
< SequenceShort
> at3
,
401 [in] sequence
< SequenceUnsignedShort
> at4
,
402 [in] sequence
< SequenceLong
> at5
,
403 [in] sequence
< SequenceUnsignedLong
> at6
,
404 [in] sequence
< SequenceHyper
> at7
,
405 [in] sequence
< SequenceUnsignedHyper
> at8
,
406 [in] sequence
< SequenceFloat
> at9
,
407 [in] sequence
< SequenceDouble
> at10
,
408 [in] sequence
< SequenceChar
> at11
,
409 [in] sequence
< SequenceString
> at12
,
410 [in] sequence
< SequenceType
> at13
,
411 [in] sequence
< SequenceAny
> at14
,
412 [in] sequence
< SequenceEnum
> at15
,
413 [in] sequence
< SequenceStruct
> at16
,
414 [in] sequence
< SequenceXInterface
> at17
,
415 [in] sequence
< SequenceXComponent
> at18
419 [in] PolyStruct2
<type
> arg1
,
420 [in] PolyStruct2
<any
> arg2
,
421 [in] PolyStruct2
<boolean> arg3
,
422 [in] PolyStruct2
<byte> arg4
,
423 [in] PolyStruct2
<char> arg5
,
424 [in] PolyStruct2
<short> arg6
,
425 [in] PolyStruct2
<long> arg7
,
426 [in] PolyStruct2
<hyper> arg8
,
427 [in] PolyStruct2
<string> arg9
,
428 [in] PolyStruct2
<float> arg10
,
429 [in] PolyStruct2
<double> arg11
,
430 [in] PolyStruct2
<com
::sun
::star
::uno
::XInterface
> arg12
,
431 [in] PolyStruct2
<com
::sun
::star
::lang
::XComponent
> arg13
,
432 [in] PolyStruct2
<PolyStruct
<char,any
> > arg14
,
433 [in] PolyStruct2
<PolyStruct
<PolyStruct
<char,any
>,string> > arg15
,
434 [in] PolyStruct
<string, PolyStruct
<char, PolyStruct2
<any
> > > arg16
,
435 [in] PolyStruct
<PolyStruct
<char,any
>, PolyStruct2
<char> > arg17
,
436 [in] PolyStruct2
<sequence
<type
> > arg101
,
437 [in] PolyStruct2
<sequence
<any
> > arg102
,
438 [in] PolyStruct2
<sequence
<boolean> > arg103
,
439 [in] PolyStruct2
<sequence
<byte> > arg104
,
440 [in] PolyStruct2
<sequence
<char> > arg105
,
441 [in] PolyStruct2
<sequence
<short> > arg106
,
442 [in] PolyStruct2
<sequence
<long> > arg107
,
443 [in] PolyStruct2
<sequence
<hyper> > arg108
,
444 [in] PolyStruct2
<sequence
<string> > arg109
,
445 [in] PolyStruct2
<sequence
<float> > arg110
,
446 [in] PolyStruct2
<sequence
<double> > arg111
,
447 [in] PolyStruct2
<sequence
<com
::sun
::star
::uno
::XInterface
> > arg112
,
448 [in] PolyStruct2
<sequence
<com
::sun
::star
::lang
::XComponent
> > arg113
,
449 [in] PolyStruct2
<sequence
<PolyStruct
<char, sequence
<any
> > > > arg114
,
450 [in] PolyStruct2
<sequence
<PolyStruct
<PolyStruct2
<char>, sequence
<any
> > > > arg115
,
451 [in] PolyStruct2
<sequence
<sequence
<char> > > arg201
,
452 [in] sequence
<PolyStruct2
< char > > arg301
,
453 [in] sequence
<PolyStruct2
<PolyStruct
<char,any
> > > arg302
,
454 [in] sequence
<PolyStruct2
<PolyStruct
<PolyStruct
<char,any
>,string> > > arg303
,
455 [in] sequence
<PolyStruct
<string, PolyStruct
<char, PolyStruct2
<any
> > > > arg304
,
456 [in] sequence
<PolyStruct
<PolyStruct
<char,any
>, PolyStruct2
<char> > > arg305
,
457 [in] sequence
<sequence
<PolyStruct2
< char > > > arg401
,
458 [in] sequence
<sequence
<PolyStruct2
<PolyStruct
<char,any
> > > >arg402
,
459 [in] sequence
<sequence
<PolyStruct2
<PolyStruct
<PolyStruct
<char,any
>,string> > > > arg403
,
460 [in] sequence
<sequence
<PolyStruct
<string, PolyStruct
<char, PolyStruct2
<any
> > > > > arg404
,
461 [in] sequence
<sequence
<PolyStruct
<PolyStruct
<char,any
>, PolyStruct2
<char> > > > arg405
468 service S3
{ interface XTest
; };
472 singleton S5
{ service S2
; };
477 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */