merge the formfield patch from ooo-build
[ooovba.git] / idlc / test / typelookup.idl
blob315787744a31e516cf18e84b1a4498558ab4f09f
1 /* In this file the idl struct will be tested.
2 bla
3 */
5 #include <enum.idl>
7 typedef short Error;
9 /// idlc defines a test module
10 module idlc
13 typedef long Error;
15 /// test defines a test module
16 module test
19 /** bla
20 BaseStruct defines an * intial struct
22 struct BaseStruct
24 /// a long member
25 long m1;
26 /// a string member
27 string m2;
28 /// a byte member
29 byte m3;
30 /// a type member
31 type m4;
32 /// a enum member, Error in moudle idlc::test
33 Error m5;
34 /// a typedef member, global Error (typedef short)
35 ::Error m6;
36 /// a typedef member, Error in moudle idlc (typedef long)
37 ::idlc::Error m7;
38 /// a typedef member, Error in moudle idlc (typedef long)
39 idlc::Error m8;
40 /// a enum member, Error in moudle idlc::test
41 test::Error m9;
44 /** TestStruct deinfes a struct which inherits
45 from the base strcut type BaseStruct.
47 struct TestStruct : BaseStruct
49 /// a short member
50 short ms1;
51 /// a hyper member
52 hyper ms2;
53 /// a sequence<long> member
54 sequence< long > ms3;
55 /// a long array member with dimesion 5,10
56 long ms4[5][10];
57 /// a string array member with dimension 4,8
58 long[5][10] ms5;
61 }; // test
63 }; // idlc