public XInvocation initResources() {
try {
com.sun.star.uno.XInterface xResource = (com.sun.star.uno.XInterface) xMSF.createInstance("com.sun.star.resource.VclStringResourceLoader");
if (xResource == null) {
showCommonResourceError(xMSF);
throw new IllegalArgumentException();
} else {
XInvocation xResInvoke = (XInvocation) com.sun.star.uno.UnoRuntime.queryInterface(XInvocation.class, xResource);
xResInvoke.setValue("FileName", Module);
return xResInvoke;
}