@@ -3,8 +3,8 @@ |
||
3 | 3 | $loader = require '../vendor/autoload.php'; |
4 | 4 | $files = ['SimpleNestedDiv']; |
5 | 5 | foreach ($files as $file) { |
6 | - $document = (new YetiForcePDF\Document())->init(); |
|
7 | - $document->loadHtml(file_get_contents($file . '.html')); |
|
8 | - $pdfFile = $document->render(); |
|
9 | - file_put_contents($file . '.pdf', $pdfFile); |
|
6 | + $document = (new YetiForcePDF\Document())->init(); |
|
7 | + $document->loadHtml(file_get_contents($file . '.html')); |
|
8 | + $pdfFile = $document->render(); |
|
9 | + file_put_contents($file . '.pdf', $pdfFile); |
|
10 | 10 | } |
@@ -3,8 +3,8 @@ |
||
3 | 3 | $loader = require '../vendor/autoload.php'; |
4 | 4 | $files = ['Pages']; |
5 | 5 | foreach ($files as $file) { |
6 | - $document = (new YetiForcePDF\Document())->init(); |
|
7 | - $document->loadHtml(file_get_contents($file . '.html')); |
|
8 | - $pdfFile = $document->render(); |
|
9 | - file_put_contents($file . '.pdf', $pdfFile); |
|
6 | + $document = (new YetiForcePDF\Document())->init(); |
|
7 | + $document->loadHtml(file_get_contents($file . '.html')); |
|
8 | + $pdfFile = $document->render(); |
|
9 | + file_put_contents($file . '.pdf', $pdfFile); |
|
10 | 10 | } |
@@ -3,8 +3,8 @@ |
||
3 | 3 | $loader = require '../vendor/autoload.php'; |
4 | 4 | $files = ['HeaderFooter']; |
5 | 5 | foreach ($files as $file) { |
6 | - $document = (new YetiForcePDF\Document())->init(); |
|
7 | - $document->loadHtml(file_get_contents($file . '.html')); |
|
8 | - $pdfFile = $document->render(); |
|
9 | - file_put_contents($file . '.pdf', $pdfFile); |
|
6 | + $document = (new YetiForcePDF\Document())->init(); |
|
7 | + $document->loadHtml(file_get_contents($file . '.html')); |
|
8 | + $pdfFile = $document->render(); |
|
9 | + file_put_contents($file . '.pdf', $pdfFile); |
|
10 | 10 | } |
@@ -3,8 +3,8 @@ |
||
3 | 3 | $loader = require '../vendor/autoload.php'; |
4 | 4 | $files = ['SpanTable']; |
5 | 5 | foreach ($files as $file) { |
6 | - $document = (new YetiForcePDF\Document())->init(); |
|
7 | - $document->loadHtml(file_get_contents($file . '.html')); |
|
8 | - $pdfFile = $document->render(); |
|
9 | - file_put_contents($file . '.pdf', $pdfFile); |
|
6 | + $document = (new YetiForcePDF\Document())->init(); |
|
7 | + $document->loadHtml(file_get_contents($file . '.html')); |
|
8 | + $pdfFile = $document->render(); |
|
9 | + file_put_contents($file . '.pdf', $pdfFile); |
|
10 | 10 | } |
@@ -3,8 +3,8 @@ |
||
3 | 3 | $loader = require '../vendor/autoload.php'; |
4 | 4 | $files = ['Image']; |
5 | 5 | foreach ($files as $file) { |
6 | - $document = (new YetiForcePDF\Document())->init(); |
|
7 | - $document->loadHtml(file_get_contents($file . '.html')); |
|
8 | - $pdfFile = $document->render(); |
|
9 | - file_put_contents($file . '.pdf', $pdfFile); |
|
6 | + $document = (new YetiForcePDF\Document())->init(); |
|
7 | + $document->loadHtml(file_get_contents($file . '.html')); |
|
8 | + $pdfFile = $document->render(); |
|
9 | + file_put_contents($file . '.pdf', $pdfFile); |
|
10 | 10 | } |
@@ -3,8 +3,8 @@ |
||
3 | 3 | $loader = require '../vendor/autoload.php'; |
4 | 4 | $files = ['RowSpan']; |
5 | 5 | foreach ($files as $file) { |
6 | - $document = (new YetiForcePDF\Document())->init(); |
|
7 | - $document->loadHtml(file_get_contents($file . '.html')); |
|
8 | - $pdfFile = $document->render(); |
|
9 | - file_put_contents($file . '.pdf', $pdfFile); |
|
6 | + $document = (new YetiForcePDF\Document())->init(); |
|
7 | + $document->loadHtml(file_get_contents($file . '.html')); |
|
8 | + $pdfFile = $document->render(); |
|
9 | + file_put_contents($file . '.pdf', $pdfFile); |
|
10 | 10 | } |
@@ -3,8 +3,8 @@ |
||
3 | 3 | $loader = require '../vendor/autoload.php'; |
4 | 4 | $files = ['DefaultStyles']; |
5 | 5 | foreach ($files as $file) { |
6 | - $document = (new YetiForcePDF\Document())->init(); |
|
7 | - $document->loadHtml(file_get_contents($file . '.html')); |
|
8 | - $pdfFile = $document->render(); |
|
9 | - file_put_contents($file . '.pdf', $pdfFile); |
|
6 | + $document = (new YetiForcePDF\Document())->init(); |
|
7 | + $document->loadHtml(file_get_contents($file . '.html')); |
|
8 | + $pdfFile = $document->render(); |
|
9 | + file_put_contents($file . '.pdf', $pdfFile); |
|
10 | 10 | } |
@@ -3,8 +3,8 @@ |
||
3 | 3 | $loader = require '../vendor/autoload.php'; |
4 | 4 | $files = ['ColSpan']; |
5 | 5 | foreach ($files as $file) { |
6 | - $document = (new YetiForcePDF\Document())->init(); |
|
7 | - $document->loadHtml(file_get_contents($file . '.html')); |
|
8 | - $pdfFile = $document->render(); |
|
9 | - file_put_contents($file . '.pdf', $pdfFile); |
|
6 | + $document = (new YetiForcePDF\Document())->init(); |
|
7 | + $document->loadHtml(file_get_contents($file . '.html')); |
|
8 | + $pdfFile = $document->render(); |
|
9 | + file_put_contents($file . '.pdf', $pdfFile); |
|
10 | 10 | } |
@@ -3,8 +3,8 @@ |
||
3 | 3 | $loader = require '../vendor/autoload.php'; |
4 | 4 | $files = ['WidthsSpecifiedTable']; |
5 | 5 | foreach ($files as $file) { |
6 | - $document = (new YetiForcePDF\Document())->init(); |
|
7 | - $document->loadHtml(file_get_contents($file . '.html')); |
|
8 | - $pdfFile = $document->render(); |
|
9 | - file_put_contents($file . '.pdf', $pdfFile); |
|
6 | + $document = (new YetiForcePDF\Document())->init(); |
|
7 | + $document->loadHtml(file_get_contents($file . '.html')); |
|
8 | + $pdfFile = $document->render(); |
|
9 | + file_put_contents($file . '.pdf', $pdfFile); |
|
10 | 10 | } |