Fai la tua domanda

vlad.bezugliy's profile - attività

2021-02-08 04:53:23 +0200 received badge  Domande famose (source)
2020-06-21 04:38:09 +0200 received badge  Domanda notevole (source)
2020-06-21 04:34:29 +0200 received badge  Buona domanda (source)
2020-06-20 21:11:07 +0200 received badge  Domande famose (source)
2020-06-20 17:55:07 +0200 received badge  Domanda gettonata (source)
2020-06-20 12:07:46 +0200 received badge  Domanda notevole (source)
2020-06-20 12:06:58 +0200 ha commentato una domanda UI language changes are not applied until manual restart

@ajlittoz, I agree, but what is restart in terms of macro? How can I do it via script

2020-06-20 10:30:05 +0200 ha posto una domanda UI language changes are not applied until manual restart

UI language changes are not applied until manual restart Hi all. I use uno api for python and need to change UI language

2020-06-20 09:36:42 +0200 ha commentato una risposta python uno. 'com.sun.star.task.XRestartManager' object has no attribute 'requestRestart'

Thank you, OfficeRestartManager instantiated and worked properly in this way.

2020-06-20 09:35:37 +0200 received badge  Sostenitore (source)
2020-06-20 09:35:33 +0200 ha accettato una risposta python uno. 'com.sun.star.task.XRestartManager' object has no attribute 'requestRestart'

Hi all. I need to restart office after changing UI language (so as real application behaves). So I found XRestartManager (https://www.openoffice.org/api/docs/c...) 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!

2020-06-20 09:35:33 +0200 received badge  Studioso (source)
2020-06-20 09:29:50 +0200 received badge  Domanda gettonata (source)
2020-06-19 23:04:49 +0200 received badge  Studente (source)
2020-06-19 20:55:21 +0200 ha posto una domanda python uno. 'com.sun.star.task.XRestartManager' object has no attribute 'requestRestart'

python uno. 'com.sun.star.task.XRestartManager' object has no attribute 'requestRestart' Hi all. I need to restart offic