Deprecated: Constant E_STRICT is deprecated in /home/normanv/www/annuairepro/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /home/normanv/www/annuairepro/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

src/Service/GenerePdf.php line 205

Open in your IDE?
  1. <?php
  2. namespace App\Service;
  3. use App\Entity\User;
  4. use Fpdf\Fpdf;
  5. class GenerePdf
  6. {
  7.     public $ligne_h;
  8.     public function __construct()
  9.     {
  10.         $this->ligne_h 5;
  11.     }
  12.     public function en_tete($pdf$user$structure_donnees$type){
  13.         $pdf->SetFont('Arial','B',14);
  14.         $pdf->SetFillColor(50,191,240);
  15.         $pdf->Rect(101019019"F");
  16.         $pdf->setTextColor(255,255,255);
  17.         $pdf->SetXY(4015);
  18.         $pdf->MultiCell(0,5,mb_convert_encoding("Annuaire des productions et des prestataires""Windows-1252""UTF-8"),0,"C");
  19.         $pdf->SetXY(4022);
  20.         $pdf->MultiCell(0,5,mb_convert_encoding($type"Windows-1252""UTF-8"),0,"C");
  21.         $pdf->Image('images/ni-logo-72.png',15,12, -200);
  22.         $pdf->ln(10);
  23.         $pdf->setTextColor(255,255,255);
  24.         $pdf->SetFillColor(22,98,141);
  25.         $pdf->Rect(103419010"F");
  26.         $pdf->MultiCell(0,5,mb_convert_encoding($structure_donnees->getNom(), "Windows-1252""UTF-8"),0,"C");
  27.         $pdf->ln(4);
  28.         $curseurY $pdf->GetY();
  29.         $pdf->Image('images/fond_pdf_gauche.png',1044189.745);
  30.         $pdf->SetXY(12$curseurY);
  31.         $pdf->SetFont('Arial','BU',10);
  32.         $pdf->SetX(12);
  33.         $pdf->MultiCell(75,5mb_convert_encoding($structure_donnees->getAdresseType(), "Windows-1252""UTF-8"),0,"L");
  34.         $pdf->SetFont('Arial','',10);
  35.         $pdf->SetX(12);
  36.         $pdf->MultiCell(75,5mb_convert_encoding($structure_donnees->getAdresse(), "Windows-1252""UTF-8"),0,"L");
  37.         $pdf->SetX(12);
  38.         $pdf->MultiCell(75,5mb_convert_encoding($structure_donnees->getCodePostal().' '.$structure_donnees->getVille(), "Windows-1252""UTF-8"),0,"L");
  39.         $pdf->SetX(12);
  40.         $pdf->MultiCell(75,5mb_convert_encoding($structure_donnees->getTelephoneStandard(), "Windows-1252""UTF-8"),0,"L");
  41.         $pdf->SetX(12);
  42.         if($user->getType() == "structure") {
  43.             if ($structure_donnees->getFormeJuridique()) {
  44.                 $pdf->SetX(12);
  45.                 $pdf->SetFont('Arial''BU'10);
  46.                 $pdf->MultiCell(755mb_convert_encoding("Forme juridique""Windows-1252""UTF-8"), 0"L");
  47.                 $pdf->SetX(12);
  48.                 $pdf->SetFont('Arial'''10);
  49.                 $pdf->MultiCell(755mb_convert_encoding($structure_donnees->getFormeJuridique(), "Windows-1252""UTF-8"), 0"L");
  50.             }
  51.             if ($structure_donnees->getDateCreation()) {
  52.                 $pdf->SetX(12);
  53.                 $pdf->SetFont('Arial''BU'10);
  54.                 $pdf->MultiCell(755mb_convert_encoding("Création de la structure""Windows-1252""UTF-8"), 0"L");
  55.                 $pdf->SetX(12);
  56.                 $pdf->SetFont('Arial'''10);
  57.                 $pdf->MultiCell(755date_format($structure_donnees->getDateCreation(), 'd/m/Y'), 0"L");
  58.             }
  59.         }
  60.         $pdf->SetXY(90,$curseurY);
  61.         $pdf->SetFont('Arial','BU',10);
  62.         $pdf->MultiCell(65,5mb_convert_encoding("Contact""Windows-1252""UTF-8"),0,"L");
  63.         $pdf->SetFont('Arial','',10);
  64.         $pdf->SetX(90);
  65.         if($structure_donnees->getReferent() != "dirigeant" && count($structure_donnees->getContacts()) > 0){
  66.             foreach ($structure_donnees->getContacts() as $contact){
  67.                 if($contact->getReferent() == true){
  68.                     $pdf->MultiCell(65,5mb_convert_encoding($contact->getPrenom().' '.$contact->getNom(), "Windows-1252""UTF-8"),0,"L");
  69.                     $pdf->SetX(90);
  70.                     $pdf->MultiCell(65,5mb_convert_encoding($contact->getFonction(), "Windows-1252""UTF-8"),0,"L");
  71.                     $pdf->SetX(90);
  72.                     if(!empty($contact->getTelephoneFixe())) $pdf->MultiCell(65,5mb_convert_encoding($contact->getTelephoneFixe(), "Windows-1252""UTF-8"),0,"L");
  73.                     $pdf->SetX(90);
  74.                     if(!empty($contact->getTelephoneMobile())) $pdf->MultiCell(65,5mb_convert_encoding($contact->getTelephoneMobile(), "Windows-1252""UTF-8"),0,"L");
  75.                     $pdf->SetX(90);
  76.                     $pdf->MultiCell(65,5mb_convert_encoding($contact->getMail(), "Windows-1252""UTF-8"),0,"L");
  77.                 }
  78.             }
  79.         }else{
  80.             $pdf->MultiCell(65,5mb_convert_encoding($structure_donnees->getDirigeantPrenom().' '.$structure_donnees->getDirigeantNom(), "Windows-1252""UTF-8"),0,"L");
  81.             $pdf->SetX(90);
  82.             if(!empty($structure_donnees->getDirigeantTelephoneFixe())) $pdf->MultiCell(65,5mb_convert_encoding($structure_donnees->getDirigeantTelephoneFixe(), "Windows-1252""UTF-8"),0,"L");
  83.             $pdf->SetX(90);
  84.             if(!empty($structure_donnees->getDirigeantTelephoneMobile())) $pdf->MultiCell(65,5mb_convert_encoding($structure_donnees->getDirigeantTelephoneMobile(), "Windows-1252""UTF-8"),0,"L");
  85.             $pdf->SetX(90);
  86.             $pdf->MultiCell(65,5mb_convert_encoding($structure_donnees->getDirigeantMail(), "Windows-1252""UTF-8"),0,"L");
  87.         }
  88.         $pdf->SetXY(155,$curseurY);
  89.         if($structure_donnees->getSite() && substr($structure_donnees->getSite(), 0,4) != "http"){
  90.             $site "http://".$structure_donnees->getSite();
  91.         }else{
  92.             $site $structure_donnees->getSite();
  93.         }
  94.         $pdf->MultiCell(75,5mb_convert_encoding($site"Windows-1252""UTF-8"),0,"L");
  95.         if (count($structure_donnees->getReseauxSociaux()) > 0) {
  96.             $pdf->SetX(155);
  97.             $pdf->SetFont('Arial''BU'10);
  98.             $pdf->MultiCell(555mb_convert_encoding("Réseaux sociaux""Windows-1252""UTF-8"), 0"L");
  99.             $pdf->SetX(156);
  100.             $pdf->SetFont('Arial'''10);
  101.             $curseurY $pdf->GetY();
  102.             $curseurX $pdf->GetX();
  103.             foreach ($structure_donnees->getReseauxSociaux() as $reseau ){
  104.                 if($reseau->getNom() == "Facebook"){
  105.                     $pdf->Image('images/facebook.png',$curseurX,$curseurY4,4"PNG"$reseau->getUrl());
  106.                 }elseif($reseau->getNom() == "Flickr"){
  107.                     $pdf->Image('images/flickr.png',$curseurX,$curseurY44"PNG"$reseau->getUrl());
  108.                 }elseif($reseau->getNom() == "Instagram"){
  109.                     $pdf->Image('images/instagram.png',$curseurX,$curseurY44"PNG"$reseau->getUrl());
  110.                 }elseif($reseau->getNom() == "LinkedIn"){
  111.                     $pdf->Image('images/linkdin.png',$curseurX,$curseurY4,4"PNG"$reseau->getUrl());
  112.                 }elseif($reseau->getNom() == "Tumblr"){
  113.                     $pdf->Image('images/tumblr.png',$curseurX,$curseurY4,4"PNG"$reseau->getUrl());
  114.                 }elseif($reseau->getNom() == "Twitter"){
  115.                     $pdf->Image('images/twitter.png',$curseurX,$curseurY4,4"PNG"$reseau->getUrl());
  116.                 }elseif($reseau->getNom() == "Vimeo"){
  117.                     $pdf->Image('images/vimeo.png',$curseurX,$curseurY4,4"PNG"$reseau->getUrl());
  118.                 }elseif($reseau->getNom() == "Youtube"){
  119.                     $pdf->Image('images/youtube.png',$curseurX,$curseurY4,4"PNG"$reseau->getUrl());
  120.                 }
  121.                 $curseurX $curseurX 5;
  122.             }
  123.         }
  124.     }
  125.     /**
  126.      * @return int
  127.      */
  128.     public function getLigneH(): int
  129.     {
  130.         return $this->ligne_h;
  131.     }
  132.     public function info_complementaire($pdf$presta_donnees$curseur_partie_droite){
  133.         $pdf->SetX($curseur_partie_droite);
  134.         $pdf->setTextColor(1167171);
  135.         $pdf->SetFont('Arial'''9);
  136.         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("informations complémentaires"), "Windows-1252""UTF-8"), 01"L");
  137.         $pdf->SetX($curseur_partie_droite);
  138.         $pdf->setTextColor(000);
  139.         if ($presta_donnees->getRayonCalvados() ||
  140.             $presta_donnees->getRayonEure() ||
  141.             $presta_donnees->getRayonManche() ||
  142.             $presta_donnees->getRayonOrne() ||
  143.             $presta_donnees->getRayonSeineMaritime() ||
  144.             $presta_donnees->getRayonHorsNormandie()) {
  145.             $pdf->SetFont('Arial'''9);
  146.             $pdf->Cell(04mb_convert_encoding("Rayon d'intervention : ""Windows-1252""UTF-8"), 01"J");
  147.             if ($presta_donnees->getRayonCalvados() ||
  148.                 $presta_donnees->getRayonEure() ||
  149.                 $presta_donnees->getRayonManche() ||
  150.                 $presta_donnees->getRayonOrne() ||
  151.                 $presta_donnees->getRayonSeineMaritime()) {
  152.                 $rayon_normandie_dpt "";
  153.                 if ($presta_donnees->getRayonCalvados()) $rayon_normandie_dpt "Calvados, ";
  154.                 if ($presta_donnees->getRayonEure()) $rayon_normandie_dpt .= "Eure, ";
  155.                 if ($presta_donnees->getRayonManche()) $rayon_normandie_dpt .= "Manche, ";
  156.                 if ($presta_donnees->getRayonOrne()) $rayon_normandie_dpt .= "Orne, ";
  157.                 if ($presta_donnees->getRayonSeineMaritime()) $rayon_normandie_dpt .= "Seine-Maritime, ";
  158.                 $pdf->SetX($curseur_partie_droite 3);
  159.                 $pdf->SetFont('Arial''B'10);
  160.                 $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  161.                 $pdf->SetFont('Arial'''9);
  162.                 $pdf->Cell(04mb_convert_encoding("En Normandie : " substr($rayon_normandie_dpt0, -2), "Windows-1252""UTF-8"), 01"J");
  163.             }
  164.             $pdf->SetX($curseur_partie_droite 3);
  165.             $pdf->SetFont('Arial''B'10);
  166.             $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  167.             $pdf->SetFont('Arial'''9);
  168.             $pdf->Cell(04mb_convert_encoding("Hors Normandie : " $presta_donnees->getRayonHorsNormandie(), "Windows-1252""UTF-8"), 01"J");
  169.             $pdf->ln(2);
  170.         }
  171.         if ($presta_donnees->getLangues() != '') {
  172.             $pdf->SetX($curseur_partie_droite);
  173.             $pdf->SetFont('Arial'''9);
  174.             $pdf->Cell(354mb_convert_encoding("Langue(s) pratiquée(s) : ""Windows-1252""UTF-8"), 00"J");
  175.             $pdf->SetFont('Arial'''9);
  176.             $pdf->Cell(04mb_convert_encoding($presta_donnees->getLangues(), "Windows-1252""UTF-8"), 01"J");
  177.         }
  178.     }
  179.     public function pied_page($pdf){
  180.         $pdf->SetY(-10);
  181.         $pdf->SetTextColor(210,210,210);
  182.         $pdf->SetFont('Arial''I'9);
  183.         $pdf->Cell(05mb_convert_encoding("PDF édité le ""Windows-1252""UTF-8").date("d/m/Y"), 00"C");
  184.     }
  185.     public function getPdf(User $user$type)
  186.     {
  187.         $structures $user->getStructures();
  188.         foreach ($structures as $structure){
  189.             $structure_donnees $structure;
  190.         }
  191.         $pdf = new Fpdf();
  192.         $curseur_partie_droite 10;
  193.         if($type == 'prestamoyenstech' || $type == 'prestatairetech'){
  194.             $type "Prestataire de moyens techniques";
  195.             /* Prestataires de moyens techniques */
  196.             if (count($user->getPrestatairesTechniques()) > 0) {
  197.                 $pdf->AddPage();
  198.                 $pdf->SetAutoPageBreak(15);
  199.                 $this->en_tete($pdf$user$structure_donnees$type);
  200.                 foreach ($user->getPrestatairesTechniques() as $prestatechnique) {
  201.                     $prestatechnique_donnees $prestatechnique;
  202.                 }
  203.                 $pdf->SetXY($curseur_partie_droite93);
  204.                 $pdf->setTextColor(1167171);
  205.                 $pdf->SetFont('Arial'''9);
  206.                 $pdf->Cell(05mb_convert_encoding(mb_strtoupper("descriptif général de l'activité"), "Windows-1252""UTF-8"), 01"L");
  207.                 $pdf->SetX($curseur_partie_droite);
  208.                 $pdf->setTextColor(000);
  209.                 $pdf->MultiCell(04mb_convert_encoding($prestatechnique_donnees->getPresentation(), "Windows-1252""UTF-8"), 0"J");
  210.                 $pdf->ln(5);
  211.                 if ($prestatechnique_donnees->getActiviteSecond()) {
  212.                     $pdf->SetX($curseur_partie_droite);
  213.                     $pdf->setTextColor(1167171);
  214.                     $pdf->Cell(05mb_convert_encoding(mb_strtoupper("activité secondaire"), "Windows-1252""UTF-8"), 01"L");
  215.                     $pdf->SetX($curseur_partie_droite);
  216.                     $pdf->setTextColor(000);
  217.                     $pdf->MultiCell(04mb_convert_encoding($prestatechnique_donnees->getActiviteSecond(), "Windows-1252""UTF-8"), 0"J");
  218.                     $pdf->ln(5);
  219.                 }
  220.                 if ($prestatechnique_donnees->getServiceVente() || $prestatechnique_donnees->getServiceLocAvecOp() || $prestatechnique_donnees->getServiceLocSansOp() || $prestatechnique_donnees->getServiceSav()) {
  221.                     $pdf->SetX($curseur_partie_droite);
  222.                     $pdf->SetFont('Arial''B'9);
  223.                     $pdf->Cell(05mb_convert_encoding("Type(s) de service(s) :""Windows-1252""UTF-8"), 01"L");
  224.                     if ($prestatechnique_donnees->getServiceVente()) {
  225.                         $pdf->SetX($curseur_partie_droite 3);
  226.                         $pdf->SetFont('Arial''B'10);
  227.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  228.                         $pdf->SetFont('Arial'''9);
  229.                         $pdf->Cell(04mb_convert_encoding("Vente""Windows-1252""UTF-8"), 01"J");
  230.                     }
  231.                     if ($prestatechnique_donnees->getServiceLocSansOp()) {
  232.                         $pdf->SetX($curseur_partie_droite 3);
  233.                         $pdf->SetFont('Arial''B'10);
  234.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  235.                         $pdf->SetFont('Arial'''9);
  236.                         $pdf->Cell(04mb_convert_encoding("Location sans opérateur""Windows-1252""UTF-8"), 01"J");
  237.                     }
  238.                     if ($prestatechnique_donnees->getServiceLocAvecOp()) {
  239.                         $pdf->SetX($curseur_partie_droite 3);
  240.                         $pdf->SetFont('Arial''B'10);
  241.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  242.                         $pdf->SetFont('Arial'''9);
  243.                         $pdf->Cell(04mb_convert_encoding("Location avec opérateur""Windows-1252""UTF-8"), 01"J");
  244.                     }
  245.                     if ($prestatechnique_donnees->getServiceSav()) {
  246.                         $pdf->SetX($curseur_partie_droite 3);
  247.                         $pdf->SetFont('Arial''B'10);
  248.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  249.                         $pdf->SetFont('Arial'''9);
  250.                         $pdf->Cell(04mb_convert_encoding("SAV""Windows-1252""UTF-8"), 01"J");
  251.                     }
  252.                     $pdf->ln(5);
  253.                 }
  254.                 $pdf->SetX($curseur_partie_droite);
  255.                 $pdf->setTextColor(1167171);
  256.                 $pdf->SetFont('Arial'''9);
  257.                 $pdf->Cell(55mb_convert_encoding(mb_strtoupper("matériel et services proposés"), "Windows-1252""UTF-8"), 01"L");
  258.                 if ($prestatechnique_donnees->getTournageCameraVideo() ||
  259.                     $prestatechnique_donnees->getTournageCameraCinema() ||
  260.                     $prestatechnique_donnees->getTournageCameraCommentaires() != '' ||
  261.                     $prestatechnique_donnees->getTournageEquipementSpeVideo() ||
  262.                     $prestatechnique_donnees->getTournageEquipementSpeCinema() ||
  263.                     $prestatechnique_donnees->getTournageEquipementSpeCommentaires() != '' ||
  264.                     $prestatechnique_donnees->getTournageImageAutreVideo() ||
  265.                     $prestatechnique_donnees->getTournageImageAutreCinema() ||
  266.                     $prestatechnique_donnees->getTournageImageAutreDescriptif() != '' ||
  267.                     $prestatechnique_donnees->getTournageLumiereVideo() ||
  268.                     $prestatechnique_donnees->getTournageLumiereCinema() ||
  269.                     $prestatechnique_donnees->getTournageLumiereCommentaires() != '' ||
  270.                     $prestatechnique_donnees->getTournageMachineVideo() ||
  271.                     $prestatechnique_donnees->getTournageMachineCinema() ||
  272.                     $prestatechnique_donnees->getTournageMachineCommentaires() != '' ||
  273.                     $prestatechnique_donnees->getTournageSonVideo() ||
  274.                     $prestatechnique_donnees->getTournageSonCinema() ||
  275.                     $prestatechnique_donnees->getTournageSonCommentaires() != '' ||
  276.                     $prestatechnique_donnees->getTournageStudioSimpleSurface() != '' ||
  277.                     $prestatechnique_donnees->getTournageStudioSimpleCommentaires() != '' ||
  278.                     $prestatechnique_donnees->getTournageStudioVirtuelSurface() != '' ||
  279.                     $prestatechnique_donnees->getTournageStudioVirtuelCommentaires() != '' ||
  280.                     $prestatechnique_donnees->getTournagePlateauTvSurface() != '' ||
  281.                     $prestatechnique_donnees->getTournagePlateauTvCommentaires() != '' ||
  282.                     $prestatechnique_donnees->getTournageLocauxAutreSurface() != '' ||
  283.                     $prestatechnique_donnees->getTournageLocauxAutreDescriptif() != '') {
  284.                     $pdf->SetX($curseur_partie_droite);
  285.                     $pdf->setTextColor(000);
  286.                     $pdf->SetFont('Arial''B'9);
  287.                     $pdf->Cell(55mb_convert_encoding("Tournage :""Windows-1252""UTF-8"), 01"L");
  288.                     $pdf->SetFont('Arial'''9);
  289.                     if ($prestatechnique_donnees->getTournageCameraVideo() || $prestatechnique_donnees->getTournageCameraCinema()) {
  290.                         $type_camera "";
  291.                         if ($prestatechnique_donnees->getTournageCameraVideo()) $type_camera "la vidéo et ";
  292.                         if ($prestatechnique_donnees->getTournageCameraCinema()) $type_camera .= "le cinéma et ";
  293.                         $type_camera substr($type_camera0, -4);
  294.                         $pdf->SetX($curseur_partie_droite 3);
  295.                         $pdf->SetFont('Arial''B'10);
  296.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  297.                         $pdf->SetFont('Arial'''9);
  298.                         $pdf->Cell(04mb_convert_encoding("Caméra pour " $type_camera"Windows-1252""UTF-8"), 01"J");
  299.                     }
  300.                     if ($prestatechnique_donnees->getTournageEquipementSpeVideo() || $prestatechnique_donnees->getTournageEquipementSpeCinema()) {
  301.                         $type_equipement "";
  302.                         if ($prestatechnique_donnees->getTournageEquipementSpeVideo()) $type_equipement "la vidéo et ";
  303.                         if ($prestatechnique_donnees->getTournageEquipementSpeCinema()) $type_equipement .= "le cinéma et ";
  304.                         $type_equipement substr($type_equipement0, -4);
  305.                         $pdf->SetX($curseur_partie_droite 3);
  306.                         $pdf->SetFont('Arial''B'10);
  307.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  308.                         $pdf->SetFont('Arial'''9);
  309.                         $pdf->Cell(04mb_convert_encoding("Equipement spécialisé pour " $type_equipement"Windows-1252""UTF-8"), 01"J");
  310.                     }
  311.                     if ($prestatechnique_donnees->getTournageImageAutreVideo() || $prestatechnique_donnees->getTournageImageAutreCinema()) {
  312.                         $type_image_autre "";
  313.                         if ($prestatechnique_donnees->getTournageImageAutreVideo()) $type_image_autre "la vidéo et ";
  314.                         if ($prestatechnique_donnees->getTournageImageAutreCinema()) $type_image_autre .= "le cinéma et ";
  315.                         $type_image_autre substr($type_image_autre0, -4);
  316.                         $pdf->SetX($curseur_partie_droite 3);
  317.                         $pdf->SetFont('Arial''B'10);
  318.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  319.                         $pdf->SetFont('Arial'''9);
  320.                         $pdf->Cell(04mb_convert_encoding("Autre pour " $type_image_autre"Windows-1252""UTF-8"), 01"J");
  321.                     }
  322.                     if ($prestatechnique_donnees->getTournageLumiereVideo() || $prestatechnique_donnees->getTournageLumiereCinema()) {
  323.                         $type_lumiere "";
  324.                         if ($prestatechnique_donnees->getTournageLumiereVideo()) $type_lumiere "la vidéo et ";
  325.                         if ($prestatechnique_donnees->getTournageLumiereCinema()) $type_lumiere .= "le cinéma et ";
  326.                         $type_lumiere substr($type_lumiere0, -4);
  327.                         $pdf->SetX($curseur_partie_droite 3);
  328.                         $pdf->SetFont('Arial''B'10);
  329.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  330.                         $pdf->SetFont('Arial'''9);
  331.                         $pdf->Cell(04mb_convert_encoding("Lumière et accessoires pour " $type_lumiere"Windows-1252""UTF-8"), 01"J");
  332.                     }
  333.                     if ($prestatechnique_donnees->getTournageMachineVideo() || $prestatechnique_donnees->getTournageMachineCinema()) {
  334.                         $type_machine "";
  335.                         if ($prestatechnique_donnees->getTournageMachineVideo()) $type_machine "la vidéo et ";
  336.                         if ($prestatechnique_donnees->getTournageMachineCinema()) $type_machine .= "le cinéma et ";
  337.                         $type_machine substr($type_machine0, -4);
  338.                         $pdf->SetX($curseur_partie_droite 3);
  339.                         $pdf->SetFont('Arial''B'10);
  340.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  341.                         $pdf->SetFont('Arial'''9);
  342.                         $pdf->Cell(04mb_convert_encoding("Machinerie et accessoires pour " $type_machine"Windows-1252""UTF-8"), 01"J");
  343.                     }
  344.                     if ($prestatechnique_donnees->getTournageSonVideo() || $prestatechnique_donnees->getTournageSonCinema()) {
  345.                         $type_son "";
  346.                         if ($prestatechnique_donnees->getTournageSonVideo()) $type_son "la vidéo et ";
  347.                         if ($prestatechnique_donnees->getTournageSonCinema()) $type_son .= "le cinéma et ";
  348.                         $type_son substr($type_son0, -4);
  349.                         $pdf->SetX($curseur_partie_droite 3);
  350.                         $pdf->SetFont('Arial''B'10);
  351.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  352.                         $pdf->SetFont('Arial'''9);
  353.                         $pdf->Cell(04mb_convert_encoding("Son et accessoires pour " $type_son"Windows-1252""UTF-8"), 01"J");
  354.                     }
  355.                     if ($prestatechnique_donnees->getTournageStudioSimpleSurface() != '' || $prestatechnique_donnees->getTournageStudioSimpleCommentaires() != '') {
  356.                         $pdf->SetX($curseur_partie_droite 3);
  357.                         $pdf->SetFont('Arial''B'10);
  358.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  359.                         $pdf->SetFont('Arial'''9);
  360.                         $surface_studio_simple = ($prestatechnique_donnees->getTournageStudioSimpleSurface() != '') ? $prestatechnique_donnees->getTournageStudioSimpleSurface() . "m²" '';
  361.                         $pdf->Cell(04mb_convert_encoding("Studio simple $surface_studio_simple""Windows-1252""UTF-8"), 01"J");
  362.                     }
  363.                     if ($prestatechnique_donnees->getTournageStudioVirtuelSurface() != '' || $prestatechnique_donnees->getTournageStudioVirtuelCommentaires() != '') {
  364.                         $pdf->SetX($curseur_partie_droite 3);
  365.                         $pdf->SetFont('Arial''B'10);
  366.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  367.                         $pdf->SetFont('Arial'''9);
  368.                         $surface_studio_virtuel = ($prestatechnique_donnees->getTournageStudioVirtuelSurface() != '') ? $prestatechnique_donnees->getTournageStudioVirtuelSurface() . "m²" '';
  369.                         $pdf->Cell(04mb_convert_encoding("Studio virtuel $surface_studio_virtuel""Windows-1252""UTF-8"), 01"J");
  370.                     }
  371.                     if ($prestatechnique_donnees->getTournagePlateauTvSurface() != '' || $prestatechnique_donnees->getTournagePlateauTvCommentaires() != '') {
  372.                         $pdf->SetX($curseur_partie_droite 3);
  373.                         $pdf->SetFont('Arial''B'10);
  374.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  375.                         $pdf->SetFont('Arial'''9);
  376.                         $surface_plateau_tv = ($prestatechnique_donnees->getTournagePlateauTvSurface() != '') ? $prestatechnique_donnees->getTournagePlateauTvSurface() . "m²" '';
  377.                         $pdf->Cell(04mb_convert_encoding("Studio virtuel $surface_plateau_tv""Windows-1252""UTF-8"), 01"J");
  378.                     }
  379.                     if ($prestatechnique_donnees->getTournageLocauxAutreSurface() != '' || $prestatechnique_donnees->getTournageLocauxAutreDescriptif() != '') {
  380.                         $pdf->SetX($curseur_partie_droite 3);
  381.                         $pdf->SetFont('Arial''B'10);
  382.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  383.                         $pdf->SetFont('Arial'''9);
  384.                         $surface_locaux_autre = ($prestatechnique_donnees->getTournageLocauxAutreSurface() != '') ? $prestatechnique_donnees->getTournageLocauxAutreSurface() . "m²" '';
  385.                         $pdf->Cell(04mb_convert_encoding("Studio virtuel $surface_locaux_autre""Windows-1252""UTF-8"), 01"J");
  386.                     }
  387.                 }
  388.                 $pdf->ln(5);
  389.                 if ($prestatechnique_donnees->getPostprodImageMontage() ||
  390.                     $prestatechnique_donnees->getPostprodImageMontageLocaux() ||
  391.                     $prestatechnique_donnees->getPostprodImageMontageDescriptif() != '' ||
  392.                     $prestatechnique_donnees->getPostprodImageTrucage() ||
  393.                     $prestatechnique_donnees->getPostprodImageTrucageLocaux() ||
  394.                     $prestatechnique_donnees->getPostprodImageTrucageDescriptif() != '' ||
  395.                     $prestatechnique_donnees->getPostprodImageTitrage() ||
  396.                     $prestatechnique_donnees->getPostprodImageTitrageLocaux() ||
  397.                     $prestatechnique_donnees->getPostprodImageTitrageDescriptif() != '' ||
  398.                     $prestatechnique_donnees->getPostprodImageAnim() ||
  399.                     $prestatechnique_donnees->getPostprodImageAnimLocaux() ||
  400.                     $prestatechnique_donnees->getPostprodImageAnimDescriptif() != '' ||
  401.                     $prestatechnique_donnees->getPostprodImageEtalon() ||
  402.                     $prestatechnique_donnees->getPostprodImageEtalonLocaux() ||
  403.                     $prestatechnique_donnees->getPostprodImageEtalonDescriptif() != '' ||
  404.                     $prestatechnique_donnees->getPostprodSonMusique() ||
  405.                     $prestatechnique_donnees->getPostprodSonMusiqueLocaux() ||
  406.                     $prestatechnique_donnees->getPostprodSonMusiqueDescriptif() != '' ||
  407.                     $prestatechnique_donnees->getPostprodSonVoixoff() ||
  408.                     $prestatechnique_donnees->getPostprodSonVoixoffLocaux() ||
  409.                     $prestatechnique_donnees->getPostprodSonVoixoffDescriptif() != '' ||
  410.                     $prestatechnique_donnees->getPostprodSonBruitage() ||
  411.                     $prestatechnique_donnees->getPostprodSonBruitageLocaux() ||
  412.                     $prestatechnique_donnees->getPostprodSonBruitageDescriptif() != '' ||
  413.                     $prestatechnique_donnees->getPostprodSonMixage() ||
  414.                     $prestatechnique_donnees->getPostprodSonMixageLocaux() ||
  415.                     $prestatechnique_donnees->getPostprodSonMixageDescriptif() != '') {
  416.                     $pdf->SetX($curseur_partie_droite);
  417.                     $pdf->setTextColor(000);
  418.                     $pdf->SetFont('Arial''B'9);
  419.                     $pdf->Cell(55mb_convert_encoding("Post-production :""Windows-1252""UTF-8"), 01"L");
  420.                     $pdf->SetFont('Arial'''9);
  421.                     if ($prestatechnique_donnees->getPostprodImageMontage() || $prestatechnique_donnees->getPostprodImageMontageLocaux()) {
  422.                         $pdf->SetX($curseur_partie_droite 3);
  423.                         $pdf->SetFont('Arial''B'10);
  424.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  425.                         $pdf->SetFont('Arial'''9);
  426.                         $locaux_image_montage = ($prestatechnique_donnees->getPostprodImageMontageLocaux() != '') ? "(locaux à disposition)" '';
  427.                         $pdf->Cell(04mb_convert_encoding("Station de montage $locaux_image_montage""Windows-1252""UTF-8"), 01"J");
  428.                     }
  429.                     if ($prestatechnique_donnees->getPostprodImageTrucage() || $prestatechnique_donnees->getPostprodImageTrucageLocaux()) {
  430.                         $pdf->SetX($curseur_partie_droite 3);
  431.                         $pdf->SetFont('Arial''B'10);
  432.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  433.                         $pdf->SetFont('Arial'''9);
  434.                         $locaux_image_trucage = ($prestatechnique_donnees->getPostprodImageTrucageLocaux() != '') ? "(locaux à disposition)" '';
  435.                         $pdf->Cell(04mb_convert_encoding("Trucage & effets spéciaux $locaux_image_trucage""Windows-1252""UTF-8"), 01"J");
  436.                     }
  437.                     if ($prestatechnique_donnees->getPostprodImageTitrage() || $prestatechnique_donnees->getPostprodImageTitrageLocaux()) {
  438.                         $pdf->SetX($curseur_partie_droite 3);
  439.                         $pdf->SetFont('Arial''B'10);
  440.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  441.                         $pdf->SetFont('Arial'''9);
  442.                         $locaux_image_titrage = ($prestatechnique_donnees->getPostprodImageMontageLocaux() != '') ? "(locaux à disposition)" '';
  443.                         $pdf->Cell(04mb_convert_encoding("Titrage $locaux_image_titrage""Windows-1252""UTF-8"), 01"J");
  444.                     }
  445.                     if ($prestatechnique_donnees->getPostprodImageAnim() || $prestatechnique_donnees->getPostprodImageAnimLocaux()) {
  446.                         $pdf->SetX($curseur_partie_droite 3);
  447.                         $pdf->SetFont('Arial''B'10);
  448.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  449.                         $pdf->SetFont('Arial'''9);
  450.                         $locaux_image_anim = ($prestatechnique_donnees->getPostprodImageAnimLocaux() != '') ? "(locaux à disposition)" '';
  451.                         $pdf->Cell(04mb_convert_encoding("Animation/motion design $locaux_image_anim""Windows-1252""UTF-8"), 01"J");
  452.                     }
  453.                     if ($prestatechnique_donnees->getPostprodImageEtalon() || $prestatechnique_donnees->getPostprodImageEtalonLocaux()) {
  454.                         $pdf->SetX($curseur_partie_droite 3);
  455.                         $pdf->SetFont('Arial''B'10);
  456.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  457.                         $pdf->SetFont('Arial'''9);
  458.                         $locaux_image_etalon = ($prestatechnique_donnees->getPostprodImageEtalonLocaux() != '') ? "(locaux à disposition)" '';
  459.                         $pdf->Cell(04mb_convert_encoding("Station d'étalonnage $locaux_image_etalon""Windows-1252""UTF-8"), 01"J");
  460.                     }
  461.                     if ($prestatechnique_donnees->getPostprodSonMusique() || $prestatechnique_donnees->getPostprodSonMusiqueLocaux()) {
  462.                         $pdf->SetX($curseur_partie_droite 3);
  463.                         $pdf->SetFont('Arial''B'10);
  464.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  465.                         $pdf->SetFont('Arial'''9);
  466.                         $locaux_son_musique = ($prestatechnique_donnees->getPostprodSonMusiqueLocaux() != '') ? "(locaux à disposition)" '';
  467.                         $pdf->Cell(04mb_convert_encoding("Studio d'enregistrement musique $locaux_son_musique""Windows-1252""UTF-8"), 01"J");
  468.                     }
  469.                     if ($prestatechnique_donnees->getPostprodSonVoixoff() || $prestatechnique_donnees->getPostprodSonVoixoffLocaux()) {
  470.                         $pdf->SetX($curseur_partie_droite 3);
  471.                         $pdf->SetFont('Arial''B'10);
  472.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  473.                         $pdf->SetFont('Arial'''9);
  474.                         $locaux_son_voixoff = ($prestatechnique_donnees->getPostprodSonVoixoffLocaux() != '') ? "(locaux à disposition)" '';
  475.                         $pdf->Cell(04mb_convert_encoding("Studio d'enregistrement voix-off/doublage $locaux_son_voixoff""Windows-1252""UTF-8"), 01"J");
  476.                     }
  477.                     if ($prestatechnique_donnees->getPostprodSonBruitage() || $prestatechnique_donnees->getPostprodSonBruitageLocaux()) {
  478.                         $pdf->SetX($curseur_partie_droite 3);
  479.                         $pdf->SetFont('Arial''B'10);
  480.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  481.                         $pdf->SetFont('Arial'''9);
  482.                         $locaux_son_bruitage = ($prestatechnique_donnees->getPostprodSonBruitageLocaux() != '') ? "(locaux à disposition)" '';
  483.                         $pdf->Cell(04mb_convert_encoding("Studio d'enregistrement de bruitage $locaux_son_bruitage""Windows-1252""UTF-8"), 01"J");
  484.                     }
  485.                     if ($prestatechnique_donnees->getPostprodSonMixage() || $prestatechnique_donnees->getPostprodSonMixageLocaux()) {
  486.                         $pdf->SetX($curseur_partie_droite 3);
  487.                         $pdf->SetFont('Arial''B'10);
  488.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  489.                         $pdf->SetFont('Arial'''9);
  490.                         $locaux_son_mixage = ($prestatechnique_donnees->getPostprodSonMixageLocaux() != '') ? "(locaux à disposition)" '';
  491.                         $pdf->Cell(04mb_convert_encoding("Studio de mixage $locaux_son_mixage""Windows-1252""UTF-8"), 01"J");
  492.                     }
  493.                     $pdf->ln(5);
  494.                 }
  495.                 if ($prestatechnique_donnees->getDiffTechLabo() ||
  496.                     $prestatechnique_donnees->getDiffTechMaster() ||
  497.                     $prestatechnique_donnees->getDiffTechAuthor() ||
  498.                     $prestatechnique_donnees->getDiffOutilsEcran() ||
  499.                     $prestatechnique_donnees->getDiffOutilsEcranLocaux() ||
  500.                     $prestatechnique_donnees->getDiffOutilsEcranLocaux() != '' ||
  501.                     $prestatechnique_donnees->getDiffOutilsCasque() ||
  502.                     $prestatechnique_donnees->getDiffOutilsCasqueCommentaires() != '' ||
  503.                     $prestatechnique_donnees->getDiffOutilsAutre() ||
  504.                     $prestatechnique_donnees->getDiffOutilsAutreDescriptif() != '') {
  505.                     $pdf->SetX($curseur_partie_droite);
  506.                     $pdf->setTextColor(000);
  507.                     $pdf->SetFont('Arial''B'9);
  508.                     $pdf->Cell(55mb_convert_encoding("Diffusion :""Windows-1252""UTF-8"), 01"L");
  509.                     $pdf->SetFont('Arial'''9);
  510.                     if ($prestatechnique_donnees->getDiffTechLabo()) {
  511.                         $pdf->SetX($curseur_partie_droite 3);
  512.                         $pdf->SetFont('Arial''B'10);
  513.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  514.                         $pdf->SetFont('Arial'''9);
  515.                         $pdf->Cell(04mb_convert_encoding("Laboratoire cinéma""Windows-1252""UTF-8"), 01"J");
  516.                     }
  517.                     if ($prestatechnique_donnees->getDiffTechMaster()) {
  518.                         $pdf->SetX($curseur_partie_droite 3);
  519.                         $pdf->SetFont('Arial''B'10);
  520.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  521.                         $pdf->SetFont('Arial'''9);
  522.                         $pdf->Cell(04mb_convert_encoding("Mastering et encodage""Windows-1252""UTF-8"), 01"J");
  523.                     }
  524.                     if ($prestatechnique_donnees->getDiffTechAuthor()) {
  525.                         $pdf->SetX($curseur_partie_droite 3);
  526.                         $pdf->SetFont('Arial''B'10);
  527.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  528.                         $pdf->SetFont('Arial'''9);
  529.                         $pdf->Cell(04mb_convert_encoding("Authoring et duplication""Windows-1252""UTF-8"), 01"J");
  530.                     }
  531.                     if ($prestatechnique_donnees->getDiffOutilsEcran() || $prestatechnique_donnees->getDiffOutilsEcranLocaux()) {
  532.                         $pdf->SetX($curseur_partie_droite 3);
  533.                         $pdf->SetFont('Arial''B'10);
  534.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  535.                         $pdf->SetFont('Arial'''9);
  536.                         $locaux_outils_ecran = ($prestatechnique_donnees->getDiffOutilsEcranLocaux() != '') ? "(locaux à disposition)" '';
  537.                         $pdf->Cell(04mb_convert_encoding("Ecran & projection $locaux_outils_ecran""Windows-1252""UTF-8"), 01"J");
  538.                     }
  539.                     if ($prestatechnique_donnees->getDiffOutilsCasque()) {
  540.                         $pdf->SetX($curseur_partie_droite 3);
  541.                         $pdf->SetFont('Arial''B'10);
  542.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  543.                         $pdf->SetFont('Arial'''9);
  544.                         $pdf->Cell(04mb_convert_encoding("Casque de réalité virtuelle""Windows-1252""UTF-8"), 01"J");
  545.                     }
  546.                     if ($prestatechnique_donnees->getDiffOutilsAutre()) {
  547.                         $pdf->SetX($curseur_partie_droite 3);
  548.                         $pdf->SetFont('Arial''B'10);
  549.                         $pdf->Cell(24mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  550.                         $pdf->SetFont('Arial'''9);
  551.                         $pdf->Cell(04mb_convert_encoding("Autre équipement""Windows-1252""UTF-8"), 01"J");
  552.                     }
  553.                     $pdf->ln(5);
  554.                 }
  555.                 if (count($prestatechnique_donnees->getPrestataireTechniqueExperiences()) > 0){
  556.                     $pdf->SetX($curseur_partie_droite);
  557.                     $pdf->setTextColor(1167171);
  558.                     $pdf->SetFont('Arial'''8);
  559.                     $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Expérience(s) de tournage(s)"), "Windows-1252""UTF-8"), 01"L");
  560.                     $pdf->SetX($curseur_partie_droite);
  561.                     $pdf->SetFillColor(223223223);
  562.                     $pdf->SetDrawColor(000);
  563.                     $pdf->SetLineWidth(0.1);
  564.                     $pdf->setTextColor(000);
  565.                             $pdf->Cell(105mb_convert_encoding("Année""Windows-1252""UTF-8"), 10"L"1);
  566.                             $pdf->Cell(605"Titre"10"L"1);
  567.                             $pdf->Cell(405mb_convert_encoding("Réalisation""Windows-1252""UTF-8"), 10"L"1);
  568.                             $pdf->Cell(255"Format"10"L"1);
  569.                             $pdf->Cell(205mb_convert_encoding("Catégorie""Windows-1252""UTF-8"), 10"L"1);
  570.                             $pdf->Cell(355mb_convert_encoding("Production""Windows-1252""UTF-8"), 11"L"1);
  571.                     foreach ($prestatechnique_donnees->getPrestataireTechniqueExperiences() as $experiences) {
  572.                         $pdf->SetX($curseur_partie_droite);
  573.                         $pdf->Cell(105mb_convert_encoding($experiences->getAnnee(), "Windows-1252""UTF-8"), 10"L");
  574.                         $titre_experiences mb_convert_encoding($experiences->getTitre(), "Windows-1252""UTF-8");
  575.                         $titre_experiences = (strlen($titre_experiences) <= 40) ? $titre_experiences substr($titre_experiences040) . "...";
  576.                         $pdf->Cell(605$titre_experiences10"L");
  577.                         $realisation_experiences mb_convert_encoding($experiences->getRealisation(), "Windows-1252""UTF-8");
  578.                         $realisation_experiences = (strlen($realisation_experiences) <= 34) ? $realisation_experiences substr($realisation_experiences034) . "...";
  579.                         $pdf->Cell(405$realisation_experiences10"L");
  580.                         $format_experiences mb_convert_encoding($experiences->getFormat(), "Windows-1252""UTF-8");
  581.                         $pdf->Cell(255$format_experiences10"L");
  582.                         $categorie_experiences mb_convert_encoding($experiences->getCategorie(), "Windows-1252""UTF-8");
  583.                         $pdf->Cell(205$categorie_experiences10"L");
  584.                         $pdf->Cell(355mb_convert_encoding($experiences->getProduction(), "Windows-1252""UTF-8"), 11"L");
  585.                     }
  586.                     $pdf->ln(5);
  587.                 }
  588.                 if(
  589.                     $prestatechnique_donnees->getLangues() != '' ||
  590.                     $prestatechnique_donnees->getRayonCalvados() ||
  591.                     $prestatechnique_donnees->getRayonEure() ||
  592.                     $prestatechnique_donnees->getRayonManche() ||
  593.                     $prestatechnique_donnees->getRayonOrne() ||
  594.                     $prestatechnique_donnees->getRayonSeineMaritime() ||
  595.                     $prestatechnique_donnees->getRayonHorsNormandie())
  596.                 {
  597.                     $this->info_complementaire($pdf$prestatechnique_donnees$curseur_partie_droite);
  598.                 }
  599.                 $this->pied_page($pdf);
  600.                 $date_maj $prestatechnique_donnees->getStatutDate();
  601.                 $pdf->setXY(102);
  602.                 $pdf->SetTextColor(0,0,0);
  603.                 $pdf->SetFont('Arial''B'9);
  604.                 $pdf->Cell(0,8,mb_convert_encoding("Profil validé le ".date_format($date_maj"d/m/Y"), "Windows-1252""UTF-8"), 01);
  605.             }
  606.         }elseif($type == 'prestaservices' || $type == 'prestataireservices'){
  607.             $type "Prestataire de services aux tournages";
  608.             /* Prestataires de services aux tournages */
  609.             if (count($user->getPrestatairesLogistiques()) > 0) {
  610.                 foreach ($user->getPrestatairesLogistiques() as $prestaservices) {
  611.                     $prestaservices_donnees $prestaservices;
  612.                     /* Cantine et catering */
  613.                     if($prestaservices_donnees->getCatering()){
  614.                         $pdf->AddPage();
  615.                         $pdf->SetAutoPageBreak(,5);
  616.                         $this->en_tete($pdf,$user,$structure_donnees,$type);
  617.                         $pdf->SetXY($curseur_partie_droite93);
  618.                         $pdf->setTextColor(1167171);
  619.                         $pdf->SetFont('Arial'''9);
  620.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("prestation proposée"), "Windows-1252""UTF-8"), 01"L");
  621.                         $pdf->SetX($curseur_partie_droite);
  622.                         $pdf->setTextColor(000);
  623.                         $pdf->Cell(04mb_convert_encoding("Cantine et catering""Windows-1252""UTF-8"), 01,"L");
  624.                         $pdf->ln(5);
  625.                         $pdf->SetX($curseur_partie_droite);
  626.                         $pdf->setTextColor(1167171);
  627.                         $pdf->SetFont('Arial'''9);
  628.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("descriptif général de l'activité"), "Windows-1252""UTF-8"), 01"L");
  629.                         $pdf->SetX($curseur_partie_droite);
  630.                         $pdf->setTextColor(000);
  631.                         $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getCateringDescriptif(), "Windows-1252""UTF-8"), 0"J");
  632.                         $pdf->ln(5);
  633.                         $pdf->SetX($curseur_partie_droite);
  634.                         $pdf->setTextColor(1167171);
  635.                         $pdf->SetFont('Arial'''9);
  636.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("spécialité(s) culinaire(s) ou approche spécifique"), "Windows-1252""UTF-8"), 01"L");
  637.                         $pdf->SetX($curseur_partie_droite);
  638.                         $pdf->setTextColor(000);
  639.                         $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getCateringSpecialiteCulinaire(), "Windows-1252""UTF-8"), 0"J");
  640.                         $pdf->ln(5);
  641.                         $pdf->SetX($curseur_partie_droite);
  642.                         $pdf->setTextColor(1167171);
  643.                         $pdf->SetFont('Arial'''9);
  644.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Capacité de couverts par service"), "Windows-1252""UTF-8"), 01"L");
  645.                         $pdf->SetX($curseur_partie_droite);
  646.                         $pdf->setTextColor(000);
  647.                         $pdf->Cell(04mb_convert_encoding($prestaservices_donnees->getCateringCapaciteCouverts(), "Windows-1252""UTF-8"), 0,1"L");
  648.                         $pdf->ln(5);
  649.                         $pdf->SetX($curseur_partie_droite);
  650.                         $pdf->setTextColor(1167171);
  651.                         $pdf->SetFont('Arial'''9);
  652.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Infrastructure et capacité d’accueil"), "Windows-1252""UTF-8"), 01"L");
  653.                         $pdf->SetX($curseur_partie_droite);
  654.                         $pdf->setTextColor(000);
  655.                         $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getCateringInfrastructure(), "Windows-1252""UTF-8"), 0"J");
  656.                         $pdf->ln(5);
  657.                         if (count($prestaservices_donnees->getCateringExperiences()) > 0) {
  658.                             $pdf->SetX($curseur_partie_droite);
  659.                             $pdf->setTextColor(1167171);
  660.                             $pdf->SetFont('Arial'''8);
  661.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Expérience(s) de tournage(s)"), "Windows-1252""UTF-8"), 01"L");
  662.                             $pdf->SetX($curseur_partie_droite);
  663.                             $pdf->SetFillColor(223223223);
  664.                             $pdf->SetDrawColor(000);
  665.                             $pdf->SetLineWidth(0.1);
  666.                             $pdf->setTextColor(000);
  667.                             $pdf->Cell(105mb_convert_encoding("Année""Windows-1252""UTF-8"), 10"L"1);
  668.                             $pdf->Cell(605"Titre"10"L"1);
  669.                             $pdf->Cell(405mb_convert_encoding("Réalisation""Windows-1252""UTF-8"), 10"L"1);
  670.                             $pdf->Cell(255"Format"10"L"1);
  671.                             $pdf->Cell(205mb_convert_encoding("Catégorie""Windows-1252""UTF-8"), 10"L"1);
  672.                             $pdf->Cell(355mb_convert_encoding("Production""Windows-1252""UTF-8"), 11"L"1);
  673.                             foreach ($prestaservices_donnees->getCateringExperiences() as $experiences) {
  674.                                 $pdf->SetX($curseur_partie_droite);
  675.                                 $pdf->Cell(105mb_convert_encoding($experiences->getAnnee(), "Windows-1252""UTF-8"), 10"L");
  676.                                 $titre_experiences mb_convert_encoding($experiences->getTitre(), "Windows-1252""UTF-8");
  677.                                 $titre_experiences = (strlen($titre_experiences) <= 40) ? $titre_experiences substr($titre_experiences040) . "...";
  678.                                 $pdf->Cell(605$titre_experiences10"L");
  679.                                 $realisation_experiences mb_convert_encoding($experiences->getRealisation(), "Windows-1252""UTF-8");
  680.                                 $realisation_experiences = (strlen($realisation_experiences) <= 34) ? $realisation_experiences substr($realisation_experiences034) . "...";
  681.                                 $pdf->Cell(405$realisation_experiences10"L");
  682.                                 $format_experiences mb_convert_encoding($experiences->getFormat(), "Windows-1252""UTF-8");
  683.                                 $pdf->Cell(255$format_experiences10"L");
  684.                                 $categorie_experiences mb_convert_encoding($experiences->getCategorie(), "Windows-1252""UTF-8");
  685.                                 $pdf->Cell(205$categorie_experiences10"L");
  686.                                 $pdf->Cell(355mb_convert_encoding($experiences->getProduction(), "Windows-1252""UTF-8"), 11"L");
  687.                             }
  688.                             $pdf->ln(5);
  689.                         }
  690.                         if ($prestaservices_donnees->getCateringExperienceAutre()) {
  691.                             $pdf->SetX($curseur_partie_droite);
  692.                             $pdf->setTextColor(1167171);
  693.                             $pdf->SetFont('Arial'''9);
  694.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Autre(s) expérience(s)"), "Windows-1252""UTF-8"), 01"L");
  695.                             $pdf->SetX($curseur_partie_droite);
  696.                             $pdf->setTextColor(000);
  697.                             $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getCateringExperienceAutre(), "Windows-1252""UTF-8"), 0"J");
  698.                             $pdf->ln(5);
  699.                         }
  700.                         if(
  701.                             $prestaservices_donnees->getLangues() != '' ||
  702.                             $prestaservices_donnees->getRayonCalvados() ||
  703.                             $prestaservices_donnees->getRayonEure() ||
  704.                             $prestaservices_donnees->getRayonManche() ||
  705.                             $prestaservices_donnees->getRayonOrne() ||
  706.                             $prestaservices_donnees->getRayonSeineMaritime() ||
  707.                             $prestaservices_donnees->getRayonHorsNormandie())
  708.                         {
  709.                             $this->info_complementaire($pdf$prestaservices_donnees$curseur_partie_droite);
  710.                         }
  711.                         $this->pied_page($pdf);
  712.                         $date_maj $prestaservices_donnees->getStatutDate();
  713.                         $pdf->setXY(102);
  714.                         $pdf->SetTextColor(0,0,0);
  715.                         $pdf->SetFont('Arial''B'9);
  716.                         $pdf->Cell(0,8,mb_convert_encoding("Profil validé le ".date_format($date_maj"d/m/Y"), "Windows-1252""UTF-8"), 01);
  717.                     }
  718.                     /* Costume */
  719.                     if($prestaservices_donnees->getCostume()){
  720.                         $pdf->AddPage();
  721.                         $pdf->SetAutoPageBreak(,5);
  722.                         $this->en_tete($pdf,$user,$structure_donnees,$type);
  723.                         $pdf->SetXY($curseur_partie_droite93);
  724.                         $pdf->setTextColor(1167171);
  725.                         $pdf->SetFont('Arial'''9);
  726.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("prestation proposée"), "Windows-1252""UTF-8"), 01"L");
  727.                         $pdf->SetX($curseur_partie_droite);
  728.                         $pdf->setTextColor(000);
  729.                         $pdf->Cell(04mb_convert_encoding("Costume : atelier et stockage""Windows-1252""UTF-8"), 01,"L");
  730.                         $pdf->ln(5);
  731.                         $pdf->SetX($curseur_partie_droite);
  732.                         $pdf->setTextColor(1167171);
  733.                         $pdf->SetFont('Arial'''9);
  734.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("descriptif général de l'activité"), "Windows-1252""UTF-8"), 01"L");
  735.                         $pdf->SetX($curseur_partie_droite);
  736.                         $pdf->setTextColor(000);
  737.                         $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getCostumeDescriptif(), "Windows-1252""UTF-8"), 0"J");
  738.                         $pdf->ln(5);
  739.                         $pdf->SetX($curseur_partie_droite);
  740.                         $pdf->setTextColor(1167171);
  741.                         $pdf->SetFont('Arial'''9);
  742.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("costumes et accessoires d’habillage en possession"), "Windows-1252""UTF-8"), 01"L");
  743.                         $pdf->SetX($curseur_partie_droite);
  744.                         $pdf->setTextColor(000);
  745.                         $pdf->Cell(04mb_convert_encoding($prestaservices_donnees->getCostumeQuantite(), "Windows-1252""UTF-8"), 0,1"L");
  746.                         $pdf->ln(5);
  747.                         $pdf->SetX($curseur_partie_droite);
  748.                         $pdf->setTextColor(1167171);
  749.                         $pdf->SetFont('Arial'''9);
  750.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Services proposés"), "Windows-1252""UTF-8"), 01"L");
  751.                         $pdf->SetX($curseur_partie_droite);
  752.                         $pdf->setTextColor(000);
  753.                         if($prestaservices_donnees->getCostumeLocationCostume()){
  754.                             $pdf->SetX($curseur_partie_droite 3);
  755.                             $pdf->SetFont('Arial''B'10);
  756.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  757.                             $pdf->SetFont('Arial'''9);
  758.                             $pdf->Cell(0,mb_convert_encoding("Location de costumes/accessoires d’habillage""Windows-1252""UTF-8"), 01"J");
  759.                         }
  760.                         if($prestaservices_donnees->getCostumeCreation()){
  761.                             $pdf->SetX($curseur_partie_droite 3);
  762.                             $pdf->SetFont('Arial''B'10);
  763.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  764.                             $pdf->SetFont('Arial'''9);
  765.                             $pdf->Cell(0,mb_convert_encoding("Création de costumes/accessoires d’habillage""Windows-1252""UTF-8"), 01"J");
  766.                         }
  767.                         if($prestaservices_donnees->getCostumeRetouche()){
  768.                             $pdf->SetX($curseur_partie_droite 3);
  769.                             $pdf->SetFont('Arial''B'10);
  770.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  771.                             $pdf->SetFont('Arial'''9);
  772.                             $pdf->Cell(0,mb_convert_encoding("Retouches de costumes/accessoires d’habillage""Windows-1252""UTF-8"), 01"J");
  773.                         }
  774.                         if($prestaservices_donnees->getCostumeLieuFabrication()){
  775.                             $pdf->SetX($curseur_partie_droite 3);
  776.                             $pdf->SetFont('Arial''B'10);
  777.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  778.                             $pdf->SetFont('Arial'''9);
  779.                             $pdf->Cell(0,mb_convert_encoding("Mise à disposition d’un lieu de fabrication""Windows-1252""UTF-8"), 01"J");
  780.                         }
  781.                         if($prestaservices_donnees->getCostumeLieuHabillage()){
  782.                             $pdf->SetX($curseur_partie_droite 3);
  783.                             $pdf->SetFont('Arial''B'10);
  784.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  785.                             $pdf->SetFont('Arial'''9);
  786.                             $pdf->Cell(0,mb_convert_encoding("Mise à disposition d’un lieu d’habillage""Windows-1252""UTF-8"), 01"J");
  787.                         }
  788.                         if($prestaservices_donnees->getCostumeLocationMaterielConception()){
  789.                             $pdf->SetX($curseur_partie_droite 3);
  790.                             $pdf->SetFont('Arial''B'10);
  791.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  792.                             $pdf->SetFont('Arial'''9);
  793.                             $pdf->Cell(0,mb_convert_encoding("Location matériel de conception/retouche""Windows-1252""UTF-8"), 01"J");
  794.                         }
  795.                         if($prestaservices_donnees->getCostumeLocationMaterielEntretien()){
  796.                             $pdf->SetX($curseur_partie_droite 3);
  797.                             $pdf->SetFont('Arial''B'10);
  798.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  799.                             $pdf->SetFont('Arial'''9);
  800.                             $pdf->Cell(0,mb_convert_encoding("Location matériel d’entretien""Windows-1252""UTF-8"), 01"J");
  801.                         }
  802.                         if($prestaservices_donnees->getCostumeLivraison()){
  803.                             $pdf->SetX($curseur_partie_droite 3);
  804.                             $pdf->SetFont('Arial''B'10);
  805.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  806.                             $pdf->SetFont('Arial'''9);
  807.                             $pdf->Cell(0,mb_convert_encoding("Livraison sur site""Windows-1252""UTF-8"), 01"J");
  808.                         }
  809.                         $pdf->ln(5);
  810.                         if (count($prestaservices_donnees->getCostumeExperiences()) > 0) {
  811.                             $pdf->SetX($curseur_partie_droite);
  812.                             $pdf->setTextColor(1167171);
  813.                             $pdf->SetFont('Arial'''8);
  814.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Expérience(s) de tournage(s)"), "Windows-1252""UTF-8"), 01"L");
  815.                             $pdf->SetX($curseur_partie_droite);
  816.                             $pdf->SetFillColor(223223223);
  817.                             $pdf->SetDrawColor(000);
  818.                             $pdf->SetLineWidth(0.1);
  819.                             $pdf->setTextColor(000);
  820.                             $pdf->Cell(105mb_convert_encoding("Année""Windows-1252""UTF-8"), 10"L"1);
  821.                             $pdf->Cell(605"Titre"10"L"1);
  822.                             $pdf->Cell(405mb_convert_encoding("Réalisation""Windows-1252""UTF-8"), 10"L"1);
  823.                             $pdf->Cell(255"Format"10"L"1);
  824.                             $pdf->Cell(205mb_convert_encoding("Catégorie""Windows-1252""UTF-8"), 10"L"1);
  825.                             $pdf->Cell(355mb_convert_encoding("Production""Windows-1252""UTF-8"), 11"L"1);
  826.                             foreach ($prestaservices_donnees->getCostumeExperiences() as $experiences) {
  827.                                 $pdf->SetX($curseur_partie_droite);
  828.                                 $pdf->Cell(105mb_convert_encoding($experiences->getAnnee(), "Windows-1252""UTF-8"), 10"L");
  829.                                 $titre_experiences mb_convert_encoding($experiences->getTitre(), "Windows-1252""UTF-8");
  830.                                 $titre_experiences = (strlen($titre_experiences) <= 40) ? $titre_experiences substr($titre_experiences040) . "...";
  831.                                 $pdf->Cell(605$titre_experiences10"L");
  832.                                 $realisation_experiences mb_convert_encoding($experiences->getRealisation(), "Windows-1252""UTF-8");
  833.                                 $realisation_experiences = (strlen($realisation_experiences) <= 34) ? $realisation_experiences substr($realisation_experiences034) . "...";
  834.                                 $pdf->Cell(405$realisation_experiences10"L");
  835.                                 $format_experiences mb_convert_encoding($experiences->getFormat(), "Windows-1252""UTF-8");
  836.                                 $pdf->Cell(255$format_experiences10"L");
  837.                                 $categorie_experiences mb_convert_encoding($experiences->getCategorie(), "Windows-1252""UTF-8");
  838.                                 $pdf->Cell(205$categorie_experiences10"L");
  839.                                 $pdf->Cell(355mb_convert_encoding($experiences->getProduction(), "Windows-1252""UTF-8"), 11"L");
  840.                             }
  841.                             $pdf->ln(5);
  842.                         }
  843.                         if ($prestaservices_donnees->getCostumeExperienceAutre()) {
  844.                             $pdf->SetX($curseur_partie_droite);
  845.                             $pdf->setTextColor(1167171);
  846.                             $pdf->SetFont('Arial'''9);
  847.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Autre(s) expérience(s)"), "Windows-1252""UTF-8"), 01"L");
  848.                             $pdf->SetX($curseur_partie_droite);
  849.                             $pdf->setTextColor(000);
  850.                             $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getCostumeExperienceAutre(), "Windows-1252""UTF-8"), 0"J");
  851.                             $pdf->ln(5);
  852.                         }
  853.                         if(
  854.                             $prestaservices_donnees->getLangues() != '' ||
  855.                             $prestaservices_donnees->getRayonCalvados() ||
  856.                             $prestaservices_donnees->getRayonEure() ||
  857.                             $prestaservices_donnees->getRayonManche() ||
  858.                             $prestaservices_donnees->getRayonOrne() ||
  859.                             $prestaservices_donnees->getRayonSeineMaritime() ||
  860.                             $prestaservices_donnees->getRayonHorsNormandie())
  861.                         {
  862.                             $this->info_complementaire($pdf$prestaservices_donnees$curseur_partie_droite);
  863.                         }
  864.                         $this->pied_page($pdf);
  865.                         $date_maj $prestaservices_donnees->getStatutDate();
  866.                         $pdf->setXY(102);
  867.                         $pdf->SetTextColor(0,0,0);
  868.                         $pdf->SetFont('Arial''B'9);
  869.                         $pdf->Cell(0,8,mb_convert_encoding("Profil validé le ".date_format($date_maj"d/m/Y"), "Windows-1252""UTF-8"), 01);
  870.                     }
  871.                     /* Accessoire */
  872.                     if($prestaservices_donnees->getAccessoire()){
  873.                         $pdf->AddPage();
  874.                         $pdf->SetAutoPageBreak(,5);
  875.                         $this->en_tete($pdf,$user,$structure_donnees,$type);
  876.                         $pdf->SetXY($curseur_partie_droite93);
  877.                         $pdf->setTextColor(1167171);
  878.                         $pdf->SetFont('Arial'''9);
  879.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("prestation proposée"), "Windows-1252""UTF-8"), 01"L");
  880.                         $pdf->SetX($curseur_partie_droite);
  881.                         $pdf->setTextColor(000);
  882.                         $pdf->Cell(04mb_convert_encoding("Décoration : accessoire de collection""Windows-1252""UTF-8"), 01,"L");
  883.                         $pdf->ln(5);
  884.                         $pdf->SetX($curseur_partie_droite);
  885.                         $pdf->setTextColor(1167171);
  886.                         $pdf->SetFont('Arial'''9);
  887.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("descriptif général de l'activité"), "Windows-1252""UTF-8"), 01"L");
  888.                         $pdf->SetX($curseur_partie_droite);
  889.                         $pdf->setTextColor(000);
  890.                         $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getAccessoireDescriptif(), "Windows-1252""UTF-8"), 0"J");
  891.                         $pdf->ln(5);
  892.                         $pdf->SetX($curseur_partie_droite);
  893.                         $pdf->setTextColor(1167171);
  894.                         $pdf->SetFont('Arial'''9);
  895.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("éléments de décors et/ou d’accessoires en possession"), "Windows-1252""UTF-8"), 01"L");
  896.                         $pdf->SetX($curseur_partie_droite);
  897.                         $pdf->setTextColor(000);
  898.                         $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getAccessoireQuantite(), "Windows-1252""UTF-8"), 0"J");
  899.                         $pdf->ln(5);
  900.                         $pdf->SetX($curseur_partie_droite);
  901.                         $pdf->setTextColor(1167171);
  902.                         $pdf->SetFont('Arial'''9);
  903.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Services proposés"), "Windows-1252""UTF-8"), 01"L");
  904.                         $pdf->SetX($curseur_partie_droite);
  905.                         $pdf->setTextColor(000);
  906.                         if($prestaservices_donnees->getAccessoireLocation()){
  907.                             $pdf->SetX($curseur_partie_droite 3);
  908.                             $pdf->SetFont('Arial''B'10);
  909.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  910.                             $pdf->SetFont('Arial'''9);
  911.                             $pdf->Cell(0,mb_convert_encoding("Location d’accessoires de collection""Windows-1252""UTF-8"), 01"J");
  912.                         }
  913.                         if($prestaservices_donnees->getAccessoireLivraison()){
  914.                             $pdf->SetX($curseur_partie_droite 3);
  915.                             $pdf->SetFont('Arial''B'10);
  916.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  917.                             $pdf->SetFont('Arial'''9);
  918.                             $pdf->Cell(0,mb_convert_encoding("Livraison sur site""Windows-1252""UTF-8"), 01"J");
  919.                         }
  920.                         $pdf->ln(5);
  921.                         $pdf->SetX($curseur_partie_droite);
  922.                         $pdf->setTextColor(1167171);
  923.                         $pdf->SetFont('Arial'''8);
  924.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Descriptif détaillé des accessoires"), "Windows-1252""UTF-8"), 01"L");
  925.                         $pdf->SetX($curseur_partie_droite);
  926.                         $pdf->SetFillColor(223,223,223);
  927.                         $pdf->SetDrawColor(0,0,0);
  928.                         $pdf->SetLineWidth(0.1);
  929.                         $pdf->setTextColor(000);
  930.                         $pdf->Cell(43,5,"Type"10"L",1);
  931.                         $pdf->Cell(7,5,"Nbr"10"L",1);
  932.                         $pdf->Cell(11,5,mb_convert_encoding("Année""Windows-1252""UTF-8"), 10"L",1);
  933.                         $pdf->Cell(70,5,mb_convert_encoding("Caractéristiques""Windows-1252""UTF-8"), 11"L",1);
  934.                         foreach($prestaservices_donnees->getAccessoireListes() as $liste_accessoires){
  935.                             $pdf->SetX($curseur_partie_droite);
  936.                             $type_liste_accessoires mb_convert_encoding($liste_accessoires->getType(), "Windows-1252""UTF-8");
  937.                             $type_liste_accessoires = (strlen($type_liste_accessoires) <= 27) ? $type_liste_accessoires substr($type_liste_accessoires0,27 )."...";
  938.                             $pdf->Cell(43,5,$type_liste_accessoires10"L");
  939.                             $pdf->Cell(7,5,mb_convert_encoding($liste_accessoires->getNombre(), "Windows-1252""UTF-8"), 10"L");
  940.                             $pdf->Cell(11,5,mb_convert_encoding($liste_accessoires->getAnnee(), "Windows-1252""UTF-8"), 10"L");
  941.                             $caracteristiques_liste_accessoires mb_convert_encoding($liste_accessoires->getCaracteristiques(), "Windows-1252""UTF-8");
  942.                             $caracteristiques_liste_accessoires = (strlen($caracteristiques_liste_accessoires) <= 48) ? $caracteristiques_liste_accessoires substr($caracteristiques_liste_accessoires0,48 )."...";
  943.                             $pdf->Cell(70,5,$caracteristiques_liste_accessoires11"L");
  944.                         }
  945.                         $pdf->ln(5);
  946.                         if (count($prestaservices_donnees->getAccessoireExperiences()) > 0) {
  947.                             $pdf->SetX($curseur_partie_droite);
  948.                             $pdf->setTextColor(1167171);
  949.                             $pdf->SetFont('Arial'''8);
  950.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Expérience(s) de tournage(s)"), "Windows-1252""UTF-8"), 01"L");
  951.                             $pdf->SetX($curseur_partie_droite);
  952.                             $pdf->SetFillColor(223223223);
  953.                             $pdf->SetDrawColor(000);
  954.                             $pdf->SetLineWidth(0.1);
  955.                             $pdf->setTextColor(000);
  956.                             $pdf->Cell(105mb_convert_encoding("Année""Windows-1252""UTF-8"), 10"L"1);
  957.                             $pdf->Cell(605"Titre"10"L"1);
  958.                             $pdf->Cell(405mb_convert_encoding("Réalisation""Windows-1252""UTF-8"), 10"L"1);
  959.                             $pdf->Cell(255"Format"10"L"1);
  960.                             $pdf->Cell(205mb_convert_encoding("Catégorie""Windows-1252""UTF-8"), 10"L"1);
  961.                             $pdf->Cell(355mb_convert_encoding("Production""Windows-1252""UTF-8"), 11"L"1);
  962.                             foreach ($prestaservices_donnees->getAccessoireExperiences() as $experiences) {
  963.                                 $pdf->SetX($curseur_partie_droite);
  964.                                 $pdf->Cell(105mb_convert_encoding($experiences->getAnnee(), "Windows-1252""UTF-8"), 10"L");
  965.                                 $titre_experiences mb_convert_encoding($experiences->getTitre(), "Windows-1252""UTF-8");
  966.                                 $titre_experiences = (strlen($titre_experiences) <= 40) ? $titre_experiences substr($titre_experiences040) . "...";
  967.                                 $pdf->Cell(605$titre_experiences10"L");
  968.                                 $realisation_experiences mb_convert_encoding($experiences->getRealisation(), "Windows-1252""UTF-8");
  969.                                 $realisation_experiences = (strlen($realisation_experiences) <= 34) ? $realisation_experiences substr($realisation_experiences034) . "...";
  970.                                 $pdf->Cell(405$realisation_experiences10"L");
  971.                                 $format_experiences mb_convert_encoding($experiences->getFormat(), "Windows-1252""UTF-8");
  972.                                 $pdf->Cell(255$format_experiences10"L");
  973.                                 $categorie_experiences mb_convert_encoding($experiences->getCategorie(), "Windows-1252""UTF-8");
  974.                                 $pdf->Cell(205$categorie_experiences10"L");
  975.                                 $pdf->Cell(355mb_convert_encoding($experiences->getProduction(), "Windows-1252""UTF-8"), 11"L");
  976.                             }
  977.                             $pdf->ln(5);
  978.                         }
  979.                         if ($prestaservices_donnees->getAccessoireExperienceAutre()) {
  980.                             $pdf->SetX($curseur_partie_droite);
  981.                             $pdf->setTextColor(1167171);
  982.                             $pdf->SetFont('Arial'''9);
  983.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Autre(s) expérience(s)"), "Windows-1252""UTF-8"), 01"L");
  984.                             $pdf->SetX($curseur_partie_droite);
  985.                             $pdf->setTextColor(000);
  986.                             $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getAccessoireExperienceAutre(), "Windows-1252""UTF-8"), 0"J");
  987.                             $pdf->ln(5);
  988.                         }
  989.                         if(
  990.                             $prestaservices_donnees->getLangues() != '' ||
  991.                             $prestaservices_donnees->getRayonCalvados() ||
  992.                             $prestaservices_donnees->getRayonEure() ||
  993.                             $prestaservices_donnees->getRayonManche() ||
  994.                             $prestaservices_donnees->getRayonOrne() ||
  995.                             $prestaservices_donnees->getRayonSeineMaritime() ||
  996.                             $prestaservices_donnees->getRayonHorsNormandie())
  997.                         {
  998.                             $this->info_complementaire($pdf$prestaservices_donnees$curseur_partie_droite);
  999.                         }
  1000.                         $this->pied_page($pdf);
  1001.                         $date_maj $prestaservices_donnees->getStatutDate();
  1002.                         $pdf->setXY(102);
  1003.                         $pdf->SetTextColor(0,0,0);
  1004.                         $pdf->SetFont('Arial''B'9);
  1005.                         $pdf->Cell(0,8,mb_convert_encoding("Profil validé le ".date_format($date_maj"d/m/Y"), "Windows-1252""UTF-8"), 01);
  1006.                     }
  1007.                     /* Decor */
  1008.                     if($prestaservices_donnees->getDecor()){
  1009.                         $pdf->AddPage();
  1010.                         $pdf->SetAutoPageBreak(,5);
  1011.                         $this->en_tete($pdf,$user,$structure_donnees,$type);
  1012.                         $pdf->SetXY($curseur_partie_droite93);
  1013.                         $pdf->setTextColor(1167171);
  1014.                         $pdf->SetFont('Arial'''9);
  1015.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("prestation proposée"), "Windows-1252""UTF-8"), 01"L");
  1016.                         $pdf->SetX($curseur_partie_droite);
  1017.                         $pdf->setTextColor(000);
  1018.                         $pdf->Cell(04mb_convert_encoding("Décoration : atelier et stockage""Windows-1252""UTF-8"), 01,"L");
  1019.                         $pdf->ln(5);
  1020.                         $pdf->SetX($curseur_partie_droite);
  1021.                         $pdf->setTextColor(1167171);
  1022.                         $pdf->SetFont('Arial'''9);
  1023.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("descriptif général de l'activité"), "Windows-1252""UTF-8"), 01"L");
  1024.                         $pdf->SetX($curseur_partie_droite);
  1025.                         $pdf->setTextColor(000);
  1026.                         $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getDecorDescriptif(), "Windows-1252""UTF-8"), 0"J");
  1027.                         $pdf->ln(5);
  1028.                         $pdf->SetX($curseur_partie_droite);
  1029.                         $pdf->setTextColor(1167171);
  1030.                         $pdf->SetFont('Arial'''9);
  1031.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("éléments de décors et/ou d’accessoires en possession"), "Windows-1252""UTF-8"), 01"L");
  1032.                         $pdf->SetX($curseur_partie_droite);
  1033.                         $pdf->setTextColor(000);
  1034.                         $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getDecorQuantite(), "Windows-1252""UTF-8"), 0"J");
  1035.                         $pdf->ln(5);
  1036.                         $pdf->SetX($curseur_partie_droite);
  1037.                         $pdf->setTextColor(1167171);
  1038.                         $pdf->SetFont('Arial'''9);
  1039.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Services proposés"), "Windows-1252""UTF-8"), 01"L");
  1040.                         $pdf->SetX($curseur_partie_droite);
  1041.                         $pdf->setTextColor(000);
  1042.                         if($prestaservices_donnees->getDecorCreationDecors() ||
  1043.                             $prestaservices_donnees->getDecorConceptionDecors() ||
  1044.                             $prestaservices_donnees->getDecorModelisationDecors() ||
  1045.                             $prestaservices_donnees->getDecorAtelierFabricationDecors() ||
  1046.                             $prestaservices_donnees->getDecorCreationMoule() ||
  1047.                             $prestaservices_donnees->getDecorDecoupe() ||
  1048.                             $prestaservices_donnees->getDecorProjectionResine() ||
  1049.                             $prestaservices_donnees->getDecorCreationStructure() ||
  1050.                             $prestaservices_donnees->getDecorMisePeinture()
  1051.                         ){
  1052.                             $pdf->SetX($curseur_partie_droite 3);
  1053.                             $pdf->SetFont('Arial''B'10);
  1054.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1055.                             $pdf->SetFont('Arial'''9);
  1056.                             $pdf->Cell(0,mb_convert_encoding("Création d’éléments de décors ou d'accessoires""Windows-1252""UTF-8"), 01"J");
  1057.                             if($prestaservices_donnees->getDecorConceptionDecors()){
  1058.                                 $pdf->SetX($curseur_partie_droite 8);
  1059.                                 $pdf->SetFont('Arial'''8);
  1060.                                 $pdf->Cell(2,"o "00"L");
  1061.                                 $pdf->SetFont('Arial'''9);
  1062.                                 $pdf->Cell(0,mb_convert_encoding("Conception""Windows-1252""UTF-8"), 01"J");
  1063.                             }
  1064.                             if($prestaservices_donnees->getDecorModelisationDecors()){
  1065.                                 $pdf->SetX($curseur_partie_droite 8);
  1066.                                 $pdf->SetFont('Arial'''8);
  1067.                                 $pdf->Cell(2,"o "00"L");
  1068.                                 $pdf->SetFont('Arial'''9);
  1069.                                 $pdf->Cell(0,mb_convert_encoding("Modélisation""Windows-1252""UTF-8"), 01"J");
  1070.                             }
  1071.                             if($prestaservices_donnees->getDecorAtelierFabricationDecors() ||
  1072.                                 $prestaservices_donnees->getDecorCreationMoule() ||
  1073.                                 $prestaservices_donnees->getDecorDecoupe() ||
  1074.                                 $prestaservices_donnees->getDecorProjectionResine() ||
  1075.                                 $prestaservices_donnees->getDecorCreationStructure() ||
  1076.                                 $prestaservices_donnees->getDecorMisePeinture()
  1077.                             ){
  1078.                                 $pdf->SetX($curseur_partie_droite 8);
  1079.                                 $pdf->SetFont('Arial'''8);
  1080.                                 $pdf->Cell(2,"o "00"L");
  1081.                                 $pdf->SetFont('Arial'''9);
  1082.                                 $pdf->Cell(0,mb_convert_encoding("Atelier de fabrication""Windows-1252""UTF-8"), 01"J");
  1083.                                 if($prestaservices_donnees->getDecorCreationMoule()){
  1084.                                     $pdf->SetX($curseur_partie_droite 16);
  1085.                                     $pdf->SetFont('Arial'''8);
  1086.                                     $pdf->Cell(2,"- "00"L");
  1087.                                     $pdf->SetFont('Arial'''9);
  1088.                                     $pdf->Cell(0,mb_convert_encoding("Création de moules et prototypes""Windows-1252""UTF-8"), 01"J");
  1089.                                 }
  1090.                                 if($prestaservices_donnees->getDecorDecoupe()){
  1091.                                     $pdf->SetX($curseur_partie_droite 16);
  1092.                                     $pdf->SetFont('Arial'''8);
  1093.                                     $pdf->Cell(2,"- "00"L");
  1094.                                     $pdf->SetFont('Arial'''9);
  1095.                                     $pdf->Cell(0,mb_convert_encoding("Découpe et/ou usinage de polystyrène, mousse PU, bois, pvc,...""Windows-1252""UTF-8"), 01"J");
  1096.                                 }
  1097.                                 if($prestaservices_donnees->getDecorProjectionResine()){
  1098.                                     $pdf->SetX($curseur_partie_droite 16);
  1099.                                     $pdf->SetFont('Arial'''8);
  1100.                                     $pdf->Cell(2,"- "00"L");
  1101.                                     $pdf->SetFont('Arial'''9);
  1102.                                     $pdf->Cell(0,mb_convert_encoding("Projection de résine et/ou stratification""Windows-1252""UTF-8"), 01"J");
  1103.                                 }
  1104.                                 if($prestaservices_donnees->getDecorCreationStructure()){
  1105.                                     $pdf->SetX($curseur_partie_droite 16);
  1106.                                     $pdf->SetFont('Arial'''8);
  1107.                                     $pdf->Cell(2,"- "00"L");
  1108.                                     $pdf->SetFont('Arial'''9);
  1109.                                     $pdf->Cell(0,mb_convert_encoding("Création de structures bois ou métalliques""Windows-1252""UTF-8"), 01"J");
  1110.                                 }
  1111.                                 if($prestaservices_donnees->getDecorMisePeinture()){
  1112.                                     $pdf->SetX($curseur_partie_droite 16);
  1113.                                     $pdf->SetFont('Arial'''8);
  1114.                                     $pdf->Cell(2,"- "00"L");
  1115.                                     $pdf->SetFont('Arial'''9);
  1116.                                     $pdf->Cell(0,mb_convert_encoding("Mise en peinture et/ou vernis""Windows-1252""UTF-8"), 01"J");
  1117.                                 }
  1118.                             }
  1119.                         }
  1120.                         $pdf->ln(1);
  1121.                         if($prestaservices_donnees->getDecorCreationAccessoire() ||
  1122.                             $prestaservices_donnees->getDecorAccessoireConception() ||
  1123.                             $prestaservices_donnees->getDecorAccessoireModelisation() ||
  1124.                             $prestaservices_donnees->getDecorAccessoireAtelier()
  1125.                         ){
  1126.                             $pdf->SetX($curseur_partie_droite 3);
  1127.                             $pdf->SetFont('Arial''B'10);
  1128.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1129.                             $pdf->SetFont('Arial'''9);
  1130.                             $pdf->Cell(0,mb_convert_encoding("Création d’accessoires de décors""Windows-1252""UTF-8"), 01"J");
  1131.                             if($prestaservices_donnees->getDecorAccessoireConception()){
  1132.                                 $pdf->SetX($curseur_partie_droite 8);
  1133.                                 $pdf->SetFont('Arial'''8);
  1134.                                 $pdf->Cell(2,"o "00"L");
  1135.                                 $pdf->SetFont('Arial'''9);
  1136.                                 $pdf->Cell(0,mb_convert_encoding("Conception""Windows-1252""UTF-8"), 01"J");
  1137.                             }
  1138.                             if($prestaservices_donnees->getDecorAccessoireModelisation()){
  1139.                                 $pdf->SetX($curseur_partie_droite 8);
  1140.                                 $pdf->SetFont('Arial'''8);
  1141.                                 $pdf->Cell(2,"o "00"L");
  1142.                                 $pdf->SetFont('Arial'''9);
  1143.                                 $pdf->Cell(0,mb_convert_encoding("Modélisation""Windows-1252""UTF-8"), 01"J");
  1144.                             }
  1145.                             if($prestaservices_donnees->getDecorAccessoireAtelier()){
  1146.                                 $pdf->SetX($curseur_partie_droite 8);
  1147.                                 $pdf->SetFont('Arial'''8);
  1148.                                 $pdf->Cell(2,"o "00"L");
  1149.                                 $pdf->SetFont('Arial'''9);
  1150.                                 $pdf->Cell(0,mb_convert_encoding("Atelier de fabrication""Windows-1252""UTF-8"), 01"J");
  1151.                             }
  1152.                         }
  1153.                         if($prestaservices_donnees->getDecorLocationDecors()){
  1154.                             $pdf->SetX($curseur_partie_droite 3);
  1155.                             $pdf->SetFont('Arial''B'10);
  1156.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1157.                             $pdf->SetFont('Arial'''9);
  1158.                             $pdf->Cell(0,mb_convert_encoding("Location d’éléments de décors ou d'accessoires""Windows-1252""UTF-8"), 01"J");
  1159.                         }
  1160.                         if($prestaservices_donnees->getDecorLivraison()){
  1161.                             $pdf->SetX($curseur_partie_droite 3);
  1162.                             $pdf->SetFont('Arial''B'10);
  1163.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1164.                             $pdf->SetFont('Arial'''9);
  1165.                             $pdf->Cell(0,mb_convert_encoding("Livraison sur site""Windows-1252""UTF-8"), 01"J");
  1166.                         }
  1167.                         $pdf->ln(5);
  1168.                         if (count($prestaservices_donnees->getDecorExperiences()) > 0) {
  1169.                             $pdf->SetX($curseur_partie_droite);
  1170.                             $pdf->setTextColor(1167171);
  1171.                             $pdf->SetFont('Arial'''8);
  1172.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Expérience(s) de tournage(s)"), "Windows-1252""UTF-8"), 01"L");
  1173.                             $pdf->SetX($curseur_partie_droite);
  1174.                             $pdf->SetFillColor(223223223);
  1175.                             $pdf->SetDrawColor(000);
  1176.                             $pdf->SetLineWidth(0.1);
  1177.                             $pdf->setTextColor(000);
  1178.                             $pdf->Cell(105mb_convert_encoding("Année""Windows-1252""UTF-8"), 10"L"1);
  1179.                             $pdf->Cell(605"Titre"10"L"1);
  1180.                             $pdf->Cell(405mb_convert_encoding("Réalisation""Windows-1252""UTF-8"), 10"L"1);
  1181.                             $pdf->Cell(255"Format"10"L"1);
  1182.                             $pdf->Cell(205mb_convert_encoding("Catégorie""Windows-1252""UTF-8"), 10"L"1);
  1183.                             $pdf->Cell(355mb_convert_encoding("Production""Windows-1252""UTF-8"), 11"L"1);
  1184.                             foreach ($prestaservices_donnees->getDecorExperiences() as $experiences) {
  1185.                                 $pdf->SetX($curseur_partie_droite);
  1186.                                 $pdf->Cell(105mb_convert_encoding($experiences->getAnnee(), "Windows-1252""UTF-8"), 10"L");
  1187.                                 $titre_experiences mb_convert_encoding($experiences->getTitre(), "Windows-1252""UTF-8");
  1188.                                 $titre_experiences = (strlen($titre_experiences) <= 40) ? $titre_experiences substr($titre_experiences040) . "...";
  1189.                                 $pdf->Cell(605$titre_experiences10"L");
  1190.                                 $realisation_experiences mb_convert_encoding($experiences->getRealisation(), "Windows-1252""UTF-8");
  1191.                                 $realisation_experiences = (strlen($realisation_experiences) <= 34) ? $realisation_experiences substr($realisation_experiences034) . "...";
  1192.                                 $pdf->Cell(405$realisation_experiences10"L");
  1193.                                 $format_experiences mb_convert_encoding($experiences->getFormat(), "Windows-1252""UTF-8");
  1194.                                 $pdf->Cell(255$format_experiences10"L");
  1195.                                 $categorie_experiences mb_convert_encoding($experiences->getCategorie(), "Windows-1252""UTF-8");
  1196.                                 $pdf->Cell(205$categorie_experiences10"L");
  1197.                                 $pdf->Cell(355mb_convert_encoding($experiences->getProduction(), "Windows-1252""UTF-8"), 11"L");
  1198.                             }
  1199.                             $pdf->ln(5);
  1200.                         }
  1201.                         if ($prestaservices_donnees->getDecorExperienceAutre()) {
  1202.                             $pdf->SetX($curseur_partie_droite);
  1203.                             $pdf->setTextColor(1167171);
  1204.                             $pdf->SetFont('Arial'''9);
  1205.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Autre(s) expérience(s)"), "Windows-1252""UTF-8"), 01"L");
  1206.                             $pdf->SetX($curseur_partie_droite);
  1207.                             $pdf->setTextColor(000);
  1208.                             $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getDecorExperienceAutre(), "Windows-1252""UTF-8"), 0"J");
  1209.                             $pdf->ln(5);
  1210.                         }
  1211.                         if(
  1212.                             $prestaservices_donnees->getLangues() != '' ||
  1213.                             $prestaservices_donnees->getRayonCalvados() ||
  1214.                             $prestaservices_donnees->getRayonEure() ||
  1215.                             $prestaservices_donnees->getRayonManche() ||
  1216.                             $prestaservices_donnees->getRayonOrne() ||
  1217.                             $prestaservices_donnees->getRayonSeineMaritime() ||
  1218.                             $prestaservices_donnees->getRayonHorsNormandie())
  1219.                         {
  1220.                             $this->info_complementaire($pdf$prestaservices_donnees$curseur_partie_droite);
  1221.                         }
  1222.                         $this->pied_page($pdf);
  1223.                         $date_maj $prestaservices_donnees->getStatutDate();
  1224.                         $pdf->setXY(102);
  1225.                         $pdf->SetTextColor(0,0,0);
  1226.                         $pdf->SetFont('Arial''B'9);
  1227.                         $pdf->Cell(0,8,mb_convert_encoding("Profil validé le ".date_format($date_maj"d/m/Y"), "Windows-1252""UTF-8"), 01);
  1228.                     }
  1229.                     /* Dresseur */
  1230.                     if($prestaservices_donnees->getDresseur()){
  1231.                         $pdf->AddPage();
  1232.                         $pdf->SetAutoPageBreak(,5);
  1233.                         $this->en_tete($pdf,$user,$structure_donnees,$type);
  1234.                         $pdf->SetXY($curseur_partie_droite93);
  1235.                         $pdf->setTextColor(1167171);
  1236.                         $pdf->SetFont('Arial'''9);
  1237.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("prestation proposée"), "Windows-1252""UTF-8"), 01"L");
  1238.                         $pdf->SetX($curseur_partie_droite);
  1239.                         $pdf->setTextColor(000);
  1240.                         $pdf->Cell(04mb_convert_encoding("Dressage animalier""Windows-1252""UTF-8"), 01,"L");
  1241.                         $pdf->ln(5);
  1242.                         $pdf->SetX($curseur_partie_droite);
  1243.                         $pdf->setTextColor(1167171);
  1244.                         $pdf->SetFont('Arial'''9);
  1245.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("descriptif général de l'activité"), "Windows-1252""UTF-8"), 01"L");
  1246.                         $pdf->SetX($curseur_partie_droite);
  1247.                         $pdf->setTextColor(000);
  1248.                         $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getDresseurDescriptif(), "Windows-1252""UTF-8"), 0"J");
  1249.                         $pdf->ln(5);
  1250.                         $pdf->SetX($curseur_partie_droite);
  1251.                         $pdf->setTextColor(1167171);
  1252.                         $pdf->SetFont('Arial'''9);
  1253.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Services proposés"), "Windows-1252""UTF-8"), 01"L");
  1254.                         $pdf->SetX($curseur_partie_droite);
  1255.                         $pdf->setTextColor(000);
  1256.                         if($prestaservices_donnees->getDresseurAnimal()){
  1257.                             $pdf->SetX($curseur_partie_droite 3);
  1258.                             $pdf->SetFont('Arial''B'10);
  1259.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1260.                             $pdf->SetFont('Arial'''9);
  1261.                             $pdf->Cell(0,mb_convert_encoding("Dresseur animal""Windows-1252""UTF-8"), 01"J");
  1262.                         }
  1263.                         if($prestaservices_donnees->getDresseurConseiller()){
  1264.                             $pdf->SetX($curseur_partie_droite 3);
  1265.                             $pdf->SetFont('Arial''B'10);
  1266.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1267.                             $pdf->SetFont('Arial'''9);
  1268.                             $pdf->Cell(0,mb_convert_encoding("Conseiller mise en scène""Windows-1252""UTF-8"), 01"J");
  1269.                         }
  1270.                         if($prestaservices_donnees->getDresseurCascade()){
  1271.                             $pdf->SetX($curseur_partie_droite 3);
  1272.                             $pdf->SetFont('Arial''B'10);
  1273.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1274.                             $pdf->SetFont('Arial'''9);
  1275.                             $pdf->Cell(0,mb_convert_encoding("Animaux pratiquant la cascade""Windows-1252""UTF-8"), 01"J");
  1276.                         }
  1277.                         $pdf->ln(5);
  1278.                         $pdf->SetX($curseur_partie_droite);
  1279.                         $pdf->setTextColor(1167171);
  1280.                         $pdf->SetFont('Arial'''8);
  1281.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Liste d'animaux"), "Windows-1252""UTF-8"), 01"L");
  1282.                         $pdf->SetX($curseur_partie_droite);
  1283.                         $pdf->SetFillColor(223,223,223);
  1284.                         $pdf->SetDrawColor(0,0,0);
  1285.                         $pdf->SetLineWidth(0.1);
  1286.                         $pdf->setTextColor(000);
  1287.                         $pdf->Cell(40,5,"Type d'animal"10"L",1);
  1288.                         $pdf->Cell(7,5,"Nbr"10"L",1);
  1289.                         $pdf->Cell(84,5,mb_convert_encoding("Commentaire""Windows-1252""UTF-8"), 11"L",1);
  1290.                         foreach($prestaservices_donnees->getDresseurListes() as $liste_animaux){
  1291.                             $pdf->SetX($curseur_partie_droite);
  1292.                             $type_liste_animaux mb_convert_encoding($liste_animaux->getType(), "Windows-1252""UTF-8");
  1293.                             $type_liste_animaux = (strlen($type_liste_animaux) <= 26) ? $type_liste_animaux substr($type_liste_animaux0,26)."...";
  1294.                             $pdf->Cell(40,5,$type_liste_animaux10"L");
  1295.                             $pdf->Cell(7,5,mb_convert_encoding($liste_animaux->getNombre(), "Windows-1252""UTF-8"), 10"L");
  1296.                             $commentaire_liste_animaux mb_convert_encoding($liste_animaux->getCommentaire(), "Windows-1252""UTF-8");
  1297.                             $commentaire_liste_animaux = (strlen($commentaire_liste_animaux) <= 60) ? $commentaire_liste_animaux substr($commentaire_liste_animaux0,60 )."...";
  1298.                             $pdf->Cell(84,5,$commentaire_liste_animaux11"L");
  1299.                         }
  1300.                         $pdf->ln(5);
  1301.                         if (count($prestaservices_donnees->getDresseurExperiences()) > 0) {
  1302.                             $pdf->SetX($curseur_partie_droite);
  1303.                             $pdf->setTextColor(1167171);
  1304.                             $pdf->SetFont('Arial'''8);
  1305.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Expérience(s) de tournage(s)"), "Windows-1252""UTF-8"), 01"L");
  1306.                             $pdf->SetX($curseur_partie_droite);
  1307.                             $pdf->SetFillColor(223223223);
  1308.                             $pdf->SetDrawColor(000);
  1309.                             $pdf->SetLineWidth(0.1);
  1310.                             $pdf->setTextColor(000);
  1311.                             $pdf->Cell(105mb_convert_encoding("Année""Windows-1252""UTF-8"), 10"L"1);
  1312.                             $pdf->Cell(605"Titre"10"L"1);
  1313.                             $pdf->Cell(405mb_convert_encoding("Réalisation""Windows-1252""UTF-8"), 10"L"1);
  1314.                             $pdf->Cell(255"Format"10"L"1);
  1315.                             $pdf->Cell(205mb_convert_encoding("Catégorie""Windows-1252""UTF-8"), 10"L"1);
  1316.                             $pdf->Cell(355mb_convert_encoding("Production""Windows-1252""UTF-8"), 11"L"1);
  1317.                             foreach ($prestaservices_donnees->getDresseurExperiences() as $experiences) {
  1318.                                 $pdf->SetX($curseur_partie_droite);
  1319.                                 $pdf->Cell(105mb_convert_encoding($experiences->getAnnee(), "Windows-1252""UTF-8"), 10"L");
  1320.                                 $titre_experiences mb_convert_encoding($experiences->getTitre(), "Windows-1252""UTF-8");
  1321.                                 $titre_experiences = (strlen($titre_experiences) <= 40) ? $titre_experiences substr($titre_experiences040) . "...";
  1322.                                 $pdf->Cell(605$titre_experiences10"L");
  1323.                                 $realisation_experiences mb_convert_encoding($experiences->getRealisation(), "Windows-1252""UTF-8");
  1324.                                 $realisation_experiences = (strlen($realisation_experiences) <= 34) ? $realisation_experiences substr($realisation_experiences034) . "...";
  1325.                                 $pdf->Cell(405$realisation_experiences10"L");
  1326.                                 $format_experiences mb_convert_encoding($experiences->getFormat(), "Windows-1252""UTF-8");
  1327.                                 $pdf->Cell(255$format_experiences10"L");
  1328.                                 $categorie_experiences mb_convert_encoding($experiences->getCategorie(), "Windows-1252""UTF-8");
  1329.                                 $pdf->Cell(205$categorie_experiences10"L");
  1330.                                 $pdf->Cell(355mb_convert_encoding($experiences->getProduction(), "Windows-1252""UTF-8"), 11"L");
  1331.                             }
  1332.                             $pdf->ln(5);
  1333.                         }
  1334.                         if ($prestaservices_donnees->getDresseurExperienceAutre()) {
  1335.                             $pdf->SetX($curseur_partie_droite);
  1336.                             $pdf->setTextColor(1167171);
  1337.                             $pdf->SetFont('Arial'''9);
  1338.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Autre(s) expérience(s)"), "Windows-1252""UTF-8"), 01"L");
  1339.                             $pdf->SetX($curseur_partie_droite);
  1340.                             $pdf->setTextColor(000);
  1341.                             $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getDresseurExperienceAutre(), "Windows-1252""UTF-8"), 0"J");
  1342.                             $pdf->ln(5);
  1343.                         }
  1344.                         if(
  1345.                             $prestaservices_donnees->getLangues() != '' ||
  1346.                             $prestaservices_donnees->getRayonCalvados() ||
  1347.                             $prestaservices_donnees->getRayonEure() ||
  1348.                             $prestaservices_donnees->getRayonManche() ||
  1349.                             $prestaservices_donnees->getRayonOrne() ||
  1350.                             $prestaservices_donnees->getRayonSeineMaritime() ||
  1351.                             $prestaservices_donnees->getRayonHorsNormandie())
  1352.                         {
  1353.                             $this->info_complementaire($pdf$prestaservices_donnees$curseur_partie_droite);
  1354.                         }
  1355.                         $this->pied_page($pdf);
  1356.                         $date_maj $prestaservices_donnees->getStatutDate();
  1357.                         $pdf->setXY(102);
  1358.                         $pdf->SetTextColor(0,0,0);
  1359.                         $pdf->SetFont('Arial''B'9);
  1360.                         $pdf->Cell(0,8,mb_convert_encoding("Profil validé le ".date_format($date_maj"d/m/Y"), "Windows-1252""UTF-8"), 01);
  1361.                     }
  1362.                     /* Effets spéciaux mécaniques */
  1363.                     if($prestaservices_donnees->getEffetsSpeciaux()){
  1364.                         $pdf->AddPage();
  1365.                         $pdf->SetAutoPageBreak(,5);
  1366.                         $this->en_tete($pdf,$user,$structure_donnees,$type);
  1367.                         $pdf->SetXY($curseur_partie_droite93);
  1368.                         $pdf->setTextColor(1167171);
  1369.                         $pdf->SetFont('Arial'''9);
  1370.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("prestation proposée"), "Windows-1252""UTF-8"), 01"L");
  1371.                         $pdf->SetX($curseur_partie_droite);
  1372.                         $pdf->setTextColor(000);
  1373.                         $pdf->Cell(04mb_convert_encoding("Effets spéciaux mécaniques""Windows-1252""UTF-8"), 01,"L");
  1374.                         $pdf->ln(5);
  1375.                         $pdf->SetX($curseur_partie_droite);
  1376.                         $pdf->setTextColor(1167171);
  1377.                         $pdf->SetFont('Arial'''9);
  1378.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("descriptif général de l'activité"), "Windows-1252""UTF-8"), 01"L");
  1379.                         $pdf->SetX($curseur_partie_droite);
  1380.                         $pdf->setTextColor(000);
  1381.                         $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getEffetSpecialDescriptif(), "Windows-1252""UTF-8"), 0"J");
  1382.                         $pdf->ln(5);
  1383.                         $pdf->SetX($curseur_partie_droite);
  1384.                         $pdf->setTextColor(1167171);
  1385.                         $pdf->SetFont('Arial'''9);
  1386.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Services proposés"), "Windows-1252""UTF-8"), 01"L");
  1387.                         $pdf->SetX($curseur_partie_droite);
  1388.                         $pdf->setTextColor(000);
  1389.                         if($prestaservices_donnees->getEffetSpecialEffetAtmospherique()){
  1390.                             $pdf->SetX($curseur_partie_droite 3);
  1391.                             $pdf->SetFont('Arial''B'10);
  1392.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1393.                             $pdf->SetFont('Arial'''9);
  1394.                             $pdf->Cell(0,mb_convert_encoding("Effets atmosphériques (pluie, vent, brouillard, neige,…)""Windows-1252""UTF-8"), 01"J");
  1395.                         }
  1396.                         if($prestaservices_donnees->getEffetSpecialEffetAquatique()){
  1397.                             $pdf->SetX($curseur_partie_droite 3);
  1398.                             $pdf->SetFont('Arial''B'10);
  1399.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1400.                             $pdf->SetFont('Arial'''9);
  1401.                             $pdf->Cell(0,mb_convert_encoding("Effets aquatiques (création de bassins, de cascades,…)""Windows-1252""UTF-8"), 01"J");
  1402.                         }
  1403.                         if($prestaservices_donnees->getEffetSpecialExplosionDecorNaturel()){
  1404.                             $pdf->SetX($curseur_partie_droite 3);
  1405.                             $pdf->SetFont('Arial''B'10);
  1406.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1407.                             $pdf->SetFont('Arial'''9);
  1408.                             $pdf->Cell(0,mb_convert_encoding("Explosion en décor naturel""Windows-1252""UTF-8"), 01"J");
  1409.                         }
  1410.                         if($prestaservices_donnees->getEffetSpecialExplosionStudio()){
  1411.                             $pdf->SetX($curseur_partie_droite 3);
  1412.                             $pdf->SetFont('Arial''B'10);
  1413.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1414.                             $pdf->SetFont('Arial'''9);
  1415.                             $pdf->Cell(0,mb_convert_encoding("Explosion en studio""Windows-1252""UTF-8"), 01"J");
  1416.                         }
  1417.                         if($prestaservices_donnees->getEffetSpecialTirImpact()){
  1418.                             $pdf->SetX($curseur_partie_droite 3);
  1419.                             $pdf->SetFont('Arial''B'10);
  1420.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1421.                             $pdf->SetFont('Arial'''9);
  1422.                             $pdf->Cell(0,mb_convert_encoding("Tir & impact""Windows-1252""UTF-8"), 01"J");
  1423.                         }
  1424.                         if($prestaservices_donnees->getEffetSpecialTorcheHumaine()){
  1425.                             $pdf->SetX($curseur_partie_droite 3);
  1426.                             $pdf->SetFont('Arial''B'10);
  1427.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1428.                             $pdf->SetFont('Arial'''9);
  1429.                             $pdf->Cell(0,mb_convert_encoding("Torche humaine""Windows-1252""UTF-8"), 01"J");
  1430.                         }
  1431.                         if($prestaservices_donnees->getEffetSpecialFeu()){
  1432.                             $pdf->SetX($curseur_partie_droite 3);
  1433.                             $pdf->SetFont('Arial''B'10);
  1434.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1435.                             $pdf->SetFont('Arial'''9);
  1436.                             $pdf->Cell(0,mb_convert_encoding("Feu, incendie, embrasement de site""Windows-1252""UTF-8"), 01"J");
  1437.                         }
  1438.                         if($prestaservices_donnees->getEffetSpecialFeuxArtificePerso()){
  1439.                             $pdf->SetX($curseur_partie_droite 3);
  1440.                             $pdf->SetFont('Arial''B'10);
  1441.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1442.                             $pdf->SetFont('Arial'''9);
  1443.                             $pdf->Cell(0,mb_convert_encoding("Feux d’artifices personnalisés""Windows-1252""UTF-8"), 01"J");
  1444.                         }
  1445.                         if($prestaservices_donnees->getEffetSpecialRegleurSceneAccident()){
  1446.                             $pdf->SetX($curseur_partie_droite 3);
  1447.                             $pdf->SetFont('Arial''B'10);
  1448.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1449.                             $pdf->SetFont('Arial'''9);
  1450.                             $pdf->Cell(0,mb_convert_encoding("Régleur de scène d’accident""Windows-1252""UTF-8"), 01"J");
  1451.                         }
  1452.                         if($prestaservices_donnees->getEffetSpecialCascadeAuto()){
  1453.                             $pdf->SetX($curseur_partie_droite 3);
  1454.                             $pdf->SetFont('Arial''B'10);
  1455.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1456.                             $pdf->SetFont('Arial'''9);
  1457.                             $pdf->Cell(0,mb_convert_encoding("Cascade auto""Windows-1252""UTF-8"), 01"J");
  1458.                         }
  1459.                         if($prestaservices_donnees->getEffetSpecialCascadeCamion()){
  1460.                             $pdf->SetX($curseur_partie_droite 3);
  1461.                             $pdf->SetFont('Arial''B'10);
  1462.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1463.                             $pdf->SetFont('Arial'''9);
  1464.                             $pdf->Cell(0,mb_convert_encoding("Cascade camion""Windows-1252""UTF-8"), 01"J");
  1465.                         }
  1466.                         if($prestaservices_donnees->getEffetSpecialCascadeMoto()){
  1467.                             $pdf->SetX($curseur_partie_droite 3);
  1468.                             $pdf->SetFont('Arial''B'10);
  1469.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1470.                             $pdf->SetFont('Arial'''9);
  1471.                             $pdf->Cell(0,mb_convert_encoding("Cascade moto""Windows-1252""UTF-8"), 01"J");
  1472.                         }
  1473.                         if($prestaservices_donnees->getEffetSpecialCascadePhysique()){
  1474.                             $pdf->SetX($curseur_partie_droite 3);
  1475.                             $pdf->SetFont('Arial''B'10);
  1476.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1477.                             $pdf->SetFont('Arial'''9);
  1478.                             $pdf->Cell(0,mb_convert_encoding("Cascade physique""Windows-1252""UTF-8"), 01"J");
  1479.                         }
  1480.                         if($prestaservices_donnees->getEffetSpecialRegleurCombat()){
  1481.                             $pdf->SetX($curseur_partie_droite 3);
  1482.                             $pdf->SetFont('Arial''B'10);
  1483.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1484.                             $pdf->SetFont('Arial'''9);
  1485.                             $pdf->Cell(0,mb_convert_encoding("Régleur de combat""Windows-1252""UTF-8"), 01"J");
  1486.                         }
  1487.                         if($prestaservices_donnees->getEffetSpecialEffetMaquillage()){
  1488.                             $pdf->SetX($curseur_partie_droite 3);
  1489.                             $pdf->SetFont('Arial''B'10);
  1490.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1491.                             $pdf->SetFont('Arial'''9);
  1492.                             $pdf->Cell(0,mb_convert_encoding("Effets de maquillage (bloody effects,…)""Windows-1252""UTF-8"), 01"J");
  1493.                         }
  1494.                         if($prestaservices_donnees->getEffetSpecialCreationProthese()){
  1495.                             $pdf->SetX($curseur_partie_droite 3);
  1496.                             $pdf->SetFont('Arial''B'10);
  1497.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1498.                             $pdf->SetFont('Arial'''9);
  1499.                             $pdf->Cell(0,mb_convert_encoding("Création de prothèses & masques (de créatures, de déformations corporelles,…)""Windows-1252""UTF-8"), 01"J");
  1500.                         }
  1501.                         if($prestaservices_donnees->getEffetSpecialMiniature()){
  1502.                             $pdf->SetX($curseur_partie_droite 3);
  1503.                             $pdf->SetFont('Arial''B'10);
  1504.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1505.                             $pdf->SetFont('Arial'''9);
  1506.                             $pdf->Cell(0,mb_convert_encoding("Miniatures et modelage (création de maquettes de décor, de figurines et miniatures,…)""Windows-1252""UTF-8"), 01"J");
  1507.                         }
  1508.                         if($prestaservices_donnees->getEffetSpecialAccessoiresTrucage()){
  1509.                             $pdf->SetX($curseur_partie_droite 3);
  1510.                             $pdf->SetFont('Arial''B'10);
  1511.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1512.                             $pdf->SetFont('Arial'''9);
  1513.                             $pdf->Cell(0,mb_convert_encoding("Accessoires SF (création d’armes, … )""Windows-1252""UTF-8"), 01"J");
  1514.                         }
  1515.                         if($prestaservices_donnees->getEffetSpecialAutre()){
  1516.                             $pdf->SetX($curseur_partie_droite 3);
  1517.                             $pdf->SetFont('Arial''B'10);
  1518.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1519.                             $precision = ($prestaservices_donnees->getEffetSpecialAutrePrecision()) ? " : ".$prestaservices_donnees->getEffetSpecialAutrePrecision() : '';
  1520.                             $pdf->SetFont('Arial'''9);
  1521.                             $pdf->Cell(0,mb_convert_encoding("Autre(s)".$precision"Windows-1252""UTF-8"), 01"J");
  1522.                         }
  1523.                         $pdf->ln(5);
  1524.                         if (count($prestaservices_donnees->getEffetSpecialExperiences()) > 0) {
  1525.                             $pdf->SetX($curseur_partie_droite);
  1526.                             $pdf->setTextColor(1167171);
  1527.                             $pdf->SetFont('Arial'''8);
  1528.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Expérience(s) de tournage(s)"), "Windows-1252""UTF-8"), 01"L");
  1529.                             $pdf->SetX($curseur_partie_droite);
  1530.                             $pdf->SetFillColor(223223223);
  1531.                             $pdf->SetDrawColor(000);
  1532.                             $pdf->SetLineWidth(0.1);
  1533.                             $pdf->setTextColor(000);
  1534.                             $pdf->Cell(105mb_convert_encoding("Année""Windows-1252""UTF-8"), 10"L"1);
  1535.                             $pdf->Cell(605"Titre"10"L"1);
  1536.                             $pdf->Cell(405mb_convert_encoding("Réalisation""Windows-1252""UTF-8"), 10"L"1);
  1537.                             $pdf->Cell(255"Format"10"L"1);
  1538.                             $pdf->Cell(205mb_convert_encoding("Catégorie""Windows-1252""UTF-8"), 10"L"1);
  1539.                             $pdf->Cell(355mb_convert_encoding("Production""Windows-1252""UTF-8"), 11"L"1);
  1540.                             foreach ($prestaservices_donnees->getEffetSpecialExperiences() as $experiences) {
  1541.                                 $pdf->SetX($curseur_partie_droite);
  1542.                                 $pdf->Cell(105mb_convert_encoding($experiences->getAnnee(), "Windows-1252""UTF-8"), 10"L");
  1543.                                 $titre_experiences mb_convert_encoding($experiences->getTitre(), "Windows-1252""UTF-8");
  1544.                                 $titre_experiences = (strlen($titre_experiences) <= 40) ? $titre_experiences substr($titre_experiences040) . "...";
  1545.                                 $pdf->Cell(605$titre_experiences10"L");
  1546.                                 $realisation_experiences mb_convert_encoding($experiences->getRealisation(), "Windows-1252""UTF-8");
  1547.                                 $realisation_experiences = (strlen($realisation_experiences) <= 34) ? $realisation_experiences substr($realisation_experiences034) . "...";
  1548.                                 $pdf->Cell(405$realisation_experiences10"L");
  1549.                                 $format_experiences mb_convert_encoding($experiences->getFormat(), "Windows-1252""UTF-8");
  1550.                                 $pdf->Cell(255$format_experiences10"L");
  1551.                                 $categorie_experiences mb_convert_encoding($experiences->getCategorie(), "Windows-1252""UTF-8");
  1552.                                 $pdf->Cell(205$categorie_experiences10"L");
  1553.                                 $pdf->Cell(355mb_convert_encoding($experiences->getProduction(), "Windows-1252""UTF-8"), 11"L");
  1554.                             }
  1555.                             $pdf->ln(5);
  1556.                         }
  1557.                         if ($prestaservices_donnees->getEffetSpecialExperienceAutre()) {
  1558.                             $pdf->SetX($curseur_partie_droite);
  1559.                             $pdf->setTextColor(1167171);
  1560.                             $pdf->SetFont('Arial'''9);
  1561.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Autre(s) expérience(s)"), "Windows-1252""UTF-8"), 01"L");
  1562.                             $pdf->SetX($curseur_partie_droite);
  1563.                             $pdf->setTextColor(000);
  1564.                             $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getEffetSpecialExperienceAutre(), "Windows-1252""UTF-8"), 0"J");
  1565.                             $pdf->ln(5);
  1566.                         }
  1567.                         if(
  1568.                             $prestaservices_donnees->getLangues() != '' ||
  1569.                             $prestaservices_donnees->getRayonCalvados() ||
  1570.                             $prestaservices_donnees->getRayonEure() ||
  1571.                             $prestaservices_donnees->getRayonManche() ||
  1572.                             $prestaservices_donnees->getRayonOrne() ||
  1573.                             $prestaservices_donnees->getRayonSeineMaritime() ||
  1574.                             $prestaservices_donnees->getRayonHorsNormandie())
  1575.                         {
  1576.                             $this->info_complementaire($pdf$prestaservices_donnees$curseur_partie_droite);
  1577.                         }
  1578.                         $this->pied_page($pdf);
  1579.                         $date_maj $prestaservices_donnees->getStatutDate();
  1580.                         $pdf->setXY(102);
  1581.                         $pdf->SetTextColor(0,0,0);
  1582.                         $pdf->SetFont('Arial''B'9);
  1583.                         $pdf->Cell(0,8,mb_convert_encoding("Profil validé le ".date_format($date_maj"d/m/Y"), "Windows-1252""UTF-8"), 01);
  1584.                     }
  1585.                     /* Gardiennage, ventousage et convoyage */
  1586.                     if($prestaservices_donnees->getSecurite()){
  1587.                         $pdf->AddPage();
  1588.                         $pdf->SetAutoPageBreak(,5);
  1589.                         $this->en_tete($pdf,$user,$structure_donnees,$type);
  1590.                         $pdf->SetXY($curseur_partie_droite93);
  1591.                         $pdf->setTextColor(1167171);
  1592.                         $pdf->SetFont('Arial'''9);
  1593.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("prestation proposée"), "Windows-1252""UTF-8"), 01"L");
  1594.                         $pdf->SetX($curseur_partie_droite);
  1595.                         $pdf->setTextColor(000);
  1596.                         $pdf->Cell(04mb_convert_encoding("Gardiennage, ventousage et convoyage""Windows-1252""UTF-8"), 01,"L");
  1597.                         $pdf->ln(5);
  1598.                         $pdf->SetX($curseur_partie_droite);
  1599.                         $pdf->setTextColor(1167171);
  1600.                         $pdf->SetFont('Arial'''9);
  1601.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("descriptif général de l'activité"), "Windows-1252""UTF-8"), 01"L");
  1602.                         $pdf->SetX($curseur_partie_droite);
  1603.                         $pdf->setTextColor(000);
  1604.                         $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getSecuriteDescriptif(), "Windows-1252""UTF-8"), 0"J");
  1605.                         $pdf->ln(5);
  1606.                         $pdf->SetX($curseur_partie_droite);
  1607.                         $pdf->setTextColor(1167171);
  1608.                         $pdf->SetFont('Arial'''9);
  1609.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Services proposés"), "Windows-1252""UTF-8"), 01"L");
  1610.                         $pdf->SetX($curseur_partie_droite);
  1611.                         $pdf->setTextColor(000);
  1612.                         if($prestaservices_donnees->getSecuriteAssistanceVisiteur()){
  1613.                             $pdf->SetX($curseur_partie_droite 3);
  1614.                             $pdf->SetFont('Arial''B'10);
  1615.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1616.                             $pdf->SetFont('Arial'''9);
  1617.                             $pdf->Cell(0,mb_convert_encoding("Assistance aux visiteurs""Windows-1252""UTF-8"), 01"J");
  1618.                         }
  1619.                         if($prestaservices_donnees->getSecuriteConvoyage()){
  1620.                             $pdf->SetX($curseur_partie_droite 3);
  1621.                             $pdf->SetFont('Arial''B'10);
  1622.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1623.                             $pdf->SetFont('Arial'''9);
  1624.                             $pdf->Cell(0,mb_convert_encoding("Convoyage""Windows-1252""UTF-8"), 01"J");
  1625.                         }
  1626.                         if($prestaservices_donnees->getSecuriteFiltrage()){
  1627.                             $pdf->SetX($curseur_partie_droite 3);
  1628.                             $pdf->SetFont('Arial''B'10);
  1629.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1630.                             $pdf->SetFont('Arial'''9);
  1631.                             $pdf->Cell(0,mb_convert_encoding("Filtrage et contrôle d’accès""Windows-1252""UTF-8"), 01"J");
  1632.                         }
  1633.                         if($prestaservices_donnees->getSecuriteProtectionRapprochee()){
  1634.                             $pdf->SetX($curseur_partie_droite 3);
  1635.                             $pdf->SetFont('Arial''B'10);
  1636.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1637.                             $pdf->SetFont('Arial'''9);
  1638.                             $pdf->Cell(0,mb_convert_encoding("Protection rapprochée""Windows-1252""UTF-8"), 01"J");
  1639.                         }
  1640.                         if($prestaservices_donnees->getSecuriteRondes()){
  1641.                             $pdf->SetX($curseur_partie_droite 3);
  1642.                             $pdf->SetFont('Arial''B'10);
  1643.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1644.                             $pdf->SetFont('Arial'''9);
  1645.                             $pdf->Cell(0,mb_convert_encoding("Rondes à vue diurnes et/ou nocturnes""Windows-1252""UTF-8"), 01"J");
  1646.                         }
  1647.                         if($prestaservices_donnees->getSecuriteSecuriteInvite()){
  1648.                             $pdf->SetX($curseur_partie_droite 3);
  1649.                             $pdf->SetFont('Arial''B'10);
  1650.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1651.                             $pdf->SetFont('Arial'''9);
  1652.                             $pdf->Cell(0,mb_convert_encoding("Sécurité d’invités""Windows-1252""UTF-8"), 01"J");
  1653.                         }
  1654.                         if($prestaservices_donnees->getSecuriteSurveillanceCanine()){
  1655.                             $pdf->SetX($curseur_partie_droite 3);
  1656.                             $pdf->SetFont('Arial''B'10);
  1657.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1658.                             $pdf->SetFont('Arial'''9);
  1659.                             $pdf->Cell(0,mb_convert_encoding("Surveillance avec chien""Windows-1252""UTF-8"), 01"J");
  1660.                         }
  1661.                         if($prestaservices_donnees->getSecuriteSurveillanceStatique()){
  1662.                             $pdf->SetX($curseur_partie_droite 3);
  1663.                             $pdf->SetFont('Arial''B'10);
  1664.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1665.                             $pdf->SetFont('Arial'''9);
  1666.                             $pdf->Cell(0,mb_convert_encoding("Surveillance statique""Windows-1252""UTF-8"), 01"J");
  1667.                         }
  1668.                         if($prestaservices_donnees->getSecuriteTenueMainCourante()){
  1669.                             $pdf->SetX($curseur_partie_droite 3);
  1670.                             $pdf->SetFont('Arial''B'10);
  1671.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1672.                             $pdf->SetFont('Arial'''9);
  1673.                             $pdf->Cell(0,mb_convert_encoding("Tenue de la main-courante""Windows-1252""UTF-8"), 01"J");
  1674.                         }
  1675.                         if($prestaservices_donnees->getSecuriteTransport()){
  1676.                             $pdf->SetX($curseur_partie_droite 3);
  1677.                             $pdf->SetFont('Arial''B'10);
  1678.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1679.                             $pdf->SetFont('Arial'''9);
  1680.                             $pdf->Cell(0,mb_convert_encoding("Véhicule de transport en protection rapprochée""Windows-1252""UTF-8"), 01"J");
  1681.                         }
  1682.                         if($prestaservices_donnees->getSecuriteVentousage()){
  1683.                             $pdf->SetX($curseur_partie_droite 3);
  1684.                             $pdf->SetFont('Arial''B'10);
  1685.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1686.                             $pdf->SetFont('Arial'''9);
  1687.                             $pdf->Cell(0,mb_convert_encoding("Ventousage""Windows-1252""UTF-8"), 01"J");
  1688.                         }
  1689.                         if($prestaservices_donnees->getSecuriteVerifSysteme()){
  1690.                             $pdf->SetX($curseur_partie_droite 3);
  1691.                             $pdf->SetFont('Arial''B'10);
  1692.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1693.                             $pdf->SetFont('Arial'''9);
  1694.                             $pdf->Cell(0,mb_convert_encoding("Vérification des installations et systèmes de sécurité""Windows-1252""UTF-8"), 01"J");
  1695.                         }
  1696.                         if($prestaservices_donnees->getSecuriteVerifPrevention()){
  1697.                             $pdf->SetX($curseur_partie_droite 3);
  1698.                             $pdf->SetFont('Arial''B'10);
  1699.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1700.                             $pdf->SetFont('Arial'''9);
  1701.                             $pdf->Cell(0,mb_convert_encoding("Vérification et suivi des installations de prévention incendie""Windows-1252""UTF-8"), 01"J");
  1702.                         }
  1703.                         $pdf->ln(5);
  1704.                         if (count($prestaservices_donnees->getSecuriteExperiences()) > 0) {
  1705.                             $pdf->SetX($curseur_partie_droite);
  1706.                             $pdf->setTextColor(1167171);
  1707.                             $pdf->SetFont('Arial'''8);
  1708.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Expérience(s) de tournage(s)"), "Windows-1252""UTF-8"), 01"L");
  1709.                             $pdf->SetX($curseur_partie_droite);
  1710.                             $pdf->SetFillColor(223223223);
  1711.                             $pdf->SetDrawColor(000);
  1712.                             $pdf->SetLineWidth(0.1);
  1713.                             $pdf->setTextColor(000);
  1714.                             $pdf->Cell(105mb_convert_encoding("Année""Windows-1252""UTF-8"), 10"L"1);
  1715.                             $pdf->Cell(605"Titre"10"L"1);
  1716.                             $pdf->Cell(405mb_convert_encoding("Réalisation""Windows-1252""UTF-8"), 10"L"1);
  1717.                             $pdf->Cell(255"Format"10"L"1);
  1718.                             $pdf->Cell(205mb_convert_encoding("Catégorie""Windows-1252""UTF-8"), 10"L"1);
  1719.                             $pdf->Cell(355mb_convert_encoding("Production""Windows-1252""UTF-8"), 11"L"1);
  1720.                             foreach ($prestaservices_donnees->getSecuriteExperiences() as $experiences) {
  1721.                                 $pdf->SetX($curseur_partie_droite);
  1722.                                 $pdf->Cell(105mb_convert_encoding($experiences->getAnnee(), "Windows-1252""UTF-8"), 10"L");
  1723.                                 $titre_experiences mb_convert_encoding($experiences->getTitre(), "Windows-1252""UTF-8");
  1724.                                 $titre_experiences = (strlen($titre_experiences) <= 40) ? $titre_experiences substr($titre_experiences040) . "...";
  1725.                                 $pdf->Cell(605$titre_experiences10"L");
  1726.                                 $realisation_experiences mb_convert_encoding($experiences->getRealisation(), "Windows-1252""UTF-8");
  1727.                                 $realisation_experiences = (strlen($realisation_experiences) <= 34) ? $realisation_experiences substr($realisation_experiences034) . "...";
  1728.                                 $pdf->Cell(405$realisation_experiences10"L");
  1729.                                 $format_experiences mb_convert_encoding($experiences->getFormat(), "Windows-1252""UTF-8");
  1730.                                 $pdf->Cell(255$format_experiences10"L");
  1731.                                 $categorie_experiences mb_convert_encoding($experiences->getCategorie(), "Windows-1252""UTF-8");
  1732.                                 $pdf->Cell(205$categorie_experiences10"L");
  1733.                                 $pdf->Cell(355mb_convert_encoding($experiences->getProduction(), "Windows-1252""UTF-8"), 11"L");
  1734.                             }
  1735.                             $pdf->ln(5);
  1736.                         }
  1737.                         if ($prestaservices_donnees->getSecuriteExperienceAutre()) {
  1738.                             $pdf->SetX($curseur_partie_droite);
  1739.                             $pdf->setTextColor(1167171);
  1740.                             $pdf->SetFont('Arial'''9);
  1741.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Autre(s) expérience(s)"), "Windows-1252""UTF-8"), 01"L");
  1742.                             $pdf->SetX($curseur_partie_droite);
  1743.                             $pdf->setTextColor(000);
  1744.                             $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getSecuriteExperienceAutre(), "Windows-1252""UTF-8"), 0"J");
  1745.                             $pdf->ln(5);
  1746.                         }
  1747.                         if(
  1748.                             $prestaservices_donnees->getLangues() != '' ||
  1749.                             $prestaservices_donnees->getRayonCalvados() ||
  1750.                             $prestaservices_donnees->getRayonEure() ||
  1751.                             $prestaservices_donnees->getRayonManche() ||
  1752.                             $prestaservices_donnees->getRayonOrne() ||
  1753.                             $prestaservices_donnees->getRayonSeineMaritime() ||
  1754.                             $prestaservices_donnees->getRayonHorsNormandie())
  1755.                         {
  1756.                             $this->info_complementaire($pdf$prestaservices_donnees$curseur_partie_droite);
  1757.                         }
  1758.                         $this->pied_page($pdf);
  1759.                         $date_maj $prestaservices_donnees->getStatutDate();
  1760.                         $pdf->setXY(102);
  1761.                         $pdf->SetTextColor(0,0,0);
  1762.                         $pdf->SetFont('Arial''B'9);
  1763.                         $pdf->Cell(0,8,mb_convert_encoding("Profil validé le ".date_format($date_maj"d/m/Y"), "Windows-1252""UTF-8"), 01);
  1764.                     }
  1765.                     /* Régie : matériel et véhicule */
  1766.                     if($prestaservices_donnees->getVehiculeTechnique()){
  1767.                         $pdf->AddPage();
  1768.                         $pdf->SetAutoPageBreak(,5);
  1769.                         $this->en_tete($pdf,$user,$structure_donnees,$type);
  1770.                         $pdf->SetXY($curseur_partie_droite93);
  1771.                         $pdf->setTextColor(1167171);
  1772.                         $pdf->SetFont('Arial'''9);
  1773.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("prestation proposée"), "Windows-1252""UTF-8"), 01"L");
  1774.                         $pdf->SetX($curseur_partie_droite);
  1775.                         $pdf->setTextColor(000);
  1776.                         $pdf->Cell(04mb_convert_encoding("Régie : matériel et véhicule""Windows-1252""UTF-8"), 01,"L");
  1777.                         $pdf->ln(5);
  1778.                         $pdf->SetX($curseur_partie_droite);
  1779.                         $pdf->setTextColor(1167171);
  1780.                         $pdf->SetFont('Arial'''9);
  1781.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("descriptif général de l'activité"), "Windows-1252""UTF-8"), 01"L");
  1782.                         $pdf->SetX($curseur_partie_droite);
  1783.                         $pdf->setTextColor(000);
  1784.                         $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getVehiculeTechniqueDescriptif(), "Windows-1252""UTF-8"), 0"J");
  1785.                         $pdf->ln(5);
  1786.                         $pdf->SetX($curseur_partie_droite);
  1787.                         $pdf->setTextColor(1167171);
  1788.                         $pdf->SetFont('Arial'''9);
  1789.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Services proposés"), "Windows-1252""UTF-8"), 01"L");
  1790.                         $pdf->SetX($curseur_partie_droite);
  1791.                         $pdf->setTextColor(000);
  1792.                         if($prestaservices_donnees->getVehiculeTechniqueCamionRegie()){
  1793.                             $pdf->SetX($curseur_partie_droite 3);
  1794.                             $pdf->SetFont('Arial''B'10);
  1795.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1796.                             $pdf->SetFont('Arial'''9);
  1797.                             $pdf->Cell(0,mb_convert_encoding("Camions régie""Windows-1252""UTF-8"), 01"J");
  1798.                         }
  1799.                         if($prestaservices_donnees->getVehiculeTechniqueLogeMobile()){
  1800.                             $pdf->SetX($curseur_partie_droite 3);
  1801.                             $pdf->SetFont('Arial''B'10);
  1802.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1803.                             $pdf->SetFont('Arial'''9);
  1804.                             $pdf->Cell(0,mb_convert_encoding("Loges mobiles""Windows-1252""UTF-8"), 01"J");
  1805.                         }
  1806.                         if($prestaservices_donnees->getVehiculeTechniqueRemorque()){
  1807.                             $pdf->SetX($curseur_partie_droite 3);
  1808.                             $pdf->SetFont('Arial''B'10);
  1809.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1810.                             $pdf->SetFont('Arial'''9);
  1811.                             $pdf->Cell(0,mb_convert_encoding("Remorques et plateaux""Windows-1252""UTF-8"), 01"J");
  1812.                         }
  1813.                         if($prestaservices_donnees->getVehiculeTechniqueToiletteMobile()){
  1814.                             $pdf->SetX($curseur_partie_droite 3);
  1815.                             $pdf->SetFont('Arial''B'10);
  1816.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1817.                             $pdf->SetFont('Arial'''9);
  1818.                             $pdf->Cell(0,mb_convert_encoding("Toilettes mobiles""Windows-1252""UTF-8"), 01"J");
  1819.                         }
  1820.                         $pdf->ln(2);
  1821.                         if($prestaservices_donnees->getVehiculeTechniqueAppAlimentaire()){
  1822.                             $pdf->SetX($curseur_partie_droite 3);
  1823.                             $pdf->SetFont('Arial''B'10);
  1824.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1825.                             $pdf->SetFont('Arial'''9);
  1826.                             $pdf->Cell(0,mb_convert_encoding("Appareils alimentaires (café, eau, …)""Windows-1252""UTF-8"), 01"J");
  1827.                         }
  1828.                         if($prestaservices_donnees->getVehiculeTechniqueAssiseTable()){
  1829.                             $pdf->SetX($curseur_partie_droite 3);
  1830.                             $pdf->SetFont('Arial''B'10);
  1831.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1832.                             $pdf->SetFont('Arial'''9);
  1833.                             $pdf->Cell(0,mb_convert_encoding("Assises, tables""Windows-1252""UTF-8"), 01"J");
  1834.                         }
  1835.                         if($prestaservices_donnees->getVehiculeTechniqueBureau()){
  1836.                             $pdf->SetX($curseur_partie_droite 3);
  1837.                             $pdf->SetFont('Arial''B'10);
  1838.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1839.                             $pdf->SetFont('Arial'''9);
  1840.                             $pdf->Cell(0,mb_convert_encoding("Bureaux de production""Windows-1252""UTF-8"), 01"J");
  1841.                         }
  1842.                         if($prestaservices_donnees->getVehiculeTechniqueCaisse()){
  1843.                             $pdf->SetX($curseur_partie_droite 3);
  1844.                             $pdf->SetFont('Arial''B'10);
  1845.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1846.                             $pdf->SetFont('Arial'''9);
  1847.                             $pdf->Cell(0,mb_convert_encoding("Caisses roulantes""Windows-1252""UTF-8"), 01"J");
  1848.                         }
  1849.                         if($prestaservices_donnees->getVehiculeTechniqueChauffage()){
  1850.                             $pdf->SetX($curseur_partie_droite 3);
  1851.                             $pdf->SetFont('Arial''B'10);
  1852.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1853.                             $pdf->SetFont('Arial'''9);
  1854.                             $pdf->Cell(0,mb_convert_encoding("Chauffages""Windows-1252""UTF-8"), 01"J");
  1855.                         }
  1856.                         if($prestaservices_donnees->getVehiculeTechniqueEnergie()){
  1857.                             $pdf->SetX($curseur_partie_droite 3);
  1858.                             $pdf->SetFont('Arial''B'10);
  1859.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1860.                             $pdf->SetFont('Arial'''9);
  1861.                             $pdf->Cell(0,mb_convert_encoding("Énergie (groupes électrogènes, câbles …)""Windows-1252""UTF-8"), 01"J");
  1862.                         }
  1863.                         if($prestaservices_donnees->getVehiculeTechniqueEnginElevation()){
  1864.                             $pdf->SetX($curseur_partie_droite 3);
  1865.                             $pdf->SetFont('Arial''B'10);
  1866.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1867.                             $pdf->SetFont('Arial'''9);
  1868.                             $pdf->Cell(0,mb_convert_encoding("Engins d'élévation (nacelles, grues....)""Windows-1252""UTF-8"), 01"J");
  1869.                         }
  1870.                         if($prestaservices_donnees->getVehiculeTechniqueMaterielHmc()){
  1871.                             $pdf->SetX($curseur_partie_droite 3);
  1872.                             $pdf->SetFont('Arial''B'10);
  1873.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1874.                             $pdf->SetFont('Arial'''9);
  1875.                             $pdf->Cell(0,mb_convert_encoding("Matériel HMC (miroirs, repassage …)""Windows-1252""UTF-8"), 01"J");
  1876.                         }
  1877.                         if($prestaservices_donnees->getVehiculeTechniqueMaterielSecurite()){
  1878.                             $pdf->SetX($curseur_partie_droite 3);
  1879.                             $pdf->SetFont('Arial''B'10);
  1880.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1881.                             $pdf->SetFont('Arial'''9);
  1882.                             $pdf->Cell(0,mb_convert_encoding("Matériel sécurité (balises, plots ...)""Windows-1252""UTF-8"), 01"J");
  1883.                         }
  1884.                         if($prestaservices_donnees->getVehiculeTechniqueOutilCom()){
  1885.                             $pdf->SetX($curseur_partie_droite 3);
  1886.                             $pdf->SetFont('Arial''B'10);
  1887.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1888.                             $pdf->SetFont('Arial'''9);
  1889.                             $pdf->Cell(0,mb_convert_encoding("Outils de communication (talkies...)""Windows-1252""UTF-8"), 01"J");
  1890.                         }
  1891.                         if($prestaservices_donnees->getVehiculeTechniqueTente()){
  1892.                             $pdf->SetX($curseur_partie_droite 3);
  1893.                             $pdf->SetFont('Arial''B'10);
  1894.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1895.                             $pdf->SetFont('Arial'''9);
  1896.                             $pdf->Cell(0,mb_convert_encoding("Tentes, parquets""Windows-1252""UTF-8"), 01"J");
  1897.                         }
  1898.                         $pdf->ln(2);
  1899.                         if($prestaservices_donnees->getVehiculeTechniqueVentousage()){
  1900.                             $pdf->SetX($curseur_partie_droite 3);
  1901.                             $pdf->SetFont('Arial''B'10);
  1902.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1903.                             $pdf->SetFont('Arial'''9);
  1904.                             $pdf->Cell(0,mb_convert_encoding("Ventousage""Windows-1252""UTF-8"), 01"J");
  1905.                         }
  1906.                         if($prestaservices_donnees->getVehiculeTechniqueConvoyage()){
  1907.                             $pdf->SetX($curseur_partie_droite 3);
  1908.                             $pdf->SetFont('Arial''B'10);
  1909.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1910.                             $pdf->SetFont('Arial'''9);
  1911.                             $pdf->Cell(0,mb_convert_encoding("Convoyage""Windows-1252""UTF-8"), 01"J");
  1912.                         }
  1913.                         if($prestaservices_donnees->getVehiculeTechniqueLivraison()){
  1914.                             $pdf->SetX($curseur_partie_droite 3);
  1915.                             $pdf->SetFont('Arial''B'10);
  1916.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  1917.                             $pdf->SetFont('Arial'''9);
  1918.                             $pdf->Cell(0,mb_convert_encoding("Livraison sur site""Windows-1252""UTF-8"), 01"J");
  1919.                         }
  1920.                         $pdf->ln(5);
  1921.                         if (count($prestaservices_donnees->getVehiculeTechniqueExperiences()) > 0) {
  1922.                             $pdf->SetX($curseur_partie_droite);
  1923.                             $pdf->setTextColor(1167171);
  1924.                             $pdf->SetFont('Arial'''8);
  1925.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Expérience(s) de tournage(s)"), "Windows-1252""UTF-8"), 01"L");
  1926.                             $pdf->SetX($curseur_partie_droite);
  1927.                             $pdf->SetFillColor(223223223);
  1928.                             $pdf->SetDrawColor(000);
  1929.                             $pdf->SetLineWidth(0.1);
  1930.                             $pdf->setTextColor(000);
  1931.                             $pdf->Cell(105mb_convert_encoding("Année""Windows-1252""UTF-8"), 10"L"1);
  1932.                             $pdf->Cell(605"Titre"10"L"1);
  1933.                             $pdf->Cell(405mb_convert_encoding("Réalisation""Windows-1252""UTF-8"), 10"L"1);
  1934.                             $pdf->Cell(255"Format"10"L"1);
  1935.                             $pdf->Cell(205mb_convert_encoding("Catégorie""Windows-1252""UTF-8"), 10"L"1);
  1936.                             $pdf->Cell(355mb_convert_encoding("Production""Windows-1252""UTF-8"), 11"L"1);
  1937.                             foreach ($prestaservices_donnees->getVehiculeTechniqueExperiences() as $experiences) {
  1938.                                 $pdf->SetX($curseur_partie_droite);
  1939.                                 $pdf->Cell(105mb_convert_encoding($experiences->getAnnee(), "Windows-1252""UTF-8"), 10"L");
  1940.                                 $titre_experiences mb_convert_encoding($experiences->getTitre(), "Windows-1252""UTF-8");
  1941.                                 $titre_experiences = (strlen($titre_experiences) <= 40) ? $titre_experiences substr($titre_experiences040) . "...";
  1942.                                 $pdf->Cell(605$titre_experiences10"L");
  1943.                                 $realisation_experiences mb_convert_encoding($experiences->getRealisation(), "Windows-1252""UTF-8");
  1944.                                 $realisation_experiences = (strlen($realisation_experiences) <= 34) ? $realisation_experiences substr($realisation_experiences034) . "...";
  1945.                                 $pdf->Cell(405$realisation_experiences10"L");
  1946.                                 $format_experiences mb_convert_encoding($experiences->getFormat(), "Windows-1252""UTF-8");
  1947.                                 $pdf->Cell(255$format_experiences10"L");
  1948.                                 $categorie_experiences mb_convert_encoding($experiences->getCategorie(), "Windows-1252""UTF-8");
  1949.                                 $pdf->Cell(205$categorie_experiences10"L");
  1950.                                 $pdf->Cell(355mb_convert_encoding($experiences->getProduction(), "Windows-1252""UTF-8"), 11"L");
  1951.                             }
  1952.                             $pdf->ln(5);
  1953.                         }
  1954.                         if ($prestaservices_donnees->getVehiculeTechniqueExperienceAutre()) {
  1955.                             $pdf->SetX($curseur_partie_droite);
  1956.                             $pdf->setTextColor(1167171);
  1957.                             $pdf->SetFont('Arial'''9);
  1958.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Autre(s) expérience(s)"), "Windows-1252""UTF-8"), 01"L");
  1959.                             $pdf->SetX($curseur_partie_droite);
  1960.                             $pdf->setTextColor(000);
  1961.                             $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getVehiculeTechniqueExperienceAutre(), "Windows-1252""UTF-8"), 0"J");
  1962.                             $pdf->ln(5);
  1963.                         }
  1964.                         if(
  1965.                             $prestaservices_donnees->getLangues() != '' ||
  1966.                             $prestaservices_donnees->getRayonCalvados() ||
  1967.                             $prestaservices_donnees->getRayonEure() ||
  1968.                             $prestaservices_donnees->getRayonManche() ||
  1969.                             $prestaservices_donnees->getRayonOrne() ||
  1970.                             $prestaservices_donnees->getRayonSeineMaritime() ||
  1971.                             $prestaservices_donnees->getRayonHorsNormandie())
  1972.                         {
  1973.                             $this->info_complementaire($pdf$prestaservices_donnees$curseur_partie_droite);
  1974.                         }
  1975.                         $this->pied_page($pdf);
  1976.                         $date_maj $prestaservices_donnees->getStatutDate();
  1977.                         $pdf->setXY(102);
  1978.                         $pdf->SetTextColor(0,0,0);
  1979.                         $pdf->SetFont('Arial''B'9);
  1980.                         $pdf->Cell(0,8,mb_convert_encoding("Profil validé le ".date_format($date_maj"d/m/Y"), "Windows-1252""UTF-8"), 01);
  1981.                     }
  1982.                     /* Ressourcerie - Recyclerie */
  1983.                     if($prestaservices_donnees->getRessourcerie()){
  1984.                         $pdf->AddPage();
  1985.                         $pdf->SetAutoPageBreak(,5);
  1986.                         $this->en_tete($pdf,$user,$structure_donnees,$type);
  1987.                         $pdf->SetXY($curseur_partie_droite93);
  1988.                         $pdf->setTextColor(1167171);
  1989.                         $pdf->SetFont('Arial'''9);
  1990.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("prestation proposée"), "Windows-1252""UTF-8"), 01"L");
  1991.                         $pdf->SetX($curseur_partie_droite);
  1992.                         $pdf->setTextColor(000);
  1993.                         $pdf->Cell(04mb_convert_encoding("Ressourcerie / Recyclerie""Windows-1252""UTF-8"), 01,"L");
  1994.                         $pdf->ln(5);
  1995.                         $pdf->setTextColor(1167171);
  1996.                         $pdf->SetFont('Arial'''9);
  1997.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("descriptif général de l'activité"), "Windows-1252""UTF-8"), 01"L");
  1998.                         $pdf->SetX($curseur_partie_droite);
  1999.                         $pdf->setTextColor(000);
  2000.                         $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getRessourcerieDescriptif(), "Windows-1252""UTF-8"), 0"J");
  2001.                         $pdf->ln(5);
  2002.                         $pdf->SetX($curseur_partie_droite);
  2003.                         $pdf->setTextColor(1167171);
  2004.                         $pdf->SetFont('Arial'''8);
  2005.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Estimation quantité des matériels et équipements en possession"), "Windows-1252""UTF-8"), 01"L");
  2006.                         $pdf->SetX($curseur_partie_droite);
  2007.                         $pdf->setTextColor(000);
  2008.                         $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getRessourcerieMateriel(), "Windows-1252""UTF-8"), 0"J");
  2009.                         $pdf->ln(5);
  2010.                         if (count($prestaservices_donnees->getRessourcerieExperiences()) > 0) {
  2011.                             $pdf->SetX($curseur_partie_droite);
  2012.                             $pdf->setTextColor(1167171);
  2013.                             $pdf->SetFont('Arial'''8);
  2014.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Expérience(s) de tournage(s)"), "Windows-1252""UTF-8"), 01"L");
  2015.                             $pdf->SetX($curseur_partie_droite);
  2016.                             $pdf->SetFillColor(223223223);
  2017.                             $pdf->SetDrawColor(000);
  2018.                             $pdf->SetLineWidth(0.1);
  2019.                             $pdf->setTextColor(000);
  2020.                             $pdf->Cell(105mb_convert_encoding("Année""Windows-1252""UTF-8"), 10"L"1);
  2021.                             $pdf->Cell(605"Titre"10"L"1);
  2022.                             $pdf->Cell(405mb_convert_encoding("Réalisation""Windows-1252""UTF-8"), 10"L"1);
  2023.                             $pdf->Cell(255"Format"10"L"1);
  2024.                             $pdf->Cell(205mb_convert_encoding("Catégorie""Windows-1252""UTF-8"), 10"L"1);
  2025.                             $pdf->Cell(355mb_convert_encoding("Production""Windows-1252""UTF-8"), 11"L"1);
  2026.                             foreach ($prestaservices_donnees->getRessourcerieExperiences() as $experiences) {
  2027.                                 $pdf->SetX($curseur_partie_droite);
  2028.                                 $pdf->Cell(105mb_convert_encoding($experiences->getAnnee(), "Windows-1252""UTF-8"), 10"L");
  2029.                                 $titre_experiences mb_convert_encoding($experiences->getTitre(), "Windows-1252""UTF-8");
  2030.                                 $titre_experiences = (strlen($titre_experiences) <= 40) ? $titre_experiences substr($titre_experiences040) . "...";
  2031.                                 $pdf->Cell(605$titre_experiences10"L");
  2032.                                 $realisation_experiences mb_convert_encoding($experiences->getRealisation(), "Windows-1252""UTF-8");
  2033.                                 $realisation_experiences = (strlen($realisation_experiences) <= 34) ? $realisation_experiences substr($realisation_experiences034) . "...";
  2034.                                 $pdf->Cell(405$realisation_experiences10"L");
  2035.                                 $format_experiences mb_convert_encoding($experiences->getFormat(), "Windows-1252""UTF-8");
  2036.                                 $pdf->Cell(255$format_experiences10"L");
  2037.                                 $categorie_experiences mb_convert_encoding($experiences->getCategorie(), "Windows-1252""UTF-8");
  2038.                                 $pdf->Cell(205$categorie_experiences10"L");
  2039.                                 $pdf->Cell(355mb_convert_encoding($experiences->getProduction(), "Windows-1252""UTF-8"), 11"L");
  2040.                             }
  2041.                             $pdf->ln(5);
  2042.                         }
  2043.                         if ($prestaservices_donnees->getRessourcerieExperienceAutre()) {
  2044.                             $pdf->SetX($curseur_partie_droite);
  2045.                             $pdf->setTextColor(1167171);
  2046.                             $pdf->SetFont('Arial'''9);
  2047.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Autre(s) expérience(s)"), "Windows-1252""UTF-8"), 01"L");
  2048.                             $pdf->SetX($curseur_partie_droite);
  2049.                             $pdf->setTextColor(000);
  2050.                             $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getRessourcerieExperienceAutre(), "Windows-1252""UTF-8"), 0"J");
  2051.                             $pdf->ln(5);
  2052.                         }
  2053.                         if(
  2054.                             $prestaservices_donnees->getLangues() != '' ||
  2055.                             $prestaservices_donnees->getRayonCalvados() ||
  2056.                             $prestaservices_donnees->getRayonEure() ||
  2057.                             $prestaservices_donnees->getRayonManche() ||
  2058.                             $prestaservices_donnees->getRayonOrne() ||
  2059.                             $prestaservices_donnees->getRayonSeineMaritime() ||
  2060.                             $prestaservices_donnees->getRayonHorsNormandie())
  2061.                         {
  2062.                             $this->info_complementaire($pdf$prestaservices_donnees$curseur_partie_droite);
  2063.                         }
  2064.                         $this->pied_page($pdf);
  2065.                         $date_maj $prestaservices_donnees->getStatutDate();
  2066.                         $pdf->setXY(102);
  2067.                         $pdf->SetTextColor(0,0,0);
  2068.                         $pdf->SetFont('Arial''B'9);
  2069.                         $pdf->Cell(0,8,mb_convert_encoding("Profil validé le ".date_format($date_maj"d/m/Y"), "Windows-1252""UTF-8"), 01);
  2070.                     }
  2071.                     /* Véhicule de jeu */
  2072.                     if($prestaservices_donnees->getVehiculeJeu()){
  2073.                         $pdf->AddPage();
  2074.                         $pdf->SetAutoPageBreak(,5);
  2075.                         $this->en_tete($pdf,$user,$structure_donnees,$type);
  2076.                         $pdf->SetXY($curseur_partie_droite93);
  2077.                         $pdf->setTextColor(1167171);
  2078.                         $pdf->SetFont('Arial'''9);
  2079.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("prestation proposée"), "Windows-1252""UTF-8"), 01"L");
  2080.                         $pdf->SetX($curseur_partie_droite);
  2081.                         $pdf->setTextColor(000);
  2082.                         $pdf->Cell(04mb_convert_encoding("Véhicule de jeu""Windows-1252""UTF-8"), 01,"L");
  2083.                         $pdf->ln(5);
  2084.                         $pdf->SetX($curseur_partie_droite);
  2085.                         $pdf->setTextColor(1167171);
  2086.                         $pdf->SetFont('Arial'''9);
  2087.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("descriptif général de l'activité"), "Windows-1252""UTF-8"), 01"L");
  2088.                         $pdf->SetX($curseur_partie_droite);
  2089.                         $pdf->setTextColor(000);
  2090.                         $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getVehiculeJeuDescriptif(), "Windows-1252""UTF-8"), 0"J");
  2091.                         $pdf->ln(5);
  2092.                         $pdf->SetX($curseur_partie_droite);
  2093.                         $pdf->setTextColor(1167171);
  2094.                         $pdf->SetFont('Arial'''9);
  2095.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Estimation quantité de véhicules en possession"), "Windows-1252""UTF-8"), 01"L");
  2096.                         $pdf->SetX($curseur_partie_droite);
  2097.                         $pdf->setTextColor(000);
  2098.                         $pdf->Cell(0,mb_convert_encoding($prestaservices_donnees->getVehiculeJeuQuantite(), "Windows-1252""UTF-8"), 01"L");
  2099.                         $pdf->ln(5);
  2100.                         $pdf->SetX($curseur_partie_droite);
  2101.                         $pdf->setTextColor(1167171);
  2102.                         $pdf->SetFont('Arial'''9);
  2103.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Services proposés"), "Windows-1252""UTF-8"), 01"L");
  2104.                         $pdf->SetX($curseur_partie_droite);
  2105.                         $pdf->setTextColor(000);
  2106.                         if($prestaservices_donnees->getVehiculeJeuLocation()){
  2107.                             $pdf->SetX($curseur_partie_droite 3);
  2108.                             $pdf->SetFont('Arial''B'10);
  2109.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2110.                             $pdf->SetFont('Arial'''9);
  2111.                             $pdf->Cell(0,mb_convert_encoding("Location de véhicules de jeu""Windows-1252""UTF-8"), 01"J");
  2112.                         }
  2113.                         if($prestaservices_donnees->getVehiculeJeuGestion()){
  2114.                             $pdf->SetX($curseur_partie_droite 3);
  2115.                             $pdf->SetFont('Arial''B'10);
  2116.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2117.                             $pdf->SetFont('Arial'''9);
  2118.                             $pdf->Cell(0,mb_convert_encoding("Gestion intégrale du parc de véhicule de jeu sur tournage""Windows-1252""UTF-8"), 01"J");
  2119.                         }
  2120.                         if($prestaservices_donnees->getVehiculeJeuLivraison()){
  2121.                             $pdf->SetX($curseur_partie_droite 3);
  2122.                             $pdf->SetFont('Arial''B'10);
  2123.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2124.                             $pdf->SetFont('Arial'''9);
  2125.                             $pdf->Cell(0,mb_convert_encoding("Livraison sur site""Windows-1252""UTF-8"), 01"J");
  2126.                         }
  2127.                         $pdf->ln(5);
  2128.                         $pdf->SetX($curseur_partie_droite);
  2129.                         $pdf->setTextColor(1167171);
  2130.                         $pdf->SetFont('Arial'''8);
  2131.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Descriptif détaillé du parc de véhicule de jeu"), "Windows-1252""UTF-8"), 01"L");
  2132.                         $pdf->SetX($curseur_partie_droite);
  2133.                         $pdf->SetFillColor(223,223,223);
  2134.                         $pdf->SetDrawColor(0,0,0);
  2135.                         $pdf->SetLineWidth(0.1);
  2136.                         $pdf->setTextColor(000);
  2137.                         $pdf->Cell(40,5,mb_convert_encoding("Type de véhicule""Windows-1252""UTF-8"), 10"L",1);
  2138.                         $pdf->Cell(7,5,"Nbr"10"L",1);
  2139.                         $pdf->Cell(50,5,mb_convert_encoding("Caractéristiques""Windows-1252""UTF-8"), 10"L",1);
  2140.                         $pdf->Cell(11,5,mb_convert_encoding("Année""Windows-1252""UTF-8"), 10"L",1);
  2141.                         $pdf->Cell(24,5,mb_convert_encoding("Origine""Windows-1252""UTF-8"), 11"L",1);
  2142.                         foreach($prestaservices_donnees->getVehiculeJeuListes() as $liste_parc){
  2143.                             $pdf->SetX($curseur_partie_droite);
  2144.                             $type_liste_parc mb_convert_encoding($liste_parc->getType(), "Windows-1252""UTF-8");
  2145.                             $type_liste_parc = (strlen($type_liste_parc) <= 25) ? $type_liste_parc substr($type_liste_parc0,25 )."...";
  2146.                             $pdf->Cell(40,5,$type_liste_parc10"L");
  2147.                             $pdf->Cell(7,5,mb_convert_encoding($liste_parc->getNombre(), "Windows-1252""UTF-8"), 10"L");
  2148.                             $caracteristiques_liste_parc mb_convert_encoding($liste_parc->getCaracteristique(), "Windows-1252""UTF-8");
  2149.                             $caracteristiques_liste_parc = (strlen($caracteristiques_liste_parc) <= 32) ? $caracteristiques_liste_parc substr($caracteristiques_liste_parc0,32 )."...";
  2150.                             $pdf->Cell(50,5,$caracteristiques_liste_parc10"L");
  2151.                             $pdf->Cell(11,5,mb_convert_encoding($liste_parc->getAnnee(), "Windows-1252""UTF-8"), 10"L");
  2152.                             $origine_liste_parc mb_convert_encoding($liste_parc->getOrigine(), "Windows-1252""UTF-8");
  2153.                             $origine_liste_parc = (strlen($origine_liste_parc) <= 17) ? $origine_liste_parc substr($origine_liste_parc0,17 )."...";
  2154.                             $pdf->Cell(24,5,$origine_liste_parc11"L");
  2155.                         }
  2156.                         $pdf->ln(5);
  2157.                         if (count($prestaservices_donnees->getVehiculeJeuExperiences()) > 0) {
  2158.                             $pdf->SetX($curseur_partie_droite);
  2159.                             $pdf->setTextColor(1167171);
  2160.                             $pdf->SetFont('Arial'''8);
  2161.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Expérience(s) de tournage(s)"), "Windows-1252""UTF-8"), 01"L");
  2162.                             $pdf->SetX($curseur_partie_droite);
  2163.                             $pdf->SetFillColor(223223223);
  2164.                             $pdf->SetDrawColor(000);
  2165.                             $pdf->SetLineWidth(0.1);
  2166.                             $pdf->setTextColor(000);
  2167.                             $pdf->Cell(105mb_convert_encoding("Année""Windows-1252""UTF-8"), 10"L"1);
  2168.                             $pdf->Cell(605"Titre"10"L"1);
  2169.                             $pdf->Cell(405mb_convert_encoding("Réalisation""Windows-1252""UTF-8"), 10"L"1);
  2170.                             $pdf->Cell(255"Format"10"L"1);
  2171.                             $pdf->Cell(205mb_convert_encoding("Catégorie""Windows-1252""UTF-8"), 10"L"1);
  2172.                             $pdf->Cell(355mb_convert_encoding("Production""Windows-1252""UTF-8"), 11"L"1);
  2173.                             foreach ($prestaservices_donnees->getVehiculeJeuExperiences() as $experiences) {
  2174.                                 $pdf->SetX($curseur_partie_droite);
  2175.                                 $pdf->Cell(105mb_convert_encoding($experiences->getAnnee(), "Windows-1252""UTF-8"), 10"L");
  2176.                                 $titre_experiences mb_convert_encoding($experiences->getTitre(), "Windows-1252""UTF-8");
  2177.                                 $titre_experiences = (strlen($titre_experiences) <= 40) ? $titre_experiences substr($titre_experiences040) . "...";
  2178.                                 $pdf->Cell(605$titre_experiences10"L");
  2179.                                 $realisation_experiences mb_convert_encoding($experiences->getRealisation(), "Windows-1252""UTF-8");
  2180.                                 $realisation_experiences = (strlen($realisation_experiences) <= 34) ? $realisation_experiences substr($realisation_experiences034) . "...";
  2181.                                 $pdf->Cell(405$realisation_experiences10"L");
  2182.                                 $format_experiences mb_convert_encoding($experiences->getFormat(), "Windows-1252""UTF-8");
  2183.                                 $pdf->Cell(255$format_experiences10"L");
  2184.                                 $categorie_experiences mb_convert_encoding($experiences->getCategorie(), "Windows-1252""UTF-8");
  2185.                                 $pdf->Cell(205$categorie_experiences10"L");
  2186.                                 $pdf->Cell(355mb_convert_encoding($experiences->getProduction(), "Windows-1252""UTF-8"), 11"L");
  2187.                             }
  2188.                             $pdf->ln(5);
  2189.                         }
  2190.                         if ($prestaservices_donnees->getVehiculeJeuExperienceAutre()) {
  2191.                             $pdf->SetX($curseur_partie_droite);
  2192.                             $pdf->setTextColor(1167171);
  2193.                             $pdf->SetFont('Arial'''9);
  2194.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Autre(s) expérience(s)"), "Windows-1252""UTF-8"), 01"L");
  2195.                             $pdf->SetX($curseur_partie_droite);
  2196.                             $pdf->setTextColor(000);
  2197.                             $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getVehiculeJeuExperienceAutre(), "Windows-1252""UTF-8"), 0"J");
  2198.                             $pdf->ln(5);
  2199.                         }
  2200.                         if(
  2201.                             $prestaservices_donnees->getLangues() != '' ||
  2202.                             $prestaservices_donnees->getRayonCalvados() ||
  2203.                             $prestaservices_donnees->getRayonEure() ||
  2204.                             $prestaservices_donnees->getRayonManche() ||
  2205.                             $prestaservices_donnees->getRayonOrne() ||
  2206.                             $prestaservices_donnees->getRayonSeineMaritime() ||
  2207.                             $prestaservices_donnees->getRayonHorsNormandie())
  2208.                         {
  2209.                             $this->info_complementaire($pdf$prestaservices_donnees$curseur_partie_droite);
  2210.                         }
  2211.                         $this->pied_page($pdf);
  2212.                         $date_maj $prestaservices_donnees->getStatutDate();
  2213.                         $pdf->setXY(102);
  2214.                         $pdf->SetTextColor(0,0,0);
  2215.                         $pdf->SetFont('Arial''B'9);
  2216.                         $pdf->Cell(0,8,mb_convert_encoding("Profil validé le ".date_format($date_maj"d/m/Y"), "Windows-1252""UTF-8"), 01);
  2217.                     }
  2218.                     /* Véhicule de transport de personnes */
  2219.                     if($prestaservices_donnees->getVehiculeTransport()){
  2220.                         $pdf->AddPage();
  2221.                         $pdf->SetAutoPageBreak(,5);
  2222.                         $this->en_tete($pdf,$user,$structure_donnees,$type);
  2223.                         $pdf->SetXY($curseur_partie_droite93);
  2224.                         $pdf->setTextColor(1167171);
  2225.                         $pdf->SetFont('Arial'''9);
  2226.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("prestation proposée"), "Windows-1252""UTF-8"), 01"L");
  2227.                         $pdf->SetX($curseur_partie_droite);
  2228.                         $pdf->setTextColor(000);
  2229.                         $pdf->Cell(04mb_convert_encoding("Véhicule de transport de personnes""Windows-1252""UTF-8"), 01,"L");
  2230.                         $pdf->ln(5);
  2231.                         $pdf->SetX($curseur_partie_droite);
  2232.                         $pdf->setTextColor(1167171);
  2233.                         $pdf->SetFont('Arial'''9);
  2234.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("descriptif général de l'activité"), "Windows-1252""UTF-8"), 01"L");
  2235.                         $pdf->SetX($curseur_partie_droite);
  2236.                         $pdf->setTextColor(000);
  2237.                         $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getVehiculeTransportDescriptif(), "Windows-1252""UTF-8"), 0"J");
  2238.                         $pdf->ln(5);
  2239.                         $pdf->SetX($curseur_partie_droite);
  2240.                         $pdf->setTextColor(1167171);
  2241.                         $pdf->SetFont('Arial'''9);
  2242.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Services proposés"), "Windows-1252""UTF-8"), 01"L");
  2243.                         $pdf->SetX($curseur_partie_droite);
  2244.                         $pdf->setTextColor(000);
  2245.                         if($prestaservices_donnees->getVehiculeTransportLocation()){
  2246.                             $pdf->SetX($curseur_partie_droite 3);
  2247.                             $pdf->SetFont('Arial''B'10);
  2248.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2249.                             $pdf->SetFont('Arial'''9);
  2250.                             $pdf->Cell(0,mb_convert_encoding("Location de véhicules de transport de personne""Windows-1252""UTF-8"), 01"J");
  2251.                         }
  2252.                         if($prestaservices_donnees->getVehiculeTransportLivraison()){
  2253.                             $pdf->SetX($curseur_partie_droite 3);
  2254.                             $pdf->SetFont('Arial''B'10);
  2255.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2256.                             $pdf->SetFont('Arial'''9);
  2257.                             $pdf->Cell(0,mb_convert_encoding("Livraison sur site""Windows-1252""UTF-8"), 01"J");
  2258.                         }
  2259.                         $pdf->ln(5);
  2260.                         $pdf->SetX($curseur_partie_droite);
  2261.                         $pdf->setTextColor(1167171);
  2262.                         $pdf->SetFont('Arial'''8);
  2263.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Descriptif détaillé du parc de véhicule de transport"), "Windows-1252""UTF-8"), 01"L");
  2264.                         $pdf->SetX($curseur_partie_droite);
  2265.                         $pdf->SetFillColor(223,223,223);
  2266.                         $pdf->SetDrawColor(0,0,0);
  2267.                         $pdf->SetLineWidth(0.1);
  2268.                         $pdf->setTextColor(000);
  2269.                         $pdf->Cell(40,5,mb_convert_encoding("Type de véhicule""Windows-1252""UTF-8"), 10"L",1);
  2270.                         $pdf->Cell(7,5,"Nbr"10"L",1);
  2271.                         $pdf->Cell(84,5,mb_convert_encoding("Caractéristiques""Windows-1252""UTF-8"), 11"L",1);
  2272.                         foreach($prestaservices_donnees->getVehiculeTransportListes() as $liste_vehicule){
  2273.                             $pdf->SetX($curseur_partie_droite);
  2274.                             $type_liste_vehicule mb_convert_encoding($liste_vehicule->getType(), "Windows-1252""UTF-8");
  2275.                             $type_liste_vehicule = (strlen($type_liste_vehicule) <= 26) ? $type_liste_vehicule substr($type_liste_vehicule0,26)."...";
  2276.                             $pdf->Cell(40,5,$type_liste_vehicule10"L");
  2277.                             $pdf->Cell(7,5,mb_convert_encoding($liste_vehicule->getNombre(), "Windows-1252""UTF-8"), 10"L");
  2278.                             $caracteristique_liste_vehicule mb_convert_encoding($liste_vehicule->getCaracteristique(), "Windows-1252""UTF-8");
  2279.                             $caracteristique_liste_vehicule = (strlen($caracteristique_liste_vehicule) <= 60) ? $caracteristique_liste_vehicule substr($caracteristique_liste_vehicule0,60 )."...";
  2280.                             $pdf->Cell(84,5,$caracteristique_liste_vehicule11"L");
  2281.                         }
  2282.                         $pdf->ln(5);
  2283.                         if (count($prestaservices_donnees->getVehiculeTransportExperiences()) > 0) {
  2284.                             $pdf->SetX($curseur_partie_droite);
  2285.                             $pdf->setTextColor(1167171);
  2286.                             $pdf->SetFont('Arial'''8);
  2287.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Expérience(s) de tournage(s)"), "Windows-1252""UTF-8"), 01"L");
  2288.                             $pdf->SetX($curseur_partie_droite);
  2289.                             $pdf->SetFillColor(223223223);
  2290.                             $pdf->SetDrawColor(000);
  2291.                             $pdf->SetLineWidth(0.1);
  2292.                             $pdf->setTextColor(000);
  2293.                             $pdf->Cell(105mb_convert_encoding("Année""Windows-1252""UTF-8"), 10"L"1);
  2294.                             $pdf->Cell(605"Titre"10"L"1);
  2295.                             $pdf->Cell(405mb_convert_encoding("Réalisation""Windows-1252""UTF-8"), 10"L"1);
  2296.                             $pdf->Cell(255"Format"10"L"1);
  2297.                             $pdf->Cell(205mb_convert_encoding("Catégorie""Windows-1252""UTF-8"), 10"L"1);
  2298.                             $pdf->Cell(355mb_convert_encoding("Production""Windows-1252""UTF-8"), 11"L"1);
  2299.                             foreach ($prestaservices_donnees->getVehiculeTransportExperiences() as $experiences) {
  2300.                                 $pdf->SetX($curseur_partie_droite);
  2301.                                 $pdf->Cell(105mb_convert_encoding($experiences->getAnnee(), "Windows-1252""UTF-8"), 10"L");
  2302.                                 $titre_experiences mb_convert_encoding($experiences->getTitre(), "Windows-1252""UTF-8");
  2303.                                 $titre_experiences = (strlen($titre_experiences) <= 40) ? $titre_experiences substr($titre_experiences040) . "...";
  2304.                                 $pdf->Cell(605$titre_experiences10"L");
  2305.                                 $realisation_experiences mb_convert_encoding($experiences->getRealisation(), "Windows-1252""UTF-8");
  2306.                                 $realisation_experiences = (strlen($realisation_experiences) <= 34) ? $realisation_experiences substr($realisation_experiences034) . "...";
  2307.                                 $pdf->Cell(405$realisation_experiences10"L");
  2308.                                 $format_experiences mb_convert_encoding($experiences->getFormat(), "Windows-1252""UTF-8");
  2309.                                 $pdf->Cell(255$format_experiences10"L");
  2310.                                 $categorie_experiences mb_convert_encoding($experiences->getCategorie(), "Windows-1252""UTF-8");
  2311.                                 $pdf->Cell(205$categorie_experiences10"L");
  2312.                                 $pdf->Cell(355mb_convert_encoding($experiences->getProduction(), "Windows-1252""UTF-8"), 11"L");
  2313.                             }
  2314.                             $pdf->ln(5);
  2315.                         }
  2316.                         if ($prestaservices_donnees->getVehiculeTransportExperienceAutre()) {
  2317.                             $pdf->SetX($curseur_partie_droite);
  2318.                             $pdf->setTextColor(1167171);
  2319.                             $pdf->SetFont('Arial'''9);
  2320.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Autre(s) expérience(s)"), "Windows-1252""UTF-8"), 01"L");
  2321.                             $pdf->SetX($curseur_partie_droite);
  2322.                             $pdf->setTextColor(000);
  2323.                             $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getVehiculeTransportExperienceAutre(), "Windows-1252""UTF-8"), 0"J");
  2324.                             $pdf->ln(5);
  2325.                         }
  2326.                         if(
  2327.                             $prestaservices_donnees->getLangues() != '' ||
  2328.                             $prestaservices_donnees->getRayonCalvados() ||
  2329.                             $prestaservices_donnees->getRayonEure() ||
  2330.                             $prestaservices_donnees->getRayonManche() ||
  2331.                             $prestaservices_donnees->getRayonOrne() ||
  2332.                             $prestaservices_donnees->getRayonSeineMaritime() ||
  2333.                             $prestaservices_donnees->getRayonHorsNormandie())
  2334.                         {
  2335.                             $this->info_complementaire($pdf$prestaservices_donnees$curseur_partie_droite);
  2336.                         }
  2337.                         $this->pied_page($pdf);
  2338.                         $date_maj $prestaservices_donnees->getStatutDate();
  2339.                         $pdf->setXY(102);
  2340.                         $pdf->SetTextColor(0,0,0);
  2341.                         $pdf->SetFont('Arial''B'9);
  2342.                         $pdf->Cell(0,8,mb_convert_encoding("Profil validé le ".date_format($date_maj"d/m/Y"), "Windows-1252""UTF-8"), 01);
  2343.                     }
  2344.                     /* Vues aériennes / Drone */
  2345.                     if($prestaservices_donnees->getDrone()){
  2346.                         $pdf->AddPage();
  2347.                         $pdf->SetAutoPageBreak(,5);
  2348.                         $this->en_tete($pdf,$user,$structure_donnees,$type);
  2349.                         $pdf->SetXY($curseur_partie_droite93);
  2350.                         $pdf->setTextColor(1167171);
  2351.                         $pdf->SetFont('Arial'''9);
  2352.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("prestation proposée"), "Windows-1252""UTF-8"), 01"L");
  2353.                         $pdf->SetX($curseur_partie_droite);
  2354.                         $pdf->setTextColor(000);
  2355.                         $pdf->Cell(04mb_convert_encoding("Vues aériennes / Drone""Windows-1252""UTF-8"), 01,"L");
  2356.                         $pdf->ln(5);
  2357.                         $pdf->SetX($curseur_partie_droite);
  2358.                         $pdf->setTextColor(1167171);
  2359.                         $pdf->SetFont('Arial'''9);
  2360.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("descriptif général de l'activité"), "Windows-1252""UTF-8"), 01"L");
  2361.                         $pdf->SetX($curseur_partie_droite);
  2362.                         $pdf->setTextColor(000);
  2363.                         $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getDroneDescriptif(), "Windows-1252""UTF-8"), 0"J");
  2364.                         $pdf->ln(5);
  2365.                         $pdf->SetX($curseur_partie_droite);
  2366.                         $pdf->setTextColor(1167171);
  2367.                         $pdf->SetFont('Arial'''9);
  2368.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Services proposés"), "Windows-1252""UTF-8"), 01"L");
  2369.                         $pdf->SetX($curseur_partie_droite);
  2370.                         $pdf->setTextColor(000);
  2371.                         if($prestaservices_donnees->getDronePhoto()){
  2372.                             $pdf->SetX($curseur_partie_droite 3);
  2373.                             $pdf->SetFont('Arial''B'10);
  2374.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2375.                             $pdf->SetFont('Arial'''9);
  2376.                             $pdf->Cell(0,mb_convert_encoding("Photographie""Windows-1252""UTF-8"), 01"J");
  2377.                         }
  2378.                         if($prestaservices_donnees->getDroneVideo()){
  2379.                             $pdf->SetX($curseur_partie_droite 3);
  2380.                             $pdf->SetFont('Arial''B'10);
  2381.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2382.                             $pdf->SetFont('Arial'''9);
  2383.                             $pdf->Cell(0,mb_convert_encoding("Vidéo""Windows-1252""UTF-8"), 01"J");
  2384.                         }
  2385.                         if($prestaservices_donnees->getDroneTimeLapse()){
  2386.                             $pdf->SetX($curseur_partie_droite 3);
  2387.                             $pdf->SetFont('Arial''B'10);
  2388.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2389.                             $pdf->SetFont('Arial'''9);
  2390.                             $pdf->Cell(0,mb_convert_encoding("Time-Lapse""Windows-1252""UTF-8"), 01"J");
  2391.                         }
  2392.                         if($prestaservices_donnees->getDroneModelisation3d()){
  2393.                             $pdf->SetX($curseur_partie_droite 3);
  2394.                             $pdf->SetFont('Arial''B'10);
  2395.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2396.                             $pdf->SetFont('Arial'''9);
  2397.                             $pdf->Cell(0,mb_convert_encoding("Modélisation 3D""Windows-1252""UTF-8"), 01"J");
  2398.                         }
  2399.                         if($prestaservices_donnees->getDroneLocAeroAvecPilote()){
  2400.                             $pdf->SetX($curseur_partie_droite 3);
  2401.                             $pdf->SetFont('Arial''B'10);
  2402.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2403.                             $pdf->SetFont('Arial'''9);
  2404.                             $pdf->Cell(0,mb_convert_encoding("Location d’aéronef avec pilote à bord""Windows-1252""UTF-8"), 01"J");
  2405.                         }
  2406.                         if($prestaservices_donnees->getDroneLocAeroSansPilote()){
  2407.                             $pdf->SetX($curseur_partie_droite 3);
  2408.                             $pdf->SetFont('Arial''B'10);
  2409.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2410.                             $pdf->SetFont('Arial'''9);
  2411.                             $pdf->Cell(0,mb_convert_encoding("Location d’aéronef sans pilote à bord""Windows-1252""UTF-8"), 01"J");
  2412.                         }
  2413.                         if($prestaservices_donnees->getDronePiloteQualifie()){
  2414.                             $pdf->SetX($curseur_partie_droite 3);
  2415.                             $pdf->SetFont('Arial''B'10);
  2416.                             $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2417.                             $pdf->SetFont('Arial'''9);
  2418.                             $pdf->Cell(0,mb_convert_encoding("Pilote qualifié et déclaré à la DGAC""Windows-1252""UTF-8"), 01"J");
  2419.                         }
  2420.                         $pdf->ln(5);
  2421.                         $pdf->SetX($curseur_partie_droite);
  2422.                         $pdf->setTextColor(1167171);
  2423.                         $pdf->SetFont('Arial'''8);
  2424.                         $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Descriptif détaillé du parc d’aéronef"), "Windows-1252""UTF-8"), 01"L");
  2425.                         $pdf->SetX($curseur_partie_droite);
  2426.                         $pdf->SetFillColor(223,223,223);
  2427.                         $pdf->SetDrawColor(0,0,0);
  2428.                         $pdf->SetLineWidth(0.1);
  2429.                         $pdf->setTextColor(000);
  2430.                         $pdf->Cell(40,5,mb_convert_encoding("Type d'aéronef""Windows-1252""UTF-8"), 10"L",1);
  2431.                         $pdf->Cell(7,5,"Nbr"10"L",1);
  2432.                         $pdf->Cell(84,5,mb_convert_encoding("Caractéristiques""Windows-1252""UTF-8"), 11"L",1);
  2433.                         foreach($prestaservices_donnees->getDroneListes() as $liste_drone){
  2434.                             $pdf->SetX($curseur_partie_droite);
  2435.                             $type_liste_drone mb_convert_encoding($liste_drone->getType(), "Windows-1252""UTF-8");
  2436.                             $type_liste_drone = (strlen($type_liste_drone) <= 26) ? $type_liste_drone substr($type_liste_drone0,26)."...";
  2437.                             $pdf->Cell(40,5,$type_liste_drone10"L");
  2438.                             $pdf->Cell(7,5,mb_convert_encoding($liste_drone->getNombre(), "Windows-1252""UTF-8"), 10"L");
  2439.                             $caracteristique_liste_drone mb_convert_encoding($liste_drone->getCaracteristique(), "Windows-1252""UTF-8");
  2440.                             $caracteristique_liste_drone = (strlen($caracteristique_liste_drone) <= 60) ? $caracteristique_liste_drone substr($caracteristique_liste_drone0,60 )."...";
  2441.                             $pdf->Cell(84,5,$caracteristique_liste_drone11"L");
  2442.                         }
  2443.                         $pdf->ln(5);
  2444.                         if (count($prestaservices_donnees->getDroneExperiences()) > 0) {
  2445.                             $pdf->SetX($curseur_partie_droite);
  2446.                             $pdf->setTextColor(1167171);
  2447.                             $pdf->SetFont('Arial'''8);
  2448.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Expérience(s) de tournage(s)"), "Windows-1252""UTF-8"), 01"L");
  2449.                             $pdf->SetX($curseur_partie_droite);
  2450.                             $pdf->SetFillColor(223223223);
  2451.                             $pdf->SetDrawColor(000);
  2452.                             $pdf->SetLineWidth(0.1);
  2453.                             $pdf->setTextColor(000);
  2454.                             $pdf->Cell(105mb_convert_encoding("Année""Windows-1252""UTF-8"), 10"L"1);
  2455.                             $pdf->Cell(605"Titre"10"L"1);
  2456.                             $pdf->Cell(405mb_convert_encoding("Réalisation""Windows-1252""UTF-8"), 10"L"1);
  2457.                             $pdf->Cell(255"Format"10"L"1);
  2458.                             $pdf->Cell(205mb_convert_encoding("Catégorie""Windows-1252""UTF-8"), 10"L"1);
  2459.                             $pdf->Cell(355mb_convert_encoding("Production""Windows-1252""UTF-8"), 11"L"1);
  2460.                             foreach ($prestaservices_donnees->getDroneExperiences() as $experiences) {
  2461.                                 $pdf->SetX($curseur_partie_droite);
  2462.                                 $pdf->Cell(105mb_convert_encoding($experiences->getAnnee(), "Windows-1252""UTF-8"), 10"L");
  2463.                                 $titre_experiences mb_convert_encoding($experiences->getTitre(), "Windows-1252""UTF-8");
  2464.                                 $titre_experiences = (strlen($titre_experiences) <= 40) ? $titre_experiences substr($titre_experiences040) . "...";
  2465.                                 $pdf->Cell(605$titre_experiences10"L");
  2466.                                 $realisation_experiences mb_convert_encoding($experiences->getRealisation(), "Windows-1252""UTF-8");
  2467.                                 $realisation_experiences = (strlen($realisation_experiences) <= 34) ? $realisation_experiences substr($realisation_experiences034) . "...";
  2468.                                 $pdf->Cell(405$realisation_experiences10"L");
  2469.                                 $format_experiences mb_convert_encoding($experiences->getFormat(), "Windows-1252""UTF-8");
  2470.                                 $pdf->Cell(255$format_experiences10"L");
  2471.                                 $categorie_experiences mb_convert_encoding($experiences->getCategorie(), "Windows-1252""UTF-8");
  2472.                                 $pdf->Cell(205$categorie_experiences10"L");
  2473.                                 $pdf->Cell(355mb_convert_encoding($experiences->getProduction(), "Windows-1252""UTF-8"), 11"L");
  2474.                             }
  2475.                             $pdf->ln(5);
  2476.                         }
  2477.                         if ($prestaservices_donnees->getDroneExperienceAutre()) {
  2478.                             $pdf->SetX($curseur_partie_droite);
  2479.                             $pdf->setTextColor(1167171);
  2480.                             $pdf->SetFont('Arial'''9);
  2481.                             $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Autre(s) expérience(s)"), "Windows-1252""UTF-8"), 01"L");
  2482.                             $pdf->SetX($curseur_partie_droite);
  2483.                             $pdf->setTextColor(000);
  2484.                             $pdf->MultiCell(04mb_convert_encoding($prestaservices_donnees->getDroneExperienceAutre(), "Windows-1252""UTF-8"), 0"J");
  2485.                             $pdf->ln(5);
  2486.                         }
  2487.                         if(
  2488.                             $prestaservices_donnees->getLangues() != '' ||
  2489.                             $prestaservices_donnees->getRayonCalvados() ||
  2490.                             $prestaservices_donnees->getRayonEure() ||
  2491.                             $prestaservices_donnees->getRayonManche() ||
  2492.                             $prestaservices_donnees->getRayonOrne() ||
  2493.                             $prestaservices_donnees->getRayonSeineMaritime() ||
  2494.                             $prestaservices_donnees->getRayonHorsNormandie())
  2495.                         {
  2496.                             $this->info_complementaire($pdf$prestaservices_donnees$curseur_partie_droite);
  2497.                         }
  2498.                         $this->pied_page($pdf);
  2499.                         $date_maj $prestaservices_donnees->getStatutDate();
  2500.                         $pdf->setXY(102);
  2501.                         $pdf->SetTextColor(0,0,0);
  2502.                         $pdf->SetFont('Arial''B'9);
  2503.                         $pdf->Cell(0,8,mb_convert_encoding("Profil validé le ".date_format($date_maj"d/m/Y"), "Windows-1252""UTF-8"), 01);
  2504.                     }
  2505.                 }
  2506.                 $pdf->ln(5);
  2507.             }
  2508.         }elseif($type == 'prodoeuvres'){
  2509.             $type "Production cinéma et audiovisuel";
  2510.             /* Production d’oeuvres cinématographiques et audiovisuelles */
  2511.             if (count($user->getProductionsCineAudio()) > 0) {
  2512.                 $pdf->AddPage();
  2513.                 $pdf->SetAutoPageBreak(,5);
  2514.                 $this->en_tete($pdf,$user,$structure_donnees,$type);
  2515.                 foreach ($user->getProductionsCineAudio() as $prodcineaudo ) {
  2516.                     $prodoeuvres_donnees $prodcineaudo;
  2517.                 }
  2518.                 $pdf->SetXY($curseur_partie_droite93);
  2519.                 $pdf->setTextColor(1,167,171);
  2520.                 $pdf->SetFont('Arial'''9);
  2521.                 $pdf->Cell(0,mb_convert_encoding(mb_strtoupper("Ligne éditoriale"), "Windows-1252""UTF-8"), 01"L");
  2522.                 $pdf->SetX($curseur_partie_droite);
  2523.                 $pdf->setTextColor(0,0,0);
  2524.                 $pdf->MultiCell(0,mb_convert_encoding($prodoeuvres_donnees->getPresentation(), "Windows-1252""UTF-8"), 0"J");
  2525.                 $pdf->ln(5);
  2526.                 $pdf->SetX($curseur_partie_droite);
  2527.                 $pdf->setTextColor(1,167,171);
  2528.                 $pdf->SetFont('Arial'''9);
  2529.                 $pdf->Cell(0,mb_convert_encoding(mb_strtoupper("type de production"), "Windows-1252""UTF-8"), 01"L");
  2530.                 if($prodoeuvres_donnees->getCineCmFiction() ||
  2531.                     $prodoeuvres_donnees->getCineCmDoc() ||
  2532.                     $prodoeuvres_donnees->getCineCmAnim() ||
  2533.                     $prodoeuvres_donnees->getCineLmFiction() ||
  2534.                     $prodoeuvres_donnees->getCineLmDoc() ||
  2535.                     $prodoeuvres_donnees->getCineLmAnim()
  2536.                 ){
  2537.                     $pdf->SetX($curseur_partie_droite);
  2538.                     $pdf->setTextColor(0,0,0);
  2539.                     $pdf->SetFont('Arial'''9);
  2540.                     $pdf->Cell(0,mb_convert_encoding("Cinéma :""Windows-1252""UTF-8"), 01"L");
  2541.                     if($prodoeuvres_donnees->getCineCmFiction()){
  2542.                         $pdf->SetX($curseur_partie_droite 3);
  2543.                         $pdf->SetFont('Arial''B'10);
  2544.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2545.                         $pdf->SetFont('Arial'''9);
  2546.                         $pdf->Cell(0,mb_convert_encoding("Court métrage de fiction : ".$prodoeuvres_donnees->getCineCmFictionNb(), "Windows-1252""UTF-8"), 01"J");
  2547.                     }
  2548.                     if($prodoeuvres_donnees->getCineCmDoc()){
  2549.                         $pdf->SetX($curseur_partie_droite 3);
  2550.                         $pdf->SetFont('Arial''B'10);
  2551.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2552.                         $pdf->SetFont('Arial'''9);
  2553.                         $pdf->Cell(0,mb_convert_encoding("Court métrage documentaire : ".$prodoeuvres_donnees->getCineCmDocNb(), "Windows-1252""UTF-8"), 01"J");
  2554.                     }
  2555.                     if($prodoeuvres_donnees->getCineCmAnim()){
  2556.                         $pdf->SetX($curseur_partie_droite 3);
  2557.                         $pdf->SetFont('Arial''B'10);
  2558.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2559.                         $pdf->SetFont('Arial'''9);
  2560.                         $pdf->Cell(0,mb_convert_encoding("Court métrage d'animation : ".$prodoeuvres_donnees->getCineCmAnimNb(), "Windows-1252""UTF-8"), 01"J");
  2561.                     }
  2562.                     if($prodoeuvres_donnees->getCineLmFiction()){
  2563.                         $pdf->SetX($curseur_partie_droite 3);
  2564.                         $pdf->SetFont('Arial''B'10);
  2565.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2566.                         $pdf->SetFont('Arial'''9);
  2567.                         $pdf->Cell(0,mb_convert_encoding("Long métrage de fiction : ".$prodoeuvres_donnees->getCineLmFictionNb(), "Windows-1252""UTF-8"), 01"J");
  2568.                     }
  2569.                     if($prodoeuvres_donnees->getCineLmDoc()){
  2570.                         $pdf->SetX($curseur_partie_droite 3);
  2571.                         $pdf->SetFont('Arial''B'10);
  2572.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2573.                         $pdf->SetFont('Arial'''9);
  2574.                         $pdf->Cell(0,mb_convert_encoding("Long métrage documentaire : ".$prodoeuvres_donnees->getCineLmDocNb(), "Windows-1252""UTF-8"), 01"J");
  2575.                     }
  2576.                     if($prodoeuvres_donnees->getCineLmAnim()){
  2577.                         $pdf->SetX($curseur_partie_droite 3);
  2578.                         $pdf->SetFont('Arial''B'10);
  2579.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2580.                         $pdf->SetFont('Arial'''9);
  2581.                         $pdf->Cell(0,mb_convert_encoding("Long métrage d'animation : ".$prodoeuvres_donnees->getCineLmAnimNb(), "Windows-1252""UTF-8"), 01"J");
  2582.                     }
  2583.                     $pdf->ln(3);
  2584.                 }
  2585.                 if($prodoeuvres_donnees->getAudioUnitFiction() ||
  2586.                     $prodoeuvres_donnees->getAudioUnitDoc() ||
  2587.                     $prodoeuvres_donnees->getAudioUnitAnim() ||
  2588.                     $prodoeuvres_donnees->getAudioSerieFiction() ||
  2589.                     $prodoeuvres_donnees->getAudioSerieDoc() ||
  2590.                     $prodoeuvres_donnees->getAudioSerieAnim()
  2591.                 ){
  2592.                     $pdf->SetX($curseur_partie_droite);
  2593.                     $pdf->setTextColor(0,0,0);
  2594.                     $pdf->SetFont('Arial'''9);
  2595.                     $pdf->Cell(0,mb_convert_encoding("Télévision :""Windows-1252""UTF-8"), 01"L");
  2596.                     if($prodoeuvres_donnees->getAudioUnitFiction()){
  2597.                         $pdf->SetX($curseur_partie_droite 3);
  2598.                         $pdf->SetFont('Arial''B'10);
  2599.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2600.                         $pdf->SetFont('Arial'''9);
  2601.                         $pdf->Cell(0,mb_convert_encoding("Unitaire de fiction : ".$prodoeuvres_donnees->getAudioUnitFictionNb(), "Windows-1252""UTF-8"), 01"J");
  2602.                     }
  2603.                     if($prodoeuvres_donnees->getAudioUnitDoc()){
  2604.                         $pdf->SetX($curseur_partie_droite 3);
  2605.                         $pdf->SetFont('Arial''B'10);
  2606.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2607.                         $pdf->SetFont('Arial'''9);
  2608.                         $pdf->Cell(0,mb_convert_encoding("Unitaire documentaire : ".$prodoeuvres_donnees->getAudioUnitDocNb(), "Windows-1252""UTF-8"), 01"J");
  2609.                     }
  2610.                     if($prodoeuvres_donnees->getAudioUnitAnim()){
  2611.                         $pdf->SetX($curseur_partie_droite 3);
  2612.                         $pdf->SetFont('Arial''B'10);
  2613.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2614.                         $pdf->SetFont('Arial'''9);
  2615.                         $pdf->Cell(0,mb_convert_encoding("Unitaire d'animation : ".$prodoeuvres_donnees->getAudioUnitAnimNb(), "Windows-1252""UTF-8"), 01"J");
  2616.                     }
  2617.                     if($prodoeuvres_donnees->getAudioSerieFiction()){
  2618.                         $pdf->SetX($curseur_partie_droite 3);
  2619.                         $pdf->SetFont('Arial''B'10);
  2620.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2621.                         $pdf->SetFont('Arial'''9);
  2622.                         $pdf->Cell(0,mb_convert_encoding("Série de fiction : ".$prodoeuvres_donnees->getAudioSerieFictionNb(), "Windows-1252""UTF-8"), 01"J");
  2623.                     }
  2624.                     if($prodoeuvres_donnees->getAudioSerieDoc()){
  2625.                         $pdf->SetX($curseur_partie_droite 3);
  2626.                         $pdf->SetFont('Arial''B'10);
  2627.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2628.                         $pdf->SetFont('Arial'''9);
  2629.                         $pdf->Cell(0,mb_convert_encoding("Série documentaire : ".$prodoeuvres_donnees->getAudioSerieDocNb(), "Windows-1252""UTF-8"), 01"J");
  2630.                     }
  2631.                     if($prodoeuvres_donnees->getAudioSerieAnim()){
  2632.                         $pdf->SetX($curseur_partie_droite 3);
  2633.                         $pdf->SetFont('Arial''B'10);
  2634.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2635.                         $pdf->SetFont('Arial'''9);
  2636.                         $pdf->Cell(0,mb_convert_encoding("Série d'animation : ".$prodoeuvres_donnees->getAudioSerieAnimNb(), "Windows-1252""UTF-8"), 01"J");
  2637.                     }
  2638.                     $pdf->ln(3);
  2639.                 }
  2640.                 if($prodoeuvres_donnees->getWebFiction() ||
  2641.                     $prodoeuvres_donnees->getWebDoc() ||
  2642.                     $prodoeuvres_donnees->getWebRealiteAug() ||
  2643.                     $prodoeuvres_donnees->getWebRealiteVirtuelle() ||
  2644.                     $prodoeuvres_donnees->getAudioAutre()
  2645.                 ){
  2646.                     $pdf->SetX($curseur_partie_droite);
  2647.                     $pdf->setTextColor(0,0,0);
  2648.                     $pdf->SetFont('Arial'''9);
  2649.                     $pdf->Cell(0,mb_convert_encoding("Web et création numérique :""Windows-1252""UTF-8"), 01"L");
  2650.                     if($prodoeuvres_donnees->getWebFiction()){
  2651.                         $pdf->SetX($curseur_partie_droite 3);
  2652.                         $pdf->SetFont('Arial''B'10);
  2653.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2654.                         $pdf->SetFont('Arial'''9);
  2655.                         $pdf->Cell(0,mb_convert_encoding("Web fiction : ".$prodoeuvres_donnees->getWebFictionNb(), "Windows-1252""UTF-8"), 01"J");
  2656.                     }
  2657.                     if($prodoeuvres_donnees->getWebDoc()){
  2658.                         $pdf->SetX($curseur_partie_droite 3);
  2659.                         $pdf->SetFont('Arial''B'10);
  2660.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2661.                         $pdf->SetFont('Arial'''9);
  2662.                         $pdf->Cell(0,mb_convert_encoding("Web documentaire : ".$prodoeuvres_donnees->getWebDocNb(), "Windows-1252""UTF-8"), 01"J");
  2663.                     }
  2664.                     if($prodoeuvres_donnees->getWebRealiteAug()){
  2665.                         $pdf->SetX($curseur_partie_droite 3);
  2666.                         $pdf->SetFont('Arial''B'10);
  2667.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2668.                         $pdf->SetFont('Arial'''9);
  2669.                         $pdf->Cell(0,mb_convert_encoding("Web réalité augmentée : ".$prodoeuvres_donnees->getWebRealiteAugNb(), "Windows-1252""UTF-8"), 01"J");
  2670.                     }
  2671.                     if($prodoeuvres_donnees->getWebRealiteVirtuelle()){
  2672.                         $pdf->SetX($curseur_partie_droite 3);
  2673.                         $pdf->SetFont('Arial''B'10);
  2674.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2675.                         $pdf->SetFont('Arial'''9);
  2676.                         $pdf->Cell(0,mb_convert_encoding("Web réalité virtuelle : ".$prodoeuvres_donnees->getWebRealiteVirtuelleNb(), "Windows-1252""UTF-8"), 01"J");
  2677.                     }
  2678.                     if($prodoeuvres_donnees->getAudioAutre()){
  2679.                         $pdf->SetX($curseur_partie_droite 3);
  2680.                         $pdf->SetFont('Arial''B'10);
  2681.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2682.                         $pdf->SetFont('Arial'''9);
  2683.                         $pdf->Cell(0,mb_convert_encoding($prodoeuvres_donnees->getAudioAutrePrecision()." : ".$prodoeuvres_donnees->getAudioAutreNb(), "Windows-1252""UTF-8"), 01"J");
  2684.                     }
  2685.                     $pdf->ln(3);
  2686.                 }
  2687.                 if($prodoeuvres_donnees->getAutrePrecision1() || $prodoeuvres_donnees->getAutrePrecision2()){
  2688.                     $pdf->SetX($curseur_partie_droite);
  2689.                     $pdf->setTextColor(0,0,0);
  2690.                     $pdf->SetFont('Arial'''9);
  2691.                     $pdf->Cell(0,mb_convert_encoding("Autre :""Windows-1252""UTF-8"), 01"L");
  2692.                     if($prodoeuvres_donnees->getAutrePrecision1()){
  2693.                         $pdf->SetX($curseur_partie_droite 3);
  2694.                         $pdf->SetFont('Arial''B'10);
  2695.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2696.                         $pdf->SetFont('Arial'''9);
  2697.                         $pdf->Cell(0,mb_convert_encoding($prodoeuvres_donnees->getAutrePrecision1()." : ".$prodoeuvres_donnees->getAutrePrecision1Nb(), "Windows-1252""UTF-8"), 01"J");
  2698.                     }
  2699.                     if($prodoeuvres_donnees->getAutrePrecision2()){
  2700.                         $pdf->SetX($curseur_partie_droite 3);
  2701.                         $pdf->SetFont('Arial''B'10);
  2702.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2703.                         $pdf->SetFont('Arial'''9);
  2704.                         $pdf->Cell(0,mb_convert_encoding($prodoeuvres_donnees->getAutrePrecision2()." : ".$prodoeuvres_donnees->getAutrePrecision2Nb(), "Windows-1252""UTF-8"), 01"J");
  2705.                     }
  2706.                 }
  2707.                 $pdf->ln(5);
  2708.                 $pdf->SetX($curseur_partie_droite);
  2709.                 $pdf->setTextColor(1167171);
  2710.                 $pdf->SetFont('Arial'''8);
  2711.                 $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Production(s) représentative(s)"), "Windows-1252""UTF-8"), 01"L");
  2712.                 $pdf->SetX($curseur_partie_droite);
  2713.                 $pdf->SetFillColor(223,223,223);
  2714.                 $pdf->SetDrawColor(0,0,0);
  2715.                 $pdf->SetLineWidth(0.1);
  2716.                 $pdf->setTextColor(000);
  2717.                 $pdf->Cell(10,5,mb_convert_encoding("Année""Windows-1252""UTF-8"), 10"L",1);
  2718.                 $pdf->Cell(40,5,"Titre"10"L",1);
  2719.                 $pdf->Cell(45,5,mb_convert_encoding("Réalisation""Windows-1252""UTF-8"), 10"L",1);
  2720.                 $pdf->Cell(25,5,mb_convert_encoding("Format""Windows-1252""UTF-8"), 10"L",1);
  2721.                 $pdf->Cell(27,5,mb_convert_encoding("Genre""Windows-1252""UTF-8"), 10"L",1);
  2722.                 $pdf->Cell(10,5,mb_convert_encoding("Durée""Windows-1252""UTF-8"), 10"L",1);
  2723.                 $pdf->Cell(41,5,mb_convert_encoding("CoProduction(s)""Windows-1252""UTF-8"), 11"L",1);
  2724.                 $pdf->SetFont('Arial'''8);
  2725.                 foreach($prodoeuvres_donnees->getFilmographies() as $experiences){
  2726.                     $pdf->SetX($curseur_partie_droite);
  2727.                     $pdf->Cell(10,5,mb_convert_encoding($experiences->getAnnee(), "Windows-1252""UTF-8"), 10"L");
  2728.                     $titre_experiences mb_convert_encoding($experiences->getTitre(), "Windows-1252""UTF-8");
  2729.                     $titre_experiences = (strlen($titre_experiences) <= 35) ? $titre_experiences substr($titre_experiences0,35)."...";
  2730.                     $pdf->Cell(40,5,$titre_experiences10"L");
  2731.                     $realisation_experiences mb_convert_encoding($experiences->getRealisation(), "Windows-1252""UTF-8");
  2732.                     $realisation_experiences = (strlen($realisation_experiences) <= 30) ? $realisation_experiences substr($realisation_experiences0,30)."...";
  2733.                     $pdf->Cell(45,5,$realisation_experiences10"L");
  2734.                     $genre_experiences mb_convert_encoding($experiences->getType(), "Windows-1252""UTF-8");
  2735.                     $genre_experiences = (strlen($genre_experiences) <= 30) ? $genre_experiences substr($genre_experiences0,30)."...";
  2736.                     $pdf->Cell(25,5,$genre_experiences10"L");
  2737.                     $type_experiences mb_convert_encoding($experiences->getGenre(), "Windows-1252""UTF-8");
  2738.                     $type_experiences = (strlen($type_experiences) <= 25) ? $type_experiences substr($type_experiences0,25)."...";
  2739.                     $pdf->Cell(27,5,$type_experiences10"L");
  2740.                     $pdf->Cell(10,5,mb_convert_encoding($experiences->getDuree(), "Windows-1252""UTF-8"), 10"L");
  2741.                     $coprod_experiences mb_convert_encoding($experiences->getCoprod(), "Windows-1252""UTF-8");
  2742.                     $coprod_experiences = (strlen($coprod_experiences) <= 28) ? $coprod_experiences substr($coprod_experiences0,28)."...";
  2743.                     $pdf->Cell(41,5,$coprod_experiences11"L");
  2744.                 }
  2745.                 $pdf->ln(5);
  2746.                 $pdf->SetX($curseur_partie_droite);
  2747.                 $pdf->setTextColor(1167171);
  2748.                 $pdf->SetFont('Arial'''9);
  2749.                 $pdf->Cell(05mb_convert_encoding(mb_strtoupper("informations complémentaires"), "Windows-1252""UTF-8"), 01"L");
  2750.                 $pdf->SetX($curseur_partie_droite);
  2751.                 $pdf->setTextColor(000);
  2752.                 if ($prodoeuvres_donnees->getAdherent() == 'Oui') {
  2753.                     $pdf->SetX($curseur_partie_droite);
  2754.                     $pdf->SetFont('Arial'''9);
  2755.                     $pdf->Cell(354mb_convert_encoding("Structure de production adhérente à  ".$prodoeuvres_donnees->getAdherentPrecision(), "Windows-1252""UTF-8"), 01"J");
  2756.                 }
  2757.                 if ($prodoeuvres_donnees->getCoprodInter() == 'occasionnellement' || $prodoeuvres_donnees->getCoprodInter() == 'regulierement') {
  2758.                     $pdf->SetX($curseur_partie_droite);
  2759.                     $pdf->SetFont('Arial'''9);
  2760.                     $pdf->Cell(354mb_convert_encoding("Développe ".$prodoeuvres_donnees->getCoprodInter()." des productions internationales""Windows-1252""UTF-8"), 01"J");
  2761.                 }
  2762.                 if ($prodoeuvres_donnees->getProdExe() == 'occasionnellement' || $prodoeuvres_donnees->getProdExe() == 'regulierement') {
  2763.                     $prodexe_type $prodoeuvres_donnees->getProdExeNationale() ? " nationale et" "";
  2764.                     $prodexe_type .= $prodoeuvres_donnees->getProdExeInternationale() ? " internationale et" "";
  2765.                     $prodexe_type substr($prodexe_type0,-3);
  2766.                     $pdf->SetX($curseur_partie_droite);
  2767.                     $pdf->SetFont('Arial'''9);
  2768.                     $pdf->Cell(354mb_convert_encoding("Production exécutive".$prodexe_type"Windows-1252""UTF-8"), 01"J");
  2769.                 }
  2770.                 if ($prodoeuvres_donnees->getDistribution() == "Oui") {
  2771.                     $distributeur_film $prodoeuvres_donnees->getDistributionFilmType() ? " de".$prodoeuvres_donnees->getDistributionFilmType() : "";
  2772.                     $pdf->SetX($curseur_partie_droite);
  2773.                     $pdf->SetFont('Arial'''9);
  2774.                     $pdf->Cell(354mb_convert_encoding("Distributeur".$distributeur_film"Windows-1252""UTF-8"), 01"J");
  2775.                 }
  2776.                 if ($prodoeuvres_donnees->getLangueEtrangerePrecision() != '') {
  2777.                     $pdf->SetX($curseur_partie_droite);
  2778.                     $pdf->SetFont('Arial'''9);
  2779.                     $pdf->Cell(354mb_convert_encoding("Langue(s) pratiquée(s) : ""Windows-1252""UTF-8"), 00"J");
  2780.                     $pdf->SetFont('Arial'''9);
  2781.                     $pdf->Cell(04mb_convert_encoding($prodoeuvres_donnees->getLangueEtrangerePrecision(), "Windows-1252""UTF-8"), 01"J");
  2782.                 }
  2783.                 $this->pied_page($pdf);
  2784.                 $date_maj $prodoeuvres_donnees->getStatutDate();
  2785.                 $pdf->setXY(102);
  2786.                 $pdf->SetTextColor(0,0,0);
  2787.                 $pdf->SetFont('Arial''B'9);
  2788.                 $pdf->Cell(0,8,mb_convert_encoding("Profil validé le ".date_format($date_maj"d/m/Y"), "Windows-1252""UTF-8"), 01);
  2789.             }
  2790.         }elseif($type == 'prodfilmscom' || $type == 'prodfilms'){
  2791.             $type "Production de films de communication institutionnelle";
  2792.             /* Production de films de communication institutionnelle */
  2793.             if (count($user->getProductionsCom()) > 0) {
  2794.                 $pdf->AddPage();
  2795.                 $pdf->SetAutoPageBreak(,5);
  2796.                 $this->en_tete($pdf,$user,$structure_donnees,$type);
  2797.                 foreach ($user->getProductionsCom() as $prodcom ) {
  2798.                     $prodcom_donnees $prodcom;
  2799.                 }
  2800.                 $pdf->SetXY($curseur_partie_droite93);
  2801.                 $pdf->setTextColor(1,167,171);
  2802.                 $pdf->SetFont('Arial'''9);
  2803.                 $pdf->Cell(0,mb_convert_encoding(mb_strtoupper("Descriptif de l'activité principale de production"), "Windows-1252""UTF-8"), 01"L");
  2804.                 $pdf->SetX($curseur_partie_droite);
  2805.                 $pdf->setTextColor(0,0,0);
  2806.                 $pdf->MultiCell(0,mb_convert_encoding($prodcom_donnees->getPresentation(), "Windows-1252""UTF-8"), 0"J");
  2807.                 $pdf->ln(3);
  2808.                 if($prodcom_donnees->getGenreCaptation() ||
  2809.                     $prodcom_donnees->getGenreClipMusic() ||
  2810.                     $prodcom_donnees->getGenreFilmPeda() ||
  2811.                     $prodcom_donnees->getGenreMagazine() ||
  2812.                     $prodcom_donnees->getGenrePub() ||
  2813.                     $prodcom_donnees->getGenreReportage() ||
  2814.                     $prodcom_donnees->getGenreTeaser() ||
  2815.                     $prodcom_donnees->getGenreVideo() ||
  2816.                     $prodcom_donnees->getGenreAutre()
  2817.                 ){
  2818.                     $pdf->SetX($curseur_partie_droite);
  2819.                     $pdf->setTextColor(0,0,0);
  2820.                     $pdf->SetFont('Arial'''9);
  2821.                     $pdf->Cell(0,mb_convert_encoding("Genre de production :""Windows-1252""UTF-8"), 01"L");
  2822.                     if($prodcom_donnees->getGenreCaptation()){
  2823.                         $pdf->SetX($curseur_partie_droite 3);
  2824.                         $pdf->SetFont('Arial''B'10);
  2825.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2826.                         $pdf->SetFont('Arial'''9);
  2827.                         $pdf->Cell(0,mb_convert_encoding("Captation""Windows-1252""UTF-8"), 01"J");
  2828.                     }
  2829.                     if($prodcom_donnees->getGenreClipMusic()){
  2830.                         $pdf->SetX($curseur_partie_droite 3);
  2831.                         $pdf->SetFont('Arial''B'10);
  2832.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2833.                         $pdf->SetFont('Arial'''9);
  2834.                         $pdf->Cell(0,mb_convert_encoding("Clip musical""Windows-1252""UTF-8"), 01"J");
  2835.                     }
  2836.                     if($prodcom_donnees->getGenreFilmPeda()){
  2837.                         $pdf->SetX($curseur_partie_droite 3);
  2838.                         $pdf->SetFont('Arial''B'10);
  2839.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2840.                         $pdf->SetFont('Arial'''9);
  2841.                         $pdf->Cell(0,mb_convert_encoding("Film pédagogique""Windows-1252""UTF-8"), 01"J");
  2842.                     }
  2843.                     if($prodcom_donnees->getGenreMagazine()){
  2844.                         $pdf->SetX($curseur_partie_droite 3);
  2845.                         $pdf->SetFont('Arial''B'10);
  2846.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2847.                         $pdf->SetFont('Arial'''9);
  2848.                         $pdf->Cell(0,mb_convert_encoding("Magazine corporate""Windows-1252""UTF-8"), 01"J");
  2849.                     }
  2850.                     if($prodcom_donnees->getGenrePub()){
  2851.                         $pdf->SetX($curseur_partie_droite 3);
  2852.                         $pdf->SetFont('Arial''B'10);
  2853.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2854.                         $pdf->SetFont('Arial'''9);
  2855.                         $pdf->Cell(0,mb_convert_encoding("Publicité""Windows-1252""UTF-8"), 01"J");
  2856.                     }
  2857.                     if($prodcom_donnees->getGenreReportage()){
  2858.                         $pdf->SetX($curseur_partie_droite 3);
  2859.                         $pdf->SetFont('Arial''B'10);
  2860.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2861.                         $pdf->SetFont('Arial'''9);
  2862.                         $pdf->Cell(0,mb_convert_encoding("Reportage""Windows-1252""UTF-8"), 01"J");
  2863.                     }
  2864.                     if($prodcom_donnees->getGenreTeaser()){
  2865.                         $pdf->SetX($curseur_partie_droite 3);
  2866.                         $pdf->SetFont('Arial''B'10);
  2867.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2868.                         $pdf->SetFont('Arial'''9);
  2869.                         $pdf->Cell(0,mb_convert_encoding("Teaser""Windows-1252""UTF-8"), 01"J");
  2870.                     }
  2871.                     if($prodcom_donnees->getGenreVideo()){
  2872.                         $pdf->SetX($curseur_partie_droite 3);
  2873.                         $pdf->SetFont('Arial''B'10);
  2874.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2875.                         $pdf->SetFont('Arial'''9);
  2876.                         $pdf->Cell(0,mb_convert_encoding("Vidéo de présentation""Windows-1252""UTF-8"), 01"J");
  2877.                     }
  2878.                     if($prodcom_donnees->getGenreAutre()){
  2879.                         $pdf->SetX($curseur_partie_droite 3);
  2880.                         $pdf->SetFont('Arial''B'10);
  2881.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2882.                         $pdf->SetFont('Arial'''9);
  2883.                         $pdf->Cell(0,mb_convert_encoding($prodcom_donnees->getGenreAutrePrecision(), "Windows-1252""UTF-8"), 01"J");
  2884.                     }
  2885.                     $pdf->ln(3);
  2886.                 }
  2887.                 if($prodcom_donnees->getTechAnim() ||
  2888.                     $prodcom_donnees->getTechDrone() ||
  2889.                     $prodcom_donnees->getTechPriseVueSol() ||
  2890.                     $prodcom_donnees->getTechRealAug() ||
  2891.                     $prodcom_donnees->getTechVideo360() ||
  2892.                     $prodcom_donnees->getTechVr() ||
  2893.                     $prodcom_donnees->getTechWeb() ||
  2894.                     $prodcom_donnees->getTechAutre()
  2895.                 ){
  2896.                     $pdf->SetX($curseur_partie_droite);
  2897.                     $pdf->setTextColor(0,0,0);
  2898.                     $pdf->SetFont('Arial'''9);
  2899.                     $pdf->Cell(0,mb_convert_encoding("Technique et format :""Windows-1252""UTF-8"), 01"L");
  2900.                     if($prodcom_donnees->getTechAnim()){
  2901.                         $pdf->SetX($curseur_partie_droite 3);
  2902.                         $pdf->SetFont('Arial''B'10);
  2903.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2904.                         $pdf->SetFont('Arial'''9);
  2905.                         $pdf->Cell(0,mb_convert_encoding("Animation/Motion design""Windows-1252""UTF-8"), 01"J");
  2906.                     }
  2907.                     if($prodcom_donnees->getTechDrone()){
  2908.                         $pdf->SetX($curseur_partie_droite 3);
  2909.                         $pdf->SetFont('Arial''B'10);
  2910.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2911.                         $pdf->SetFont('Arial'''9);
  2912.                         $pdf->Cell(0,mb_convert_encoding("Drone""Windows-1252""UTF-8"), 01"J");
  2913.                     }
  2914.                     if($prodcom_donnees->getTechPriseVueSol()){
  2915.                         $pdf->SetX($curseur_partie_droite 3);
  2916.                         $pdf->SetFont('Arial''B'10);
  2917.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2918.                         $pdf->SetFont('Arial'''9);
  2919.                         $pdf->Cell(0,mb_convert_encoding("Prise vue au sol""Windows-1252""UTF-8"), 01"J");
  2920.                     }
  2921.                     if($prodcom_donnees->getTechRealAug()){
  2922.                         $pdf->SetX($curseur_partie_droite 3);
  2923.                         $pdf->SetFont('Arial''B'10);
  2924.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2925.                         $pdf->SetFont('Arial'''9);
  2926.                         $pdf->Cell(0,mb_convert_encoding("Réalité augmentée""Windows-1252""UTF-8"), 01"J");
  2927.                     }
  2928.                     if($prodcom_donnees->getTechVideo360()){
  2929.                         $pdf->SetX($curseur_partie_droite 3);
  2930.                         $pdf->SetFont('Arial''B'10);
  2931.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2932.                         $pdf->SetFont('Arial'''9);
  2933.                         $pdf->Cell(0,mb_convert_encoding("Vidéo 360°""Windows-1252""UTF-8"), 01"J");
  2934.                     }
  2935.                     if($prodcom_donnees->getTechVr()){
  2936.                         $pdf->SetX($curseur_partie_droite 3);
  2937.                         $pdf->SetFont('Arial''B'10);
  2938.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2939.                         $pdf->SetFont('Arial'''9);
  2940.                         $pdf->Cell(0,mb_convert_encoding("VR""Windows-1252""UTF-8"), 01"J");
  2941.                     }
  2942.                     if($prodcom_donnees->getTechWeb()){
  2943.                         $pdf->SetX($curseur_partie_droite 3);
  2944.                         $pdf->SetFont('Arial''B'10);
  2945.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2946.                         $pdf->SetFont('Arial'''9);
  2947.                         $pdf->Cell(0,mb_convert_encoding("Web""Windows-1252""UTF-8"), 01"J");
  2948.                     }
  2949.                     if($prodcom_donnees->getTechAutre()){
  2950.                         $pdf->SetX($curseur_partie_droite 3);
  2951.                         $pdf->SetFont('Arial''B'10);
  2952.                         $pdf->Cell(2,mb_convert_encoding(mb_strtoupper("•"), "Windows-1252""UTF-8"), 00"L");
  2953.                         $pdf->SetFont('Arial'''9);
  2954.                         $pdf->Cell(0,mb_convert_encoding($prodcom_donnees->getTechAutrePrecision(), "Windows-1252""UTF-8"), 01"J");
  2955.                     }
  2956.                 }
  2957.                 $pdf->ln(5);
  2958.                 $pdf->SetX($curseur_partie_droite);
  2959.                 $pdf->setTextColor(1167171);
  2960.                 $pdf->SetFont('Arial'''8);
  2961.                 $pdf->Cell(05mb_convert_encoding(mb_strtoupper("Travaux représentatifs"), "Windows-1252""UTF-8"), 01"L");
  2962.                 $pdf->SetX($curseur_partie_droite);
  2963.                 $pdf->SetFillColor(223,223,223);
  2964.                 $pdf->SetDrawColor(0,0,0);
  2965.                 $pdf->SetLineWidth(0.1);
  2966.                 $pdf->setTextColor(000);
  2967.                 $pdf->Cell(11,5,mb_convert_encoding("Année""Windows-1252""UTF-8"), 10"L",1);
  2968.                 $pdf->Cell(75,5,"Titre"10"L",1);
  2969.                 $pdf->Cell(45,5,mb_convert_encoding("Genre de production""Windows-1252""UTF-8"), 10"L",1);
  2970.                 $pdf->Cell(25,5,mb_convert_encoding("lien""Windows-1252""UTF-8"), 11"L",1);
  2971.                 $pdf->SetFont('Arial'''8);
  2972.                 foreach($prodcom_donnees->getTravaux() as $experiences){
  2973.                     $pdf->SetX($curseur_partie_droite);
  2974.                     $pdf->Cell(11,5,mb_convert_encoding($experiences->getAnnee(), "Windows-1252""UTF-8"), 10"L");
  2975.                     $titre_experiences mb_convert_encoding($experiences->getTitre(), "Windows-1252""UTF-8");
  2976.                     $titre_experiences = (strlen($titre_experiences) <= 65) ? $titre_experiences substr($titre_experiences0,65)."...";
  2977.                     $pdf->Cell(75,5,$titre_experiences10"L");
  2978.                     $genre_experiences mb_convert_encoding($experiences->getTypeVideo(), "Windows-1252""UTF-8");
  2979.                     $genre_experiences = (strlen($genre_experiences) <= 28) ? $genre_experiences substr($genre_experiences0,28)."...";
  2980.                     $pdf->Cell(45,5,$genre_experiences10"L");
  2981.                     $posX $pdf->GetX();
  2982.                     $posY $pdf->GetY();
  2983.                     if($experiences->getLienUrl()){
  2984.                         $pdf->Link($posX$posY255$experiences->getLienUrl());
  2985.                         $pdf->Cell(25,5,mb_convert_encoding('accéder à la page'"Windows-1252""UTF-8"), 11"L");
  2986.                     }else{
  2987.                         $pdf->Cell(25,5,mb_convert_encoding(''"Windows-1252""UTF-8"), 11"L");
  2988.                     }
  2989.                 }
  2990.                 if ($prodcom_donnees->getLienDemo() != '') {
  2991.                     $pdf->ln(3);
  2992.                     $pdf->SetX($curseur_partie_droite);
  2993.                     $pdf->SetFont('Arial'''9);
  2994.                     $posX $pdf->GetX();
  2995.                     $posY $pdf->GetY();
  2996.                     $pdf->Link($posX$posY405$prodcom_donnees->getLienDemo());
  2997.                     $pdf->Cell(405mb_convert_encoding("Démo : accéder à la démo""Windows-1252""UTF-8"), 01"J");
  2998.                 }
  2999.                 if ($prodcom_donnees->getLienAutreProjet() != '') {
  3000.                     $pdf->ln(3);
  3001.                     $pdf->SetX($curseur_partie_droite);
  3002.                     $pdf->SetFont('Arial'''9);
  3003.                     $posX $pdf->GetX();
  3004.                     $posY $pdf->GetY();
  3005.                     $pdf->Link($posX$posY505$prodcom_donnees->getLienAutreProjet());
  3006.                     $pdf->Cell(505mb_convert_encoding("Chaîne web : Accéder à la chaîne""Windows-1252""UTF-8"), 01"J");
  3007.                 }
  3008.                 $pdf->ln(5);
  3009.                 $pdf->SetX($curseur_partie_droite);
  3010.                 $pdf->setTextColor(1167171);
  3011.                 $pdf->SetFont('Arial'''9);
  3012.                 $pdf->Cell(05mb_convert_encoding(mb_strtoupper("informations complémentaires"), "Windows-1252""UTF-8"), 01"L");
  3013.                 $pdf->SetX($curseur_partie_droite);
  3014.                 $pdf->setTextColor(000);
  3015.                 if ($prodcom_donnees->getLangueEtrangerePrecision() != '') {
  3016.                     $pdf->SetX($curseur_partie_droite);
  3017.                     $pdf->SetFont('Arial'''9);
  3018.                     $pdf->Cell(354mb_convert_encoding("Langue(s) pratiquée(s) : ""Windows-1252""UTF-8"), 00"J");
  3019.                     $pdf->SetFont('Arial'''9);
  3020.                     $pdf->Cell(04mb_convert_encoding($prodcom_donnees->getLangueEtrangerePrecision(), "Windows-1252""UTF-8"), 01"J");
  3021.                 }
  3022.                 $this->pied_page($pdf);
  3023.                 $date_maj $prodcom_donnees->getStatutDate();
  3024.                 $pdf->setXY(102);
  3025.                 $pdf->SetTextColor(0,0,0);
  3026.                 $pdf->SetFont('Arial''B'9);
  3027.                 $pdf->Cell(0,8,mb_convert_encoding("Profil validé le ".date_format($date_maj"d/m/Y"), "Windows-1252""UTF-8"), 01);
  3028.             }
  3029.         }
  3030.         ob_clean();
  3031.         $pdf->Output('D','pdf/'.mb_convert_encoding($structure_donnees->getNom(), "Windows-1252""UTF-8").'.pdf');
  3032.     }
  3033. }