/usr/bin/lofromtemplate is in libreoffice-common 1:5.1.2-0ubuntu1.
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 "$@"