5. PDF
• Développé par Adobe
• 1ère sortie 1993
• Format propriétaire jusqu’en 2008
• ISO TC 171 SC 2 WG 8 (v1.7)
6. “
La spécificité du PDF est de préserver la mise en
forme d’un fichier– polices d'écritures, images,
objets graphiques, etc. – telle qu'elle a été
définie par son auteur, et cela quels que soient
le logiciel, le système d'exploitation et
l'ordinateur utilisés pour l’imprimer ou le
visualiser.
https://fr.wikipedia.org/wiki/Portable_Document_Format
19. • Abordable en simple HTML (comme pour un
template email)
• Certaines contraintes de CSS
• Difficultés dans le maitrise de la conversion
des unités de mesure des images
CONCLUSIONS
23. Le défi
• Typos intégrées
• SVG avec user préfs
• Taille adaptée aux images
• Marques de découpe
• Compatible
WooCommerce
25. TCPDF
• Class PHP open source
http://www.tcpdf.org/
• Développé par Nicola Asuni (2001)
• SourceForge / GitHub 6.0.090 (août 2014)
• Active v6.2.12 (sept 2015)
26. Fonctionnalités principales
• No external libraries are required for the basic functions;
• All standard page formats, custom page formats, custom
margins and units of measure;
• UTF-8 Unicode and Right-To-Left languages;
• TrueTypeUnicode, OpenTypeUnicode, TrueType, OpenType,
Type1 and CID-0 fonts;
• Font subsetting;
• Methods to publish some XHTML + CSS code, Javascript and
Forms;
• Images, graphic (geometric figures) and transformation
methods;
• Supports JPEG, PNG and SVG images natively
• 1D and 2D barcodes
• ICC Color Profiles, Grayscale, RGB, CMYK, Spot Colors and
Transparencies;
• Automatic page header and footer management;
• Document encryption up to 256 bit and digital signature
certifications;
• Transactions to UNDO commands;
• PDF annotations, including links, text and file attachments;
• Ttext rendering modes (fill, stroke and clipping);
• Multiple columns mode;
• No-write page regions;
• Bookmarks and table of content;
• Text hyphenation;
• Text stretching and spacing (tracking/kerning);
• Automatic page break, line break and text alignments including
justification;
• Automatic page numbering and page groups;
• Move and delete pages;
• Page compression (requires php-zlib extension);
• XOBject templates;
• PDF/A-1b (ISO 19005-1:2005) support.
31. CONCLUSIONS
• Toutes les typos ne sont pas égales
• Contraintes dans la taille des SVGs
• Certaines incompatibilités avec des tierces
parties
32. Extensions WP pour démarrer
• WP Post to PDF Enhanced
https://wordpress.org/plugins/wp-post-to-
pdf-enhanced/
• TCPDF Library
https://wordpress.org/plugins/tcpdf/
In 2008 Adobe Systems' PDF Reference 1.7 became ISO 32000:1:2008. Thereafter, further development of PDF (including PDF 2.0) is conducted by ISO's TC 171 SC 2 WG 8 with the participation of Adobe Systems and other subject matter experts.
Le standard, grâce à Internet, la facilité d’envoyer par mail, mettre à disposition au téléchargement. Puis archiver, partager et imprimer.
In 2008 Adobe Systems' PDF Reference 1.7 became ISO 32000:1:2008. Thereafter, further development of PDF (including PDF 2.0) is conducted by ISO's TC 171 SC 2 WG 8 with the participation of Adobe Systems and other subject matter experts.
Client manufactures industrial plasters
Lots of technical information about products
Client wanted to be able to frequently update product info for PDFs.
CPT created to manage both the product page, with minimum info for view on site, and for technical spec sheet with more complete info to be downloaded as PDF.
529 plugins avec recherche « pdf »
Not all for generating PDFs (PDF image generator, PDF embed, PDF Viewers, etc)
Basic usage: print your current page
Like creating a template for an email
Tables
Limited CSS, no external style sheet
Difficulty of translating image sizes
Translatable
In 2008 Adobe Systems' PDF Reference 1.7 became ISO 32000:1:2008. Thereafter, further development of PDF (including PDF 2.0) is conducted by ISO's TC 171 SC 2 WG 8 with the participation of Adobe Systems and other subject matter experts.
FPDF doesn’t list SVG support (2001) - wp plugins
DOMPDF (used in woocommerce PDF Invoices) (2005) - wp plugins
Wkhtmltopdf 2008 discovered recently (no plugins)
In 2008 Adobe Systems' PDF Reference 1.7 became ISO 32000:1:2008. Thereafter, further development of PDF (including PDF 2.0) is conducted by ISO's TC 171 SC 2 WG 8 with the participation of Adobe Systems and other subject matter experts.