Permalink
Browse files

rename all the examples from `exemple` to `example`

  • Loading branch information...
spipu committed Jul 31, 2018
1 parent 67d8d0b commit 2808c80b108facea5f54cb31a10cb1813cbe4c40
Showing with 81 additions and 80 deletions.
  1. +1 −0 CHANGELOG.md
  2. +2 −2 examples/{exemple00.php → example00.php}
  3. +2 −2 examples/{exemple12.php → example01.php}
  4. +2 −2 examples/{exemple02.php → example02.php}
  5. +2 −2 examples/{exemple03.php → example03.php}
  6. +2 −2 examples/{exemple04.php → example04.php}
  7. +2 −2 examples/{exemple05.php → example05.php}
  8. +2 −2 examples/{exemple01.php → example06.php}
  9. +3 −3 examples/{exemple07.php → example07.php}
  10. +2 −2 examples/{exemple08.php → example08.php}
  11. +2 −2 examples/{exemple09.php → example09.php}
  12. +2 −2 examples/{exemple10.php → example10.php}
  13. +2 −2 examples/{exemple11.php → example11.php}
  14. +2 −2 examples/{exemple06.php → example12.php}
  15. +2 −2 examples/{exemple13.php → example13.php}
  16. +2 −2 examples/{exemple14.php → example14.php}
  17. +2 −2 examples/{regle.php → measure.php}
  18. 0 examples/res/{exemple00.php → example00.php}
  19. 0 examples/res/{exemple01.php → example01.php}
  20. 0 examples/res/{exemple02.php → example02.php}
  21. 0 examples/res/{exemple03.php → example03.php}
  22. 0 examples/res/{exemple04.php → example04.php}
  23. 0 examples/res/{exemple05.php → example05.php}
  24. 0 examples/res/{exemple06.css → example06.css}
  25. +1 −1 examples/res/{exemple06.php → example06.php}
  26. 0 examples/res/{exemple07a.php → example07a.php}
  27. 0 examples/res/{exemple07b.php → example07b.php}
  28. 0 examples/res/{exemple08.php → example08.php}
  29. 0 examples/res/{exemple09.png.php → example09.png.php}
  30. +4 −4 examples/res/{exemple10.php → example10.php}
  31. BIN examples/res/{exemple10a.gif → example10a.gif}
  32. BIN examples/res/{exemple10b.jpg → example10b.jpg}
  33. BIN examples/res/{exemple10c.gif → example10c.gif}
  34. 0 examples/res/{exemple11.php → example11.php}
  35. 0 examples/res/{exemple12.php → example12.php}
  36. 0 examples/res/{exemple13.php → example13.php}
  37. 0 examples/res/{exemple14.php → example14.php}
  38. +1 −1 examples/res/{regle.php → measure.php}
  39. BIN examples/res/{regle.png → measure.png}
  40. +41 −41 src/Tests/ExamplesTest.php
@@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file.
## [5.2.1](https://github.com/spipu/html2pdf/compare/v5.2.0...master) - unreleased
* rename all the examples from `exemple` to `example`
## [5.2.0](https://github.com/spipu/html2pdf/compare/v5.1.0...v5.2.0) - 2018-07-31
@@ -17,13 +17,13 @@
try {
ob_start();
include dirname(__FILE__).'/res/exemple00.php';
include dirname(__FILE__).'/res/example00.php';
$content = ob_get_clean();
$html2pdf = new Html2Pdf('P', 'A4', 'fr');
$html2pdf->setDefaultFont('Arial');
$html2pdf->writeHTML($content);
$html2pdf->output('exemple00.pdf');
$html2pdf->output('example00.pdf');
} catch (Html2PdfException $e) {
$html2pdf->clean();
@@ -17,12 +17,12 @@
try {
ob_start();
include dirname(__FILE__).'/res/exemple12.php';
include dirname(__FILE__).'/res/example01.php';
$content = ob_get_clean();
$html2pdf = new Html2Pdf('P', 'A4', 'fr');
$html2pdf->writeHTML($content);
$html2pdf->output('exemple12.pdf');
$html2pdf->output('example01.pdf');
} catch (Html2PdfException $e) {
$html2pdf->clean();
@@ -17,13 +17,13 @@
try {
ob_start();
include dirname(__FILE__).'/res/exemple02.php';
include dirname(__FILE__).'/res/example02.php';
$content = ob_get_clean();
$html2pdf = new Html2Pdf('P', 'A4', 'fr', true, 'UTF-8', array(15, 5, 15, 5));
$html2pdf->pdf->SetDisplayMode('fullpage');
$html2pdf->writeHTML($content);
$html2pdf->output('exemple02.pdf');
$html2pdf->output('example02.pdf');
} catch (Html2PdfException $e) {
$html2pdf->clean();
@@ -17,13 +17,13 @@
try {
ob_start();
include dirname(__FILE__).'/res/exemple03.php';
include dirname(__FILE__).'/res/example03.php';
$content = ob_get_clean();
$html2pdf = new Html2Pdf('P', 'A4', 'fr', true, 'UTF-8', 3);
$html2pdf->pdf->SetDisplayMode('fullpage');
$html2pdf->writeHTML($content);
$html2pdf->output('exemple03.pdf');
$html2pdf->output('example03.pdf');
} catch (Html2PdfException $e) {
$html2pdf->clean();
@@ -17,13 +17,13 @@
try {
ob_start();
include dirname(__FILE__).'/res/exemple04.php';
include dirname(__FILE__).'/res/example04.php';
$content = ob_get_clean();
$html2pdf = new Html2Pdf('P', 'A4', 'fr');
$html2pdf->pdf->SetDisplayMode('fullpage');
$html2pdf->writeHTML($content);
$html2pdf->output('exemple04.pdf');
$html2pdf->output('example04.pdf');
} catch (Html2PdfException $e) {
$html2pdf->clean();
@@ -17,13 +17,13 @@
try {
ob_start();
include dirname(__FILE__).'/res/exemple05.php';
include dirname(__FILE__).'/res/example05.php';
$content = ob_get_clean();
$html2pdf = new Html2Pdf('P', 'A4', 'fr');
$html2pdf->pdf->SetDisplayMode('fullpage');
$html2pdf->writeHTML($content);
$html2pdf->output('exemple05.pdf');
$html2pdf->output('example05.pdf');
} catch (Html2PdfException $e) {
$html2pdf->clean();
@@ -17,12 +17,12 @@
try {
ob_start();
include dirname(__FILE__).'/res/exemple01.php';
include dirname(__FILE__).'/res/example06.php';
$content = ob_get_clean();
$html2pdf = new Html2Pdf('P', 'A4', 'fr');
$html2pdf->writeHTML($content);
$html2pdf->output('exemple01.pdf');
$html2pdf->output('example06.pdf');
} catch (Html2PdfException $e) {
$html2pdf->clean();
@@ -18,14 +18,14 @@
try {
// get the HTML
ob_start();
include dirname(__FILE__).'/res/exemple07a.php';
include dirname(__FILE__).'/res/exemple07b.php';
include dirname(__FILE__).'/res/example07a.php';
include dirname(__FILE__).'/res/example07b.php';
$content = ob_get_clean();
$html2pdf = new Html2Pdf('P', 'A4', 'fr');
$html2pdf->pdf->SetDisplayMode('fullpage');
$html2pdf->writeHTML($content);
$html2pdf->output('exemple07.pdf');
$html2pdf->output('example07.pdf');
} catch (Html2PdfException $e) {
$html2pdf->clean();
@@ -17,12 +17,12 @@
try {
ob_start();
include dirname(__FILE__).'/res/exemple08.php';
include dirname(__FILE__).'/res/example08.php';
$content = ob_get_clean();
$html2pdf = new Html2Pdf('P', 'A4', 'fr', true, 'UTF-8', 0);
$html2pdf->writeHTML($content);
$html2pdf->output('exemple08.pdf');
$html2pdf->output('example08.pdf');
} catch (Html2PdfException $e) {
$html2pdf->clean();
@@ -29,7 +29,7 @@
}
$nom = substr(preg_replace('/[^a-zA-Z0-9]/isU', '', $nom), 0, 26);
$url.= '/res/exemple09.png.php?px=5&py=20';
$url.= '/res/example09.png.php?px=5&py=20';
if ($generate) {
@@ -68,7 +68,7 @@
try {
$html2pdf = new Html2Pdf('P', 'A4', 'fr');
$html2pdf->writeHTML($content);
$html2pdf->output('exemple09.pdf');
$html2pdf->output('example09.pdf');
exit;
} catch (Html2PdfException $e) {
$html2pdf->clean();
@@ -17,11 +17,11 @@
try {
ob_start();
include dirname(__FILE__).'/res/exemple10.php';
include dirname(__FILE__).'/res/example10.php';
$content = ob_get_clean();
$html2pdf = new Html2Pdf('P', 'A4', 'fr');
$html2pdf->writeHTML($content);
$html2pdf->output('exemple10.pdf');
$html2pdf->output('example10.pdf');
} catch (Html2PdfException $e) {
$html2pdf->clean();
@@ -17,13 +17,13 @@
try {
ob_start();
include dirname(__FILE__).'/res/exemple11.php';
include dirname(__FILE__).'/res/example11.php';
$content = ob_get_clean();
$html2pdf = new Html2Pdf('P', 'A4', 'fr');
$html2pdf->setTestTdInOnePage(false);
$html2pdf->writeHTML($content);
$html2pdf->output('exemple11.pdf');
$html2pdf->output('example11.pdf');
} catch (Html2PdfException $e) {
$html2pdf->clean();
@@ -17,12 +17,12 @@
try {
ob_start();
include dirname(__FILE__).'/res/exemple06.php';
include dirname(__FILE__).'/res/example12.php';
$content = ob_get_clean();
$html2pdf = new Html2Pdf('P', 'A4', 'fr');
$html2pdf->writeHTML($content);
$html2pdf->output('exemple06.pdf');
$html2pdf->output('example12.pdf');
} catch (Html2PdfException $e) {
$html2pdf->clean();
@@ -17,12 +17,12 @@
try {
ob_start();
include dirname(__FILE__).'/res/exemple13.php';
include dirname(__FILE__).'/res/example13.php';
$content = ob_get_clean();
$html2pdf = new Html2Pdf('P', 'A4', 'fr');
$html2pdf->writeHTML($content);
$html2pdf->output('exemple13.pdf');
$html2pdf->output('example13.pdf');
} catch (Html2PdfException $e) {
$html2pdf->clean();
@@ -17,14 +17,14 @@
try {
ob_start();
include dirname(__FILE__).'/res/exemple14.php';
include dirname(__FILE__).'/res/example14.php';
$content = ob_get_clean();
$html2pdf = new Html2Pdf('P', 'A4', 'fr');
$html2pdf->setTestIsImage(false);
$html2pdf->setFallbackImage('./res/off.png');
$html2pdf->writeHTML($content);
$html2pdf->output('exemple14.pdf');
$html2pdf->output('example14.pdf');
} catch (Html2PdfException $e) {
$html2pdf->clean();
@@ -17,13 +17,13 @@
try {
ob_start();
include dirname(__FILE__).'/res/regle.php';
include dirname(__FILE__).'/res/measure.php';
$content = ob_get_clean();
$html2pdf = new Html2Pdf('L', 'A4', 'fr', true, 'UTF-8', 10);
$html2pdf->pdf->SetDisplayMode('fullpage');
$html2pdf->writeHTML($content);
$html2pdf->output('regle.pdf');
$html2pdf->output('measure.pdf');
} catch (Html2PdfException $e) {
$html2pdf->clean();
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,4 +1,4 @@
<link type="text/css" href="./res/exemple06.css" rel="stylesheet" />
<link type="text/css" href="./res/example06.css" rel="stylesheet" />
<style type="text/css">
<!--
/* commentaire dans un css */
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -10,7 +10,7 @@
font-size: 11px;
text-align: left;
font-weight: normal;
background-image: url(./res/exemple10a.gif);
background-image: url(./res/example10a.gif);
}
div.minifiche img.icone { position: absolute; border: none; left: 5px; top: 5px; width: 240px; height: 128px;overflow: hidden; }
div.minifiche div.zone1 { position: absolute; border: none; left: 257px; top: 8px; width: 188px; height: 14px; padding-top: 1px; overflow: hidden; text-align: center; font-weight: bold; }
@@ -47,13 +47,13 @@
</table>
<hr>
<div class="minifiche" >
<img class="icone" src="./res/exemple10b.jpg" alt="Html2Pdf" >
<img class="icone" src="./res/example10b.jpg" alt="Html2Pdf" >
<div class="zone1">Html2Pdf</div>
<div class="zone2">PHP</div>
<div class="zone3">Utilitaire</div>
<div class="zone4">1.00</div>
<div class="zone5">01/01/1901</div>
<div class="download"><img src="./res/exemple10c.gif" alt="" style="border: none;"></div>
<div class="download"><img src="./res/example10c.gif" alt="" style="border: none;"></div>
</div>
<hr>
<div style="border: solid 1px #000000; margin: 0; padding: 0; background: rgb(255, 255, 255); width: 400px; height: 300px; position: relative;">
@@ -66,7 +66,7 @@
<hr>
<pre><?php
ob_start();
readfile(dirname(__FILE__).'/../exemple10.php');
readfile(dirname(__FILE__).'/../example10.php');
echo htmlentities(ob_get_clean());
?></pre>
</page>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -25,7 +25,7 @@
<tr>
<?php
for ($k=0; $k<28;$k++) {
echo '<td><img src="./res/regle.png" alt="" ><br>'.$k.'</td>';
echo '<td><img src="./res/measure.png" alt="" ><br>'.$k.'</td>';
}
?>
</tr>
File renamed without changes.
Oops, something went wrong.

0 comments on commit 2808c80

Please sign in to comment.