Exemplo n.º 1
0
 public function __construct($orientation, $columnwidths)
 {
     parent::__construct($orientation);
     // Set default configuration.
     $this->SetCreator('TUWEL');
     $this->SetMargins(10, 20, 10, true);
     $this->setHeaderMargin(7);
     $this->SetFont('freesans', '');
     $this->columnwidths = $columnwidths;
     $this->orientation = $orientation;
     $this->columnformat = array();
     for ($i = 0; $i < count($columnwidths); $i++) {
         $this->columnformat[] = array();
         $this->columnformat[$i][] = array("fill" => 0, "align" => "L");
         $this->columnformat[$i][] = array("fill" => 1, "align" => "L");
     }
 }
Exemplo n.º 2
0
 function __construct(CController $controller)
 {
     parent::__construct();
     $this->style = $controller->render('/admin/export/quexmlpdf_view', '', true);
 }
Exemplo n.º 3
0
 public function __construct($settings)
 {
     parent::__construct($settings->orientation, $settings->unit, $settings->format);
     $this->_dfsettings = $settings;
 }