Exemplo n.º 1
0
						$pdf->Cell(210-2*$marge,$h_bloc_socles, "",'LRBT',0,'C');
						$pdf->SetXY($marge,$y+1);
						//$pdf->Cell(10,10, "???",'LRBT',0,'C');
						$pdf->Cell(210-2*$marge, $pdf->FontSize*$sc_interligne, "Le chef d'établissement atteste : attribution du B2i",'',0,'L');
						//$x=$pdf->GetX();
						$x=$marge+$pdf->GetStringWidth("Le chef d'établissement atteste : attribution du B2i");
						//$esp=(210-2*$marge-$pdf->GetStringWidth("   Oui   Non")-$pdf->GetStringWidth("Le chef d'établissement atteste : attribution du B2i"))/3.5;
						$esp=(210-2*$marge-$larg_col_note_glob-$pdf->GetStringWidth("   Oui   Non")-$pdf->GetStringWidth("Le chef d'établissement atteste : attribution du B2i"))/3.5;
						$pdf->SetXY($x+$esp,$y+1);
						//$pdf->SetXY(170,170);
						//$pdf->SetXY($x+15,$y);
						$x0=$pdf->GetX();
						$pdf->Cell(4,4, "",'LRBT',0,'C');
						$x1=$pdf->GetX();
						if($note_b2i=='MS') {
							$pdf->Line($x0,$y+1,$x1,$y+1+4);
							$pdf->Line($x1,$y+1,$x0,$y+1+4);
						}
						$texte=" Oui";
						$pdf->Cell($pdf->GetStringWidth($texte), $h_txt_socles, $texte,'',0,'C');
						$pdf->SetXY($pdf->GetX()+$esp,$y+1);
						$x0=$pdf->GetX();
						$pdf->Cell(4,4, "",'LRBT',0,'C');
						$x1=$pdf->GetX();
						if(($note_b2i=='MN')||($note_b2i=='ME')||($note_b2i=='AB')) {
							$pdf->Line($x0,$y+1,$x1,$y+1+4);
							$pdf->Line($x1,$y+1,$x0,$y+1+4);
						}
						$texte=" Non";
						$pdf->Cell($pdf->GetStringWidth($texte), $h_txt_socles, $texte,'',0,'C');
						$pdf->SetXY($pdf->GetX()+$esp,$y);