DEPRECATION WARNING

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.

Information / Including

Introduction

MagePDF is a set of ViewHelpers to create inline PDF by using fluid. You can implement it in Flux to create PDF Page Templates or use the PDF-ViewHelper anywhere to render html output as a PDF.

The ViewHelper uses different options provided by DOMPDF to flexible configure it to your needs.

DOMPDF

The latest DOMPDF Version is included. For updating the DOMPDF Library check EXT:magepdf/Resources/Private/Libraries/dompdf directory.

Including into Fluid Templates

To use the PDF ViewHelpers, just add the Namespace to your Fluid-Template by using

<div xmlns="http://www.w3.org/1999/xhtml" lang="en"
 xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
 xmlns:pdf="http://typo3.org/ns/MageDeveloper/Magepdf/ViewHelpers">
 (Your content goes here)
</div>

or you may use

{namespace pdf = MageDeveloper\Magepdf\ViewHelpers}