Changeset 112761 in spip-zone


Ignore:
Timestamp:
Dec 12, 2018, 11:24:39 PM (2 months ago)
Author:
maieul@…
Message:

adaptation code à nouvelle librairie

Location:
_plugins_/article_pdf/branches/php7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/article_pdf/branches/php7/paquet.xml

    r112756 r112761  
    22        prefix="article_pdf"
    33        categorie="edition"
    4         version="1.0.0"
     4        version="1.0.1"
    55        etat="stable"
    66        compatibilite="[3.1.0;3.2.*]"
  • _plugins_/article_pdf/branches/php7/pdf/lib_pdf_global.php

    r112756 r112761  
    633633function CellSize($htmlContent,$fontFamily,$fontSize,$LineFeedHeight,$cellmargin=3,$max_width=0){
    634634        $cell_pdf=new PDF_SPIP();
    635         $cell_pdf->Open();
     635        $cell_pdf->AddPage();
    636636        $cell_pdf->FirstIteration=TRUE;
    637637        $cell_pdf->SetFont($fontFamily, '', $fontSize);
Note: See TracChangeset for help on using the changeset viewer.