diff --git a/examples/example3.php b/examples/example3.php new file mode 100755 index 0000000..07aceb9 --- /dev/null +++ b/examples/example3.php @@ -0,0 +1,39 @@ +pushHandler(new \Whoops\Handler\PrettyPageHandler); +$whoops->register(); + +$pdf = new PDFInfo('files/EEE.pdf'); + +echo $pdf->title; +echo '
'; +echo $pdf->author; +echo '
'; +echo $pdf->creator; +echo '
'; +echo $pdf->producer; +echo '
'; +echo $pdf->creationDate; +echo '
'; +echo $pdf->modDate; +echo '
'; +echo $pdf->tagged; +echo '
'; +echo $pdf->form; +echo '
'; +echo $pdf->pages; +echo '
'; +echo $pdf->encrypted; +echo '
'; +echo $pdf->pageSize; +echo '
'; +echo $pdf->fileSize; +echo '
'; +echo $pdf->optimized; +echo '
'; +echo $pdf->PDFVersion; +echo '
'; diff --git a/src/Howtomakeaturn/PDFInfo/Exceptions/OpenOutputException.php b/src/Howtomakeaturn/PDFInfo/Exceptions/OpenOutputException.php new file mode 100644 index 0000000..52c8844 --- /dev/null +++ b/src/Howtomakeaturn/PDFInfo/Exceptions/OpenOutputException.php @@ -0,0 +1,6 @@ +output = $output;