/** * preparation de HTML2PDF::$SUBOBJ utilisé pour la création des sous HTML2PDF * * @return null */ protected function prepareSubObj() { $pdf = null; HTML2PDF::$SUBOBJ = new HTML2PDF($this->sens, $this->format, $this->langue, $this->unicode, $this->encoding, array($this->defaultLeft, $this->defaultTop, $this->defaultRight, $this->defaultBottom)); // initialisation HTML2PDF::$SUBOBJ->setIsSubPart(); HTML2PDF::$SUBOBJ->setTestTdInOnePage($this->testTDin1page); HTML2PDF::$SUBOBJ->setTestIsImage($this->testIsImage); HTML2PDF::$SUBOBJ->setTestIsDeprecated($this->testIsDeprecated); HTML2PDF::$SUBOBJ->setDefaultFont($this->defaultFont); HTML2PDF::$SUBOBJ->style->css =& $this->style->css; HTML2PDF::$SUBOBJ->style->css_keys =& $this->style->css_keys; HTML2PDF::$SUBOBJ->pdf->cloneFontFrom($this->pdf); HTML2PDF::$SUBOBJ->style->setPdfParent($pdf); }