Linux have tools for everything. Converting a pdf into another document type is as simple as it get.
Abiword and OpenOffice both supports opening pdf and saving them in the desired format. But a more elegant command line tool exists;
pdftotext doc.pdf doc.txt
All sorts of options are allowed – try it out!