Hence most (if not all) programs export the text in the order they appear in the file.
And if it is scanned, there is no text at all (but you could OCR it).