It can be done for the pdf, doc, xls and ppt documents, though can you please be more precise in stating which other document formats you want to support in the "etc" line?
I am able to show you a demo for those 4 document formats. What kind of hosting do you have? Shared hosting? Do you have root access?