PDF for XMLDocument
This commit is contained in:
parent
c7bf2ebb0c
commit
1a52bfde61
3 changed files with 5 additions and 4 deletions
|
|
@ -404,10 +404,10 @@ abstract class XML_Reader
|
|||
* @param \Database $cn
|
||||
* @returns \PDF
|
||||
*/
|
||||
public function to_pdf(): \PDF_Core
|
||||
public function to_pdf(): PDF
|
||||
{
|
||||
//$pdf = new PDF($cn);
|
||||
$pdf = new \PDF_Core;
|
||||
$pdf = new PDF();
|
||||
$result = $this->get_info();
|
||||
|
||||
// $pdf->setDossierInfo(_(" id ") . " " . $result['id']);
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
// Copyright Author Dany De Bontridder danydb@noalyss.eu
|
||||
|
||||
/*!\file
|
||||
/*!\file pdf.class.php
|
||||
* \brief API for creating PDF, unicode, based on tfpdf
|
||||
*@see TFPDF
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -444,7 +444,8 @@ function noalyss_class_autoloader($class)
|
|||
'noalyss\xmldocument\document_reference'=>'XMLDocument/document_reference_type.class.php',
|
||||
'noalyss\xmldocument\binary_object'=>'XMLDocument/document_reference_type.class.php',
|
||||
'noalyss\xmldocument\xml_reader'=>'XMLDocument/xml_reader.class.php',
|
||||
"noalyss\xmldocument\xmlcreditnote_reader"=>"XMLDocument/xmlcreditnote_reader.class.php"
|
||||
"noalyss\xmldocument\xmlcreditnote_reader"=>"XMLDocument/xmlcreditnote_reader.class.php",
|
||||
"noalyss\xmldocument\pdf"=>"XMLDocument/pdf.class.php"
|
||||
);
|
||||
if (isset ($aClass[$class])) {
|
||||
require_once NOALYSS_INCLUDE . "/" . $aClass[$class];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue