diff options
author | prashantsinalkar | 2017-01-13 12:43:05 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-01-13 12:43:05 +0530 |
commit | f54cc415a87352a39a64f65fe8a4354ae13efd9e (patch) | |
tree | c4a4beef5f0a50aea572d052ef8e9325061640fb | |
parent | 035a82d6242977a79b326989ec040d8ec8e46b57 (diff) | |
download | DWSIM_textbook_companion-f54cc415a87352a39a64f65fe8a4354ae13efd9e.tar.gz DWSIM_textbook_companion-f54cc415a87352a39a64f65fe8a4354ae13efd9e.tar.bz2 DWSIM_textbook_companion-f54cc415a87352a39a64f65fe8a4354ae13efd9e.zip |
added multicell for large text wrapping
-rwxr-xr-x | pdf/generate_pdf.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pdf/generate_pdf.inc b/pdf/generate_pdf.inc index 5dd91c5..65e0bef 100755 --- a/pdf/generate_pdf.inc +++ b/pdf/generate_pdf.inc @@ -85,13 +85,15 @@ function generate_pdf() $pdf->SetFont('Arial', 'I', 12); if (strtolower($data3->branch) != "others") { $pdf->SetTextColor(0, 0, 0); - $pdf->Cell(240, 8, 'from ' . $data3->university . ' has successfully', '0', '1', 'C'); + //$pdf->Cell(240, 8, 'from ' . $data3->university . ' has successfully', '0', '1', 'C'); + $pdf->MultiCell(240, 8, 'from ' . $data3->university . ' has successfully', '0','C'); $pdf->Ln(0); $pdf->Cell(240, 8, 'completed Internship under DWSIM Textbook Companion', '0', '1', 'C'); $pdf->Ln(0); $pdf->Cell(240, 8, 'He/she has coded ' . $number_of_example . ' solved examples using DWSIM from the', '0', '1', 'C'); $pdf->Ln(0); - $pdf->Cell(240, 8, 'Book: ' . $data2->book . ', Author: ' . $data2->author . '.', '0', '1', 'C'); + //$pdf->Cell(240, 8, 'Book: ' . $data2->book . ', Author: ' . $data2->author . '.', '0', '1', 'C'); + $pdf->MultiCell(240, 8, 'Book: ' . $data2->book . ', Author: ' . $data2->author . '.', '0','C'); $pdf->Ln(0); } //strtolower($data3->branch) != "others" else { |