PDF convertor * distributed under the LGPL License * * @author Laurent MINGUET * * isset($_GET['vuehtml']) is not mandatory * it allow to display the result in the HTML format */ ob_start(); ?>

Chapitre 1

Contenu du chapitre 1

Chapitre 2

intro au chapitre 2

Chapitre 2.1

Contenu du chapitre 2.1

Chapitre 2.2

Contenu du chapitre 2.2

Chapitre 2.3

Contenu du chapitre 2.3

Chapitre 3

intro au chapitre 3

Chapitre 3.1

Contenu du chapitre 3.1

Chapitre 3.2

intro au chapitre 3.2

Chapitre 3.2.1

Contenu du chapitre 3.2.1

Chapitre 3.2.2

Contenu du chapitre 3.2.2
writeHTML($content, isset($_GET['vuehtml'])); $html2pdf->createIndex('Sommaire', 25, 12, false, true, 1); $html2pdf->Output('bookmark.pdf'); } catch(HTML2PDF_exception $e) { echo $e; exit; }