Error when i wont to save file as PDF using PHPExcel
<p>I'm using the PHPExcel library in my project and its work fine when i wont to save files format (xls/xlsx). But I need to save files as a PDF format and i found some examples but none of them is working for me.
here the code which i use to generate file with pdf format  </p>

<pre><code>&lt;?php

error_reporting(E_ALL);

ini_set('include_path', ini_get('include_path').';../Classes/');

include 'PHPExcel/Classes/PHPExcel/IOFactory.php';

    $inputFileName = 'file.xls';

        try {
               $inputFileType = PHPExcel_IOFactory::identify($inputFileName);
               $objReader = PHPExcel_IOFactory::createReader($inputFileType);
               $objPHPExcel = $objReader-&gt;load($inputFileName);
        } catch(Exception $e) {
               die('Error loading file "'.pathinfo($inputFileName,PATHINFO_BASENAME).'": '.$e-&gt;getMessage());
        }

$objPHPExcel-&gt;setActiveSheetIndex(0);
$row = $objPHPExcel-&gt;getActiveSheet()-&gt;getHighestRow()+1;

        $sheet = $objPHPExcel-&gt;getSheet(0); 
        $highestRow = $sheet-&gt;getHighestRow(); 
        $highestColumn = $sheet-&gt;getHighestColumn();

$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'PDF');

$objSheet = $objPHPExcel-&gt;getActiveSheet();

$objPHPExcel-&gt;getActiveSheet()-&gt;SetCellValue('A1', 'test test');

$objWriter-&gt;save('test100.pdf');

?&gt;
</code></pre>

<p>and here what the browser show me </p>

<pre><code>( ! ) Fatal error: Uncaught exception 'PHPExcel_Writer_Exception' with message 'PDF Rendering library has not been defined.' in C:\wamp\www\projet\PHPExcel\Classes\PHPExcel\Writer\PDF.php on line 56
</code></pre>

<p>what did  i do wrong</p>