@@ -1697,7 +1697,7 @@ |
||
| 1697 | 1697 | $bPrecedes = ($fltValue >= 0 ? $li['p_cs_precedes'] : $li['n_cs_precedes']); |
| 1698 | 1698 | $bSpace = ($fltValue >= 0 ? $li['p_sep_by_space'] : $li['n_sep_by_space']); |
| 1699 | 1699 | $strSep = $bSpace ? ' ' : ''; |
| 1700 | - if ( $li['currency_symbol'] == '€') {
|
|
| 1700 | + if ($li['currency_symbol'] == '€') {
|
|
| 1701 | 1701 | $li['currency_symbol'] = '{eur}';
|
| 1702 | 1702 | } |
| 1703 | 1703 | if ($bPrecedes) {
|
@@ -1132,8 +1132,9 @@ |
||
| 1132 | 1132 | $this->bInGrid = true; |
| 1133 | 1133 | |
| 1134 | 1134 | if ($this->bMultiline) {
|
| 1135 | - if ($this->getY() + (2 * $this->fltLineHeight) > $this->PageBreakTrigger) |
|
| 1136 | - $this->AddPage($this->CurOrientation); |
|
| 1135 | + if ($this->getY() + (2 * $this->fltLineHeight) > $this->PageBreakTrigger) {
|
|
| 1136 | + $this->AddPage($this->CurOrientation); |
|
| 1137 | + } |
|
| 1137 | 1138 | } |
| 1138 | 1139 | |
| 1139 | 1140 | for ($i = 0; $i <= $this->iMaxCol; $i++) {
|
@@ -1256,9 +1256,9 @@ discard block |
||
| 1256 | 1256 | continue; |
| 1257 | 1257 | } |
| 1258 | 1258 | if ($c == ' ') { |
| 1259 | - $sep = $i; // last space |
|
| 1260 | - $ls = $l; // current line width until last space |
|
| 1261 | - $ns++; // number of spaces |
|
| 1259 | + $sep = $i; // last space |
|
| 1260 | + $ls = $l; // current line width until last space |
|
| 1261 | + $ns++; // number of spaces |
|
| 1262 | 1262 | } |
| 1263 | 1263 | $l += $cw[$c]; |
| 1264 | 1264 | if ($l > $wmax) { |
@@ -1992,7 +1992,7 @@ discard block |
||
| 1992 | 1992 | if ($this->charset != 'ISO-8859-15') { |
| 1993 | 1993 | $s = iconv($this->charset, 'ISO-8859-15//IGNORE', $s); |
| 1994 | 1994 | } |
| 1995 | - $s= str_replace('{eur}', chr(128) . ' ', $s); |
|
| 1995 | + $s = str_replace('{eur}', chr(128) . ' ', $s); |
|
| 1996 | 1996 | return $s; |
| 1997 | 1997 | } |
| 1998 | 1998 | |