Пример #1
0
 function __construct($params)
 {
     if (is_array($params)) {
         parent::__construct($params['paper'], $params['orientation'], $params['type'], $params['option']);
     } else {
         parent::__construct();
     }
 }
Пример #2
0
 public function __construct($p, $o)
 {
     parent::__construct($p, $o, 'none', array());
     $this->isUnicode = true;
     $this->allowedTags .= '|uline';
     // always embed the font for the time being
     //$this->embedFont = false;
 }
Пример #3
0
 public function __construct($p, $o)
 {
     parent::__construct($p, $o, 'none', array());
     $this->isUnicode = true;
     // always embed the font for the time being
     //$this->embedFont = false;
     // since version 0.11.8 it is required to allow custom callbacks
     $this->allowedTags .= "|uline";
 }
 /**
  Constructor. This class is only used to encapsulate a table.
 */
 function __construct($paper = 'a4', $orientation = 'portrait')
 {
     parent::__construct($paper, $orientation);
     $this->TOC = array();
     $this->KeywordArray = array();
     $this->PageCounter = array();
     $this->initFrameMargins();
     $this->ez['textStack'] = array();
     $this->PreStack = array();
     $this->DocSpecification = array();
     $this->pushStack();
     $this->FrontpageID = null;
 }
Пример #5
0
 public function __construct($pagesize, $orientation, $title)
 {
     global $layout;
     $diff = array(177 => 'aogonek', 161 => 'Aogonek', 230 => 'cacute', 198 => 'Cacute', 234 => 'eogonek', 202 => 'Eogonek', 241 => 'nacute', 209 => 'Nacute', 179 => 'lslash', 163 => 'Lslash', 182 => 'sacute', 166 => 'Sacute', 188 => 'zacute', 172 => 'Zacute', 191 => 'zdot', 175 => 'Zdot', 185 => 'scaron', 169 => 'Scaron', 232 => 'ccaron', 200 => 'Ccaron', 236 => 'edot', 204 => 'Edot', 231 => 'iogonek', 199 => 'Iogonek', 249 => 'uogonek', 217 => 'Uogonek', 254 => 'umacron', 222 => 'Umacron', 190 => 'zcaron', 174 => 'Zcaron');
     parent::__construct($pagesize, $orientation);
     //landscape/portrait
     $this->isUnicode = true;
     $this->addInfo('Producer', 'LMS Developers');
     $this->addInfo('Title', $title);
     $this->addInfo('Creator', 'LMS ' . $layout['lmsv']);
     $this->setPreferences('FitWindow', '1');
     $this->ezSetMargins(PDF_MARGIN_TOP, PDF_MARGIN_BOTTOM, PDF_MARGIN_LEFT, PDF_MARGIN_RIGHT);
     $this->setLineStyle(0.5);
     $this->setFontFamily('arial', array('b' => 'arialbd'));
     $this->selectFont('arial', array('encoding' => 'WinAnsiEncoding', 'differences' => $diff), 1, true);
 }
Пример #6
0
 public function __construct($p, $o)
 {
     parent::__construct($p, $o, 'none', array());
 }
Пример #7
0
 public function __construct($p, $o, $t, $op)
 {
     parent::__construct($p, $o, $t, $op);
 }
Пример #8
0
 /**
  * @param Cezpdf $ezpdf current cezpdf object
  */
 function CezTableImage($p, $o = 'portrait', $t = 'none', $op = array())
 {
     parent::__construct($p, $o, $t, $op);
     $this->allowedTags .= '|showimage:.*?';
 }
 /**
  * @param Cezpdf $ezpdf current cezpdf object
  */
 function CezDummy($p, $o = 'portrait', $t = 'none', $op = array())
 {
     parent::__construct($p, $o, $t, $op);
 }
Пример #10
0
function Creport($p,$o,$t,$op){
  parent::__construct($p,$o,$t,$op);
}
Пример #11
0
 /**
  * @param Cezpdf $ezpdf current cezpdf object
  */
 function CezDummy($p, $o = 'portrait', $t = 'none', $op = array())
 {
     parent::__construct($p, $o, $t, $op);
     $this->allowedTags .= '|dummy:[0-9]+';
 }
Пример #12
0
 public function __construct($p, $o)
 {
     parent::__construct($p, $o);
 }
Пример #13
0
 public function __construct($p, $o)
 {
     parent::__construct($p, $o, 'color', array(0.8, 0.8, 0.8));
 }
Пример #14
0
 function Creport($p, $o)
 {
     parent::__construct($p, $o);
 }
Пример #15
-1
 /**
  * PdfClass constructor.
  */
 public function __construct($orientation = 'portrait', $title = '')
 {
     if (strtolower($orientation) !== 'landscape') {
         $orientation = 'portrait';
     }
     parent::__construct('a4', $orientation);
     /**
      * sets default info
      */
     $this->addInfo('Author', PORTAL_NAME);
     $this->addInfo('Creator', 'ADA platform v' . ADA_VERSION);
     $this->addInfo('Producer', 'Lynx Srl');
     $this->addInfo('CreationDate', date('YmdHis'));
     /**
      * sets defaults margins
      */
     $this->ezSetMargins($this->_topMargin, $this->_bottomMargin, $this->_leftMargin, $this->_rightMargin);
     /**
      * sets the title if it's been passed
      */
     if (isset($title) && $title != '') {
         $this->setTitle($title);
     }
     /**
      * sets 'Helvetica' as default font
      */
     $this->setFont(DEFAULT_DOC_FONT, DEFAULT_DOC_FONTSIZE);
 }