#ifndef __com_sun_star_scripting_XScriptInvocation_idl__ #define __com_sun_star_scripting_XScriptInvocation_idl__ #ifndef __com_sun_star_uno_XInterface_idl__ #include #endif //=========================================================================== module com { module sun { module star { module scripting { //=========================================================================== /** XScriptInvocation */ interface XScriptInvocation : com::sun::star::uno::XInterface { //---------------------------------------------------------------------- /** the language specific interface for invocation @param scriptName the scriptName is the language specific name of the script @param params the arguments to passed to/from the function being invoked @returns the value returned from the function being invoked @throws com::sun::star::lang::IllegalArgumentException if the args being passed do not match, or cannot be converted to, those expected by the function being invoked @throws com::sun::star::script::RuntimeException if the runtime throws an execption, or the script throws and does not catch an exception should it also throw a CannotResolveScriptNameException? */ any invoke( string scriptName, [inout] sequence params ) raises ( com::sun::star::lang::IllegalArgumentException, com::sun::star::script::RuntimeException ); }; //=========================================================================== }; }; }; }; // com::sun::star::scripting #endif