I am pretty new to Linux and Libreoffice, very green. I currently have “LibreOffice 5.3.6.1 30(Build:1)” installed on Red Hat Enterprise Linux Server release 7.6 whenever I try to convert a *.xlsx file to PDF I encounter the error “Error: source file could not be loaded” I have tried several command line to help fix this but nothing seems to work. Any advice and or suggestion are welcome.
/usr/lib64/libreoffice/program/soffice --headless --convert-to pdf *.xlsx --output .
/bin/libreoffice --headless --convert-to pdf:writer_pdf_Export *.xlsx --outdir .
/bin/soffice --headless --convert-to pdf test-excel.xlsx --outdir .
[erAck: edited to make that a command line block (selected and Ctrl+K)]