You are here

public static function PHPExcel_Settings::setPdfRenderer in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Settings.php \PHPExcel_Settings::setPdfRenderer()

Set details of the external library that PHPExcel should use for rendering PDF files

Parameters

string $libraryName Internal reference name of the library: e.g. PHPExcel_Settings::PDF_RENDERER_TCPDF, PHPExcel_Settings::PDF_RENDERER_DOMPDF or PHPExcel_Settings::PDF_RENDERER_MPDF

string $libraryBaseDir Directory path to the library's base folder:

Return value

boolean Success or failure

4 calls to PHPExcel_Settings::setPdfRenderer()
01simple-download-pdf.php in vendor/phpoffice/phpexcel/Examples/01simple-download-pdf.php
21pdf.php in vendor/phpoffice/phpexcel/Examples/21pdf.php
26utf8.php in vendor/phpoffice/phpexcel/Examples/26utf8.php
36chartreadwritePDF.php in vendor/phpoffice/phpexcel/Examples/36chartreadwritePDF.php

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Settings.php, line 287

Class

PHPExcel_Settings

Code

public static function setPdfRenderer($libraryName, $libraryBaseDir) {
  if (!self::setPdfRendererName($libraryName)) {
    return FALSE;
  }
  return self::setPdfRendererPath($libraryBaseDir);
}