Hi all. I need to restart office after changing UI language (so as real application behaves). So I found XRestartManager (Interface XRestartManager) which has requestRestart method I wanted to try.
But, when I run following code:
import uno
restart_manager = uno.getClass("com.sun.star.task.XRestartManager")()
restart_manager.requestRestart()
I have got
AttributeError: 'com.sun.star.task.XRestartManager' object has no attribute 'requestRestart'
Maybe there are some another way to perform app restart. Any advices might be helpfull.
Thank you!