Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2024-06-26 (Yesterday) | | Not yet rated by the users | | Total: 3 This week: 3 | | All time: 11,364 This week: 15 |
Version | | License | | PHP version | | Categories |
pdfdatainjection 1.0 | | Freeware | | 5 | | PHP 5, Documents |
|
Description | | Author |
This package can generate documents in PDF form with input values.
It can take a PDF form file and pass it to the pdftk program to fill the form inputs with given values.
The resulting PDF document is saved to a new file. | |
|
Example
<?php
include ('includes/pdf_data_injection.class.php');
$objPDF = new PDFDataInjection();
$objPDF->setSourcePath('./origen/');
$objPDF->setTempPath('./temp/');
$objPDF->setDestinationPath('./dest/');
$objPDF->setPDF('formulario.pdf');
$datos = [
'campo_edad' => '2',
'campo_comunitario' => 'comunitario',
'campo_ciudad' => 'Madrid',
];
$objPDF->setFormData($datos);
$objPDF->createFDF();
$objPDF->insertData();
$objPDF->injectDataInPDF();
$FinalPDFName = $objPDF->getFinalPDFName();
|
Details
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.