Lots of classes implement XInvocation in order to add extra methods and properties that are determined at runtime. One problem with this is that when such an object is introspected with the css.script.Invocation service then that service uses the XInvocation interface directly to query what methods and properties are supported instead of creating an XIntrospectionAccess via the css.beans.Introspection service. It looks like probably all of the current implementations of XInvocation only use it to advertise the dynamic methods and don’t advertise any concrete methods provided by any interfaces that the object implements. This means for example that when the object is accessed by pyuno, only the dynamic methods and properties can be used. This patch adds a helper class that can be used to help implement XInvocation in such a way that if a requested method isn’t found as a dynamic method, it can pass the method call on to the helper which will use the normal Introspection service to query the available methods and properties. Change-Id: Ia4363594ee274c36249a0d1c94f16a829ace4647 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210130 Tested-by: Jenkins Reviewed-by: Neil Roberts <nroberts@libreoffice.org>
Helpers for Implementing UNO Components
Here goes anything not generic / mature enough to end up in URE's stable interface
at cppuhelper, etc.