added a fill_flattened_form

I added a way to output the content in a flattened pdf, in case the PDF shouldn't be edited once it's generated