@@ 3045-3055 (lines=11) @@ | ||
3042 | } |
|
3043 | ||
3044 | ||
3045 | if ($this->parsingCss->value['position'] != 'absolute') { |
|
3046 | $this->pdf->setXY($x + $w, $y); |
|
3047 | ||
3048 | $this->_maxX = max($this->_maxX, $x + $w); |
|
3049 | $this->_maxY = max($this->_maxY, $y + $h); |
|
3050 | $this->_maxH = max($this->_maxH, $h); |
|
3051 | } else { |
|
3052 | $this->pdf->setXY($this->parsingCss->value['xc'], $this->parsingCss->value['yc']); |
|
3053 | ||
3054 | $this->_loadMax(); |
|
3055 | } |
|
3056 | ||
3057 | $block = ($this->parsingCss->value['display'] != 'inline' && $this->parsingCss->value['position'] != 'absolute'); |
|
3058 | ||
@@ 6202-6214 (lines=13) @@ | ||
6199 | $w = $this->parsingCss->value['width'] + $marge['l'] + $marge['r']; |
|
6200 | $h = $this->parsingCss->value['height'] + $marge['t'] + $marge['b']; |
|
6201 | ||
6202 | if ($this->parsingCss->value['position'] != 'absolute') { |
|
6203 | $this->pdf->setXY($x + $w, $y); |
|
6204 | ||
6205 | $this->_maxX = max($this->_maxX, $x + $w); |
|
6206 | $this->_maxY = max($this->_maxY, $y + $h); |
|
6207 | $this->_maxH = max($this->_maxH, $h); |
|
6208 | $this->_maxE++; |
|
6209 | } else { |
|
6210 | // position |
|
6211 | $this->pdf->setXY($this->parsingCss->value['xc'], $this->parsingCss->value['yc']); |
|
6212 | ||
6213 | $this->_loadMax(); |
|
6214 | } |
|
6215 | ||
6216 | $block = ($this->parsingCss->value['display'] != 'inline' && $this->parsingCss->value['position'] != 'absolute'); |
|
6217 |