mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
add pdf and mobi libraries
This commit is contained in:
parent
2b58426b2d
commit
4188f38ad5
297 changed files with 126557 additions and 7 deletions
31
inc/3rdparty/libraries/mpdf/examples/example39_PDFA_compliance.php
vendored
Normal file
31
inc/3rdparty/libraries/mpdf/examples/example39_PDFA_compliance.php
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
|
||||
|
||||
|
||||
$html = '
|
||||
<h1>mPDF</h1>
|
||||
<h2>PDFA Compliance</h2>
|
||||
<p>PDF/A1-b is a file format for the long-term archiving of electronic documents. This is an example of a PDF/A1-b compliant files.</p>
|
||||
';
|
||||
//==============================================================
|
||||
//==============================================================
|
||||
//==============================================================
|
||||
include("../mpdf.php");
|
||||
|
||||
$mpdf=new mPDF();
|
||||
|
||||
$mpdf->PDFA = true;
|
||||
$mpdf->PDFAauto = true;
|
||||
$mpdf->WriteHTML($html);
|
||||
|
||||
$mpdf->Output();
|
||||
|
||||
exit;
|
||||
//==============================================================
|
||||
//==============================================================
|
||||
//==============================================================
|
||||
//==============================================================
|
||||
//==============================================================
|
||||
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue