aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/libraries/mpdf/examples/example41_MPDFI_template.php
diff options
context:
space:
mode:
authortcitworld <tcit@tcit.fr>2014-08-04 21:34:44 +0200
committertcitworld <tcit@tcit.fr>2014-08-04 21:34:44 +0200
commitb83690ebd873abc29a3f365b0cc69125eb6021a1 (patch)
tree62f2b59a6a14d96ccde65db94e43747ae62bf43a /inc/3rdparty/libraries/mpdf/examples/example41_MPDFI_template.php
parent358c689cec917c173ee080777a8dc51603a3979c (diff)
downloadwallabag-b83690ebd873abc29a3f365b0cc69125eb6021a1.tar.gz
wallabag-b83690ebd873abc29a3f365b0cc69125eb6021a1.tar.zst
wallabag-b83690ebd873abc29a3f365b0cc69125eb6021a1.zip
removing examples for mpdf
Diffstat (limited to 'inc/3rdparty/libraries/mpdf/examples/example41_MPDFI_template.php')
-rw-r--r--inc/3rdparty/libraries/mpdf/examples/example41_MPDFI_template.php36
1 files changed, 0 insertions, 36 deletions
diff --git a/inc/3rdparty/libraries/mpdf/examples/example41_MPDFI_template.php b/inc/3rdparty/libraries/mpdf/examples/example41_MPDFI_template.php
deleted file mode 100644
index 12f592db..00000000
--- a/inc/3rdparty/libraries/mpdf/examples/example41_MPDFI_template.php
+++ /dev/null
@@ -1,36 +0,0 @@
1<?php
2
3include("../mpdf.php");
4
5$mpdf=new mPDF('','','','',15,15,57,16,9,9);
6$mpdf->SetImportUse();
7
8$mpdf->SetDisplayMode('fullpage');
9
10$mpdf->SetCompression(false);
11
12// Add First page
13$pagecount = $mpdf->SetSourceFile('sample_basic.pdf');
14
15$crop_x = 50;
16$crop_y = 50;
17$crop_w = 100;
18$crop_h = 100;
19
20$tplIdx = $mpdf->ImportPage(2, $crop_x, $crop_y, $crop_w, $crop_h);
21
22$x = 50;
23$y = 50;
24$w = 100;
25$h = 100;
26
27$mpdf->UseTemplate($tplIdx, $x, $y, $w, $h);
28
29$mpdf->Rect($x, $y, $w, $h);
30
31$mpdf->Output('newpdf.pdf', 'I');
32
33exit;
34
35
36?> \ No newline at end of file