Prepare template UIDocumentPreview.gtmpl