Ejemplo n.º 1
0
 /**
  * init a sub HTML2PDF. does not use it directly. Only the method createSubHTML must use it
  *
  * @access public
  * @param  string  $format
  * @param  string  $orientation
  * @param  array   $marge
  * @param  integer $page
  * @param  array   $defLIST
  * @param  integer $myLastPageGroup
  * @param  integer $myLastPageGroupNb
  */
 public function initSubHtml($format, $orientation, $marge, $page, $defLIST, $myLastPageGroup, $myLastPageGroupNb)
 {
     $this->_isSubPart = true;
     $this->parsingCss->setOnlyLeft();
     $this->_setNewPage($format, $orientation, null, null, $myLastPageGroup !== null);
     $this->_saveMargin(0, 0, $marge);
     $this->_defList = $defLIST;
     $this->_page = $page;
     $this->pdf->setMyLastPageGroup($myLastPageGroup);
     $this->pdf->setMyLastPageGroupNb($myLastPageGroupNb);
     $this->pdf->setXY(0, 0);
     $this->parsingCss->fontSet();
 }