Added functional for display QR code for preview document