https://blog-qa.aspose.com/words/convert-text-to-pdf-using-java/
Convert Text Files to PDF in Java