toDocumentCaptureConfig