set_doc_properties function

Set document properties