Create PDF file from rst_content using style_text as style.
Optinally, add header or footer.
StringIO file instance containing PDF file.
obj