This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.


Rendering any html content using TCPDF’s method writeHTML. The default text settings are those from generalText. It is possible to include a css style tag and also inline styles. This ViewHelper is especially useful for rendering Rich Text.

Basic Usage

        <h1>Some html headline</h1>
        <p>Lorem ipsum</p>

Advanced Usage

<pdf:html styleSheet="fileadmin/template/pdf_styles.css" autoHyphenation="1" padding="{bottom: 5}">
                h1 {
                        color: #ff642c;

        <h1>Some html headline</h1>
        <p style="color: #3a718a;">Lorem ipsum</p>