|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Inheritance diagram for ilWkhtmlToPdfRenderer:
Collaboration diagram for ilWkhtmlToPdfRenderer:Public Member Functions | |
| __construct ($phpunit=false) | |
| ilWkhtmlToPdfRenderer constructor. More... | |
| addConfigElementsToForm (ilPropertyFormGUI $form, $service, $purpose) | |
| populateConfigElementsInForm (ilPropertyFormGUI $form, $service, $purpose, $config) | |
| validateConfigInForm (ilPropertyFormGUI $form, $service, $purpose) | |
| getConfigFromForm (ilPropertyFormGUI $form, $service, $purpose) | |
| getDefaultConfig ($service, $purpose) | |
| generatePDF ($service, $purpose, $config, $job) | |
| getHtmlTempName () | |
| createPDFFileFromHTMLFile ($a_path_to_file, $config, $job) | |
| getPdfTempName () | |
| prepareGenerationRequest ($service, $purpose) | |
Public Member Functions inherited from ilRendererConfig | |
| addConfigElementsToForm (\ilPropertyFormGUI $form, $service, $purpose) | |
| populateConfigElementsInForm (\ilPropertyFormGUI $form, $service, $purpose, $config) | |
| validateConfigInForm (\ilPropertyFormGUI $form, $service, $purpose) | |
| getConfigFromForm (\ilPropertyFormGUI $form, $service, $purpose) | |
| getDefaultConfig ($service, $purpose) | |
| generatePDF ($service, $purpose, $config, $job) | |
| prepareGenerationRequest ($service, $purpose) | |
| Prepare the content processing at the beginning of a PDF generation request Should be used to initialize the processing of latex code The PDF renderers require different image formats generated by the MathJax service. More... | |
Protected Member Functions | |
| setLanguage ($lng) | |
| getTempFileName ($file_type) | |
| runCommandLine ($a_path_to_file, $a_target, $config) | |
| redirectLog () | |
| appendDefaultFontStyle ($a_path_to_file, $config) | |
Protected Attributes | |
| $config | |
| $lng | |
Static Protected Attributes | |
| static | $instance = null |
Definition at line 3 of file class.ilWkhtmlToPdfRenderer.php.
| ilWkhtmlToPdfRenderer::__construct | ( | $phpunit = false | ) |
ilWkhtmlToPdfRenderer constructor.
| bool | $phpunit |
Definition at line 16 of file class.ilWkhtmlToPdfRenderer.php.
References $DIC, and setLanguage().
Here is the call graph for this function:| ilWkhtmlToPdfRenderer::addConfigElementsToForm | ( | ilPropertyFormGUI | $form, |
| $service, | |||
| $purpose | |||
| ) |
| ilPropertyFormGUI | $form | |
| string | $service | |
| string | $purpose |
Definition at line 37 of file class.ilWkhtmlToPdfRenderer.php.
|
protected |
| $a_path_to_file | ||
| ilWkhtmlToPdfConfig | $config |
Definition at line 190 of file class.ilWkhtmlToPdfRenderer.php.
References $config.
Referenced by runCommandLine().
Here is the caller graph for this function:| ilWkhtmlToPdfRenderer::createPDFFileFromHTMLFile | ( | $a_path_to_file, | |
| $config, | |||
| $job | |||
| ) |
| $a_path_to_file | ||
| $config | ||
| ilPDFGenerationJob | $job |
Definition at line 126 of file class.ilWkhtmlToPdfRenderer.php.
References $config, and runCommandLine().
Referenced by generatePDF().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWkhtmlToPdfRenderer::generatePDF | ( | $service, | |
| $purpose, | |||
| $config, | |||
| $job | |||
| ) |
| string | $service | |
| string | $purpose | |
| array | $config | |
| ilPDFGenerationJob | $job |
Implements ilPDFRenderer.
Definition at line 97 of file class.ilWkhtmlToPdfRenderer.php.
References $config, createPDFFileFromHTMLFile(), and getHtmlTempName().
Here is the call graph for this function:| ilWkhtmlToPdfRenderer::getConfigFromForm | ( | ilPropertyFormGUI | $form, |
| $service, | |||
| $purpose | |||
| ) |
| ilPropertyFormGUI | $form | |
| string | $service | |
| string | $purpose |
Definition at line 74 of file class.ilWkhtmlToPdfRenderer.php.
| ilWkhtmlToPdfRenderer::getDefaultConfig | ( | $service, | |
| $purpose | |||
| ) |
| string | $service | |
| string | $purpose |
Implements ilRendererConfig.
Definition at line 85 of file class.ilWkhtmlToPdfRenderer.php.
References $config.
| ilWkhtmlToPdfRenderer::getHtmlTempName | ( | ) |
Definition at line 107 of file class.ilWkhtmlToPdfRenderer.php.
References getTempFileName().
Referenced by generatePDF().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWkhtmlToPdfRenderer::getPdfTempName | ( | ) |
Definition at line 173 of file class.ilWkhtmlToPdfRenderer.php.
References getTempFileName().
Referenced by runCommandLine().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| $file_type |
Definition at line 116 of file class.ilWkhtmlToPdfRenderer.php.
References ilUtil\ilTempnam().
Referenced by getHtmlTempName(), and getPdfTempName().
Here is the call graph for this function:
Here is the caller graph for this function:| ilWkhtmlToPdfRenderer::populateConfigElementsInForm | ( | ilPropertyFormGUI | $form, |
| $service, | |||
| $purpose, | |||
| $config | |||
| ) |
| ilPropertyFormGUI | $form | |
| string | $service | |
| string | $purpose | |
| ilWkhtmlToPdfConfig | $config |
Definition at line 49 of file class.ilWkhtmlToPdfRenderer.php.
References $config.
| ilWkhtmlToPdfRenderer::prepareGenerationRequest | ( | $service, | |
| $purpose | |||
| ) |
| string | $service | |
| string | $purpose |
Implements ilPDFRenderer.
Definition at line 201 of file class.ilWkhtmlToPdfRenderer.php.
References ilMathJax\getInstance(), ilMathJax\PURPOSE_PDF, and ilMathJax\RENDER_SVG_AS_XML_EMBED.
Here is the call graph for this function:
|
protected |
Definition at line 181 of file class.ilWkhtmlToPdfRenderer.php.
Referenced by runCommandLine().
Here is the caller graph for this function:
|
protected |
| $a_path_to_file | |
| $a_target | |
| $config |
Definition at line 148 of file class.ilWkhtmlToPdfRenderer.php.
References $config, $DIC, $log, appendDefaultFontStyle(), ilUtil\execQuoted(), getPdfTempName(), and redirectLog().
Referenced by createPDFFileFromHTMLFile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| $lng |
Definition at line 27 of file class.ilWkhtmlToPdfRenderer.php.
References $lng.
Referenced by __construct().
Here is the caller graph for this function:| ilWkhtmlToPdfRenderer::validateConfigInForm | ( | ilPropertyFormGUI | $form, |
| $service, | |||
| $purpose | |||
| ) |
| ilPropertyFormGUI | $form | |
| string | $service | |
| string | $purpose |
Definition at line 62 of file class.ilWkhtmlToPdfRenderer.php.
|
protected |
Definition at line 8 of file class.ilWkhtmlToPdfRenderer.php.
Referenced by appendDefaultFontStyle(), createPDFFileFromHTMLFile(), generatePDF(), getDefaultConfig(), populateConfigElementsInForm(), and runCommandLine().
|
staticprotected |
Definition at line 6 of file class.ilWkhtmlToPdfRenderer.php.
|
protected |
Definition at line 10 of file class.ilWkhtmlToPdfRenderer.php.
Referenced by setLanguage().