From: <ex...@us...> - 2016-09-24 10:29:43
|
Revision: 7631 http://sourceforge.net/p/web-erp/reponame/7631 Author: exsonqu Date: 2016-09-24 10:29:42 +0000 (Sat, 24 Sep 2016) Log Message: ----------- 24/09/16 Exson: Make Justify feature workable in addTextWrap in class.pdf.php. Modified Paths: -------------- trunk/includes/class.pdf.php Modified: trunk/includes/class.pdf.php =================================================================== --- trunk/includes/class.pdf.php 2016-09-24 10:24:36 UTC (rev 7630) +++ trunk/includes/class.pdf.php 2016-09-24 10:29:42 UTC (rev 7631) @@ -80,7 +80,7 @@ $this->Text($XPos, $this->h-$YPos, $text);// Public function Text() in ~/includes/tcpdf/tcpdf.php. } - function addTextWrap($XPos, $YPos, $Width, $Height, $Text, $Align='J', $border=0, $fill=0) { + function addTextWrap($XPos, $YPos, $Width, $Height, $Text, $Align='full', $border=0, $fill=0) { // R&OS version 0.12.2: "addTextWrap function is no more, use addText instead". /* Returns the balance of the string that could not fit in the width */ // $XPos = cell horizontal coordinate from page left side to cell left side in dpi (72dpi = 25.4mm). |