I'm looking a way before processing the file it can apply any kind of property to preserve the text format as PDF looks and save the result in a .txt file (I know how to do this), with this I mean trying to output all the content of the pdf file in a text file but keep the text in the original locations as pdf file. 


Thanks for your help!