1<?php
2
3interface ilPDFRenderer
4{
5    /**
6     * @param string              $service
7     * @param string              $purpose
8     * @param array               $config
9     * @param \ilPDFGenerationJob $job
10     *
11     * @return void
12     */
13    public function generatePDF($service, $purpose, $config, $job);
14
15
16    /**
17     * Prepare the content processing at the beginning of a PDF generation request
18     * Should be used to initialize the processing of latex code
19     * The PDF renderers require different image formats generated by the MathJax service
20     *
21     * @param string              $service
22     * @param string              $purpose
23     * @return void
24     */
25    public function prepareGenerationRequest($service, $purpose);
26}
27