<div dir="ltr"><div>Hello,</div><div><br></div><div>Over the past week, I worked on changing the UNO interface methods that were hard-coded as individual C++ functions to a single a C++ method mapped to the __index metamethod.</div><div><br></div><div>As discussed with Stephan, I used the css.scripting.Invocation interface to find out the number and types of arguments the given UNO method expects. With that information I then converted the given Lua arguments to C++ css::uno::Any arguments and used css.scripting.XInvocation's invoke method to make the actual UNO method call.</div><div><br></div><div>The plan for the coming week is to be able to pass more arguments and return types in <br>
genericFunction.</div><div><br></div><div><a href="https://gerrit.libreoffice.org/c/core/+/168298">https://gerrit.libreoffice.org/c/core/+/168298</a></div><div><br></div><div>Regards,</div><div>Venetia Furtado<br></div></div>