pipe – PDF a set of free Office files from the command line

Suppose that a set of .docx files are in a directory to convert to .pdf format. Is there a clever way to list the files and channel them to a command to "print" the pdf files in a target directory?

Suppose that MS-Word is not installed on the PC (Office Libre installed).

The preference is for solutions that require minimal installation of Ubuntu utilities / packages and are well documented. Thank you