ContentViewForm::_prepareDocument

Prepares the document