LibreOffice Restart command

Creating a macro - Writing a Script - Using the API

LibreOffice Restart command

Postby gkick » Sun Feb 07, 2021 1:55 am

Hi all,

Whenever some settings like eg language changes, LO displays a Restart message, goes down and restarts with the last file. Anyone knows the corresponding command for a macro?

Thanks
Libre Office 6.4.6 on Windows 10 HSQL 2.51 backend
gkick
 
Posts: 295
Joined: Wed Aug 07, 2019 5:24 pm
Location: Chile

Re: LibreOffice Restart command

Postby JeJe » Sun Feb 07, 2021 2:38 am

Openoffice 4.1.6
Windows 8
JeJe
Volunteer
 
Posts: 1564
Joined: Wed Mar 09, 2016 2:40 pm

Re: LibreOffice Restart command

Postby gkick » Sun Feb 07, 2021 3:35 am

Thanks JeJe,

does this mean I need to import"XRestartManager.idl"; into the odb and then just call the function via a sub ?

cheers
Libre Office 6.4.6 on Windows 10 HSQL 2.51 backend
gkick
 
Posts: 295
Joined: Wed Aug 07, 2019 5:24 pm
Location: Chile

Re: LibreOffice Restart command

Postby JeJe » Sun Feb 07, 2021 11:49 am

Openoffice 4.1.6
Windows 8
JeJe
Volunteer
 
Posts: 1564
Joined: Wed Mar 09, 2016 2:40 pm

Re: LibreOffice Restart command

Postby gkick » Sun Feb 07, 2021 7:36 pm

@JeJe ,thanks for that, rolling up my sleeves.
Libre Office 6.4.6 on Windows 10 HSQL 2.51 backend
gkick
 
Posts: 295
Joined: Wed Aug 07, 2019 5:24 pm
Location: Chile


Return to Macros and UNO API

Who is online

Users browsing this forum: No registered users and 4 guests