Extracting entire document text and putting it in a database

I was wondering if there is any way that Hazel could extract the entire raw unformatted text of a document, from start to finish, and then write that text to another file or to a database or to another document, such as word, excel etc.
The reason for doing this is to try and find a way to digitise some old documents, so that I don't have to store the pdf copy, and so that I can manipulate the resulting data.
The reason for doing this is to try and find a way to digitise some old documents, so that I don't have to store the pdf copy, and so that I can manipulate the resulting data.