/usr/bin/lofromtemplate is in libreoffice-common 1:5.2.7-1+deb9u5.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2
#!/bin/sh /usr/lib/libreoffice/program/soffice .uno:NewDoc "$@"