How to export the results to PDF, Powerpoint or Excel