doc-view-doc->txt

doc-view-doc->txt is a compiled Lisp function in `doc-view.el'.

(doc-view-doc->txt TXT CALLBACK)

Convert the current document to text and call CALLBACK when done.