Creating method for converting text to PDF.
Finishing the processpdf file.

We should now have most of the functionality available on Mondrian.