Changeset 7655 for trunk/reports/inc/class.uireports_fpdf.inc.php
- Timestamp:
- 12/14/12 14:30:35 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/reports/inc/class.uireports_fpdf.inc.php
r6920 r7655 38 38 //Calculate the height of the row 39 39 $nb=0; 40 for($i=0;$i< count($data); $i++)40 for($i=0;$i< count($data);++$i) 41 41 $nb=max($nb,$this->NbLines($this->widths[$i],$data[$i])); 42 42 $h=5*$nb; … … 44 44 $this->CheckPageBreak($h); 45 45 //Draw the cells of the row 46 for($i=0;$i< count($data); $i++)46 for($i=0;$i< count($data);++$i) 47 47 { 48 48 $w=$this->widths[$i]; … … 90 90 if($c=="\n") 91 91 { 92 $i++;92 ++$i; 93 93 $sep=-1; 94 94 $j=$i; 95 95 $l=0; 96 $nl++;96 ++$nl; 97 97 continue; 98 98 } … … 105 105 { 106 106 if($i==$j) 107 $i++;107 ++$i; 108 108 } 109 109 else … … 112 112 $j=$i; 113 113 $l=0; 114 $nl++;114 ++$nl; 115 115 } 116 116 else 117 $i++;117 ++$i; 118 118 } 119 119 return $nl;
Note: See TracChangeset
for help on using the changeset viewer.