[Libreoffice] minor idl fixes

Tomas Hlavaty tom at logand.com
Thu Apr 19 15:42:38 PDT 2012


Hi all,

bellow are some patches fixing minor issues with idl files.

Also I would like to ask:

1) Exceptions have message and context fields and there should be a
   constructor with arguments (java.lang.String m, java.lang.Object c)
   for those fields.  However, this doesn't seem to be applied
   consistently.  Also when an exception inherits, it should have a
   constructor with all fields for the super classes and itself.
   However, the context field is missing in such cases.  Is there some
   rule to this or is it arbitrary?

2) What is the meaning of 'published' in idl files?  It seems to be
   ignored in javamaker, or at least everything gets generated no matter
   what.  For example, there are enums or constants which are not marked
   as published but other public symbols depend on them.  Shouldn't
   those be public too then?

3) What is the meaning of simgleton referring to service referring to
   interface?  In the example bellow, the BrowseNodeFactory service
   doesn't seem to be generated from idl files.  Should this service be
   bypassed and the singleton reffer directly to the interface?

   module com { module sun { module star { module script { module browse {
   interface XBrowseNodeFactory : ::com::sun::star::uno::XInterface {
       com::sun::star::script::browse::XBrowseNode createView( [in] short viewType );
   };
   }; }; }; }; };
   module com { module sun { module star { module script { module browse {
   service BrowseNodeFactory
   {
       interface XBrowseNodeFactory;
   };
   singleton theBrowseNodeFactory
   {
       service BrowseNodeFactory;
   };
   }; }; }; }; };

Thank you,

Tomas



More information about the LibreOffice mailing list