{{ :blocks:logo-apl.png?nolink |}} ===== Integration of data in the certificate templates ===== ====Introduction==== The Certificate module places a free layout of text above a full page background image. The text must be written in simple HTML, using a reduced set of tags. The underlying technology is the writeHTMLCell function of the TCPDF library that allows some limited formatting of HTML formatted text content in the PDF document. Note that placement may not be always accurate. **Future version** Last experiments have been successful using a data => formatting function + location placement using simple Json descriptors. This method, with an addition of a coordinates grid printed on a test version of the document leaded to quite good results, and making tuning of the document much more accurate thatn the HTML template. We will integrate this method in the nest releases. ==== HTML tags ==== Among the recognized (most common) tags: * Titles:

to

(return of H4, H5 and H6 is not guaranteed) * Paragraphs :

* The spacers :
* Simple lists :