HTML2PDF

v__CLASS_HTML2PDF__








Logo HTML2PDF





HTML2PDF est un convertisseur de code HTML vers PDF écrit en PHP5, utilisant la librairie TCPDF.

Il permet la conversion d'HTML 4.01 valide au format PDF, et est distribué sous licence LGPL.

Cette librairie a été conçue pour gérer principalement les TABLE imbriquées afin de générer des factures, bon de livraison, et autres documents officiels.

Vous pouvez télécharger la dernière version de HTML2PDF ici : http://html2pdf.fr/.
La liste des balises HTML utilisables est la suivante :

Les balises spécifiques suivantes ont été ajoutées :

La liste des styles CSS utilisables est la suivante :

  • color
  • font-family
  • font-weight
  • font-style
  • font-size
  • text-decoration
  • text-indent
  • text-align
  • text-transform
  • vertical-align
  • width
  • height
  • line-height
  • padding
  • padding-top
  • padding-right
  • padding-bottom
  • padding-left
  • margin
  • margin-top
  • margin-right
  • margin-bottom
  • margin-left
  • position
  • top
  • bottom
  • left
  • right
  • float
  • rotate
  • background
  • background-color
  • background-image
  • background-position
  • background-repeat
  • border
  • border-style
  • border-color
  • border-width
  • border-collapse
  • border-top
  • border-top-style
  • border-top-color
  • border-top-width
  • border-right
  • border-right-style
  • border-right-color
  • border-right-width
  • border-bottom
  • border-bottom-style
  • border-bottom-color
  • border-bottom-width
  • border-left
  • border-left-style
  • border-left-color
  • border-left-width
  • border-radius
  • border-top-left-radius
  • border-top-right-radius
  • border-bottom-left-radius
  • border-bottom-right-radius
  • list-style
  • list-style-type
  • list-style-image
La liste des propriétés utilisables est la suivante :

  • cellpadding
  • cellspacing
  • colspan
  • rowspan
  • width
  • height
  • align
  • valign
  • bgcolor
  • bordercolor
  • border
  • type
  • value
Cette librairie comporte des limitations :