Manually specify format detection and conversion (overriding automatic format detection using filename extension or when filename extension is missing altogether)
pandoc -f|-r|--from|--read docx|... path/to/input -t|-w|--to|--write pdf|... -o|--output path/to/output