Hello,
I am using PHPExcel 1.8.0 I have used eexcelview and tlbexcelview for downloading gridview as excel and csv, it works fine.
But when I try to download as PDF it does not function. First I was getting an error:
PDF Rendering library has not been defined.
Then after reading some blogs I got to know that I have to change settings.php in PHPExcel and let it know that which provider I have to use. so I changed this code in settings.php:
/**
* Name of the external Library used for rendering PDF files
* e.g.
* mPDF
*
* @var string
*/
private static $_pdfRendererName = 'mPDF';
So after this I am getting this error:
include(PHPExcel_Writer_PDF_mPDF.php): failed to open stream: No such file or directory
PHPExcel/Writer/PDF/mPDF.php does exist there
Can anyone please guide me what are the exact changes I need to do and in which files. If anyone of you would have setup this before in eexcelview or tlbexcelview you could easily guide me.
Thanks.