How to install LibreOffice with menu options pre-selected?

I wish to install LibreOffice on many Linux workstations and have all their options identically pre-set to customized settings.
For example, File menu → Export as PDF… → General tab → “Create PDF form” I want to always have unselected and
“Lossless compression” always selected in every installation.
Can I do this via the User Profile, create a macro, alter Tools->Customize, or perhaps something else?
Pre or post installation?
Many thanks.

If you made a fresh “template install” as some user on one machine, and you choose the settings (without the user data) as wanted, they will be stored in the user profile after closing the application. See this location for more details. You now may roll out all the settings replacing the original user proiles of installations for other users anywhere (version and language compatibility assumed) by the new one. You may also roll out templates and BASIC-“macros” this way.

This is not restricted to cases with the same OS for all the users.

Please note: I know the concept, and it should work this way. My experience with the procedure is rather limited.