Nikolai Pretzell wrote:
Hi Ary,


Hi, im trying to registry two interfaces inside the same .idl file...


I can't give you a workaround (others probably can), but AFAIK, the creators of UNO IDL did explicitely intend, there should only be one IDL type in one IDL file. This is a feature, not a bug. ;-)

That is not quite true. Technically, you can have as many declarations as you like in one UNOIDL file (see Appendix B of the Developer's Guide). But if we ever move from the model of textual include of UNOIDL files within other UNOIDL files and of translating from UNOIDL to a binary rdb to some other model that serves our needs better, there might come a time where each UNOIDL declaration must live in a file of its own. One more reason to stick to the prinicple of one declaration per UNOIDL file.


By the way, the number of declarations per UNOIDL file was a red herring in the original post. What was lacking there, I think, was to have one Java class in the Java UNO component that registers multiple services (if multiple services were indeed intended, I am not very fluent with Calc add-ins).

-Stephan

Nikolai

--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to