RF - minor cleanup of pdf_odf code

A little bit of cleanup of the pdf_odf code along with some minor changes so documentation matches code.