cainteoir_document_view: render the document