-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Rafał Pośpiech
committed
Mar 6, 2019
1 parent
d43595e
commit f415381
Showing
23 changed files
with
91 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
.idea/ | ||
vendor/ | ||
.vscode/ | ||
.sonarlint/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<table> | ||
<tr> | ||
<td style="width:50%"> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean malesuada odio elit, nec vestibulum nunc finibus | ||
et. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Suspendisse rutrum, | ||
risus id auctor posuere, odio metus condimentum lectus, eu hendrerit nulla ante viverra velit. | ||
</td> | ||
<td> | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean malesuada odio elit, nec vestibulum nunc finibus | ||
et. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Suspendisse rutrum, | ||
risus id auctor posuere, odio metus condimentum lectus, eu hendrerit nulla ante viverra velit. | ||
</td> | ||
</tr> | ||
</table> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
$loader = require '../vendor/autoload.php'; | ||
$files = ['LoremIpsum']; | ||
foreach ($files as $file) { | ||
$document = (new YetiForcePDF\Document())->init(); | ||
$document->loadHtml(file_get_contents($file . '.html')); | ||
$pdfFile = $document->render(); | ||
file_put_contents($file . '.pdf', $pdfFile); | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
|
||
$loader = require '../vendor/autoload.php'; | ||
$document = (new YetiForcePDF\Document())->init(); | ||
$document->loadHtml(file_get_contents('percentWidth.html')); | ||
$pdfFile = $document->render(); | ||
echo $pdfFile; | ||
file_put_contents('percentWidth.pdf', $pdfFile); |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
|
||
$loader = require '../vendor/autoload.php'; | ||
$document = (new YetiForcePDF\Document())->init(); | ||
$document->loadHtml(file_get_contents('simpleInline.html')); | ||
$pdfFile = $document->render(); | ||
//echo $pdfFile; | ||
file_put_contents('simpleInline.pdf', $pdfFile); |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
|
||
$loader = require '../vendor/autoload.php'; | ||
$document = (new YetiForcePDF\Document())->init(); | ||
$document->loadHtml(file_get_contents('wordWrap.html')); | ||
$pdfFile = $document->render(); | ||
echo $pdfFile; | ||
file_put_contents('wordWrap.pdf', $pdfFile); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.