Example #1
0
 function __construct($orientation = 'P', $unit = 'mm', $size = 'A4')
 {
     parent::__construct($orientation, $unit, $size);
     $this->lineHeightPadding = 30 / $this->k;
     $this->SetAutoPageBreak(false);
     stream_wrapper_register("var", 'PhpSigep\\Pdf\\VariableStream') or die("Failed to register protocol");
 }
Example #2
0
 function _putcatalog()
 {
     parent::_putcatalog();
     if (!empty($this->javascript)) {
         $this->_out('/Names <</JavaScript ' . $this->n_js . ' 0 R>>');
     }
 }