pdf_crabe
class pdf_crabe extends pdf_azur (View source)
pdf_crabe class
Class to generate PDF with template Crabe
Properties
| $error | from DocModel | ||
| $db | from pdf_azur | ||
| $name | from pdf_azur | ||
| $description | from pdf_azur | ||
| $type | from pdf_azur | ||
| $phpmin | from pdf_azur | ||
| $version | from pdf_azur | ||
| $page_largeur | from pdf_azur | ||
| $page_hauteur | from pdf_azur | ||
| $format | from pdf_azur | ||
| $marge_gauche | from pdf_azur | ||
| $marge_droite | from pdf_azur | ||
| $marge_haute | from pdf_azur | ||
| $marge_basse | from pdf_azur | ||
| $emetteur | from pdf_azur | ||
| protected | $watermark_text | from pdf_azur | |
| protected | $modulepart | from pdf_azur | |
| protected | $const_prefix | from pdf_azur |
Methods
static array
getModelsList(DoliDB $db, integer $maxfilenamelength, string $type = '')
Return list of active generation models
from DocModel
__construct(DoliDB $db)
Constructor
int
write_file(Object $object, Translate $outputlangs, string $srctemplatepath = '', int $hidedetails, int $hidedesc, int $hideref)
Function to build pdf onto disk
from pdf_azur
write_content(TCPDF $pdf, Object $object, Translate $outputlangs, int $default_font_size, int $tab_top, int $heightforinfotot, int $heightforfreetext, int $heightforfooter)
Function to write pdf content
int
print_line(TCPDF $pdf, string $name, string $value, int $curY, Translate $outputlangs, int $default_font_size, int $add_separator = 1)
Function to print table line
from pdf_azur
void
_tableau(TCPDF $pdf, string $tab_top, string $tab_height, int $nexY, Translate $outputlangs, int $hidetop, int $hidebottom, string $currency = '')
Show table for lines
void
_pagehead(TCPDF $pdf, Object $object, int $showaddress, Translate $outputlangs, string $titlekey = '')
Show top header of page.
from pdf_azur
int
_pagefoot(TCPDF $pdf, Object $object, Translate $outputlangs, int $hidefreetext)
Show footer of page. Need this->emetteur object
from pdf_azur
int
print_column(TCPDF $pdf, string $text, int $curX, int $curY, int $nexY, int $col_width, int $tab_top, int $tab_height, Translate $outputlangs, int $default_font_size, int $add_separator)
Function to print table line
Details
static array
getModelsList(DoliDB $db, integer $maxfilenamelength, string $type = '')
Return list of active generation models
at line 33
__construct(DoliDB $db)
Constructor
int
write_file(Object $object, Translate $outputlangs, string $srctemplatepath = '', int $hidedetails, int $hidedesc, int $hideref)
Function to build pdf onto disk
at line 55
protected
write_content(TCPDF $pdf, Object $object, Translate $outputlangs, int $default_font_size, int $tab_top, int $heightforinfotot, int $heightforfreetext, int $heightforfooter)
Function to write pdf content
protected int
print_line(TCPDF $pdf, string $name, string $value, int $curY, Translate $outputlangs, int $default_font_size, int $add_separator = 1)
Function to print table line
at line 156
void
_tableau(TCPDF $pdf, string $tab_top, string $tab_height, int $nexY, Translate $outputlangs, int $hidetop, int $hidebottom, string $currency = '')
Show table for lines
void
_pagehead(TCPDF $pdf, Object $object, int $showaddress, Translate $outputlangs, string $titlekey = '')
Show top header of page.
int
_pagefoot(TCPDF $pdf, Object $object, Translate $outputlangs, int $hidefreetext)
Show footer of page. Need this->emetteur object
at line 113
protected int
print_column(TCPDF $pdf, string $text, int $curX, int $curY, int $nexY, int $col_width, int $tab_top, int $tab_height, Translate $outputlangs, int $default_font_size, int $add_separator)
Function to print table line