コード例 #1
0
                     } else {
                         // lori & tbs
                         $pdf->SetFillColor(255, 255, 255);
                         $jumlah = number_format($cont, 0);
                         if ($jumlah == 0) {
                             $jumlah = "";
                         }
                         $pdf->Cell($length[$i] / 100 * $width, $height, $jumlah, 1, 0, $align[$i], 1);
                     }
                 }
             }
             $i++;
         }
         $pdf->Ln();
     }
     $pdf->Output();
     break;
 default:
     # Redefine Align
     $alignPrev = array();
     foreach ($align as $key => $row) {
         switch ($row) {
             case 'L':
                 $alignPrev[$key] = 'left';
                 break;
             case 'R':
                 $alignPrev[$key] = 'right';
                 break;
             case 'C':
                 $alignPrev[$key] = 'center';
                 break;