Lines Matching defs:auto

1766 	function SetAutoPageBreak($auto, $margin = 0)
1768 // Set auto page break mode and triggering margin
1769 $this->autoPageBreak = $auto;
2057 // $w - absolute length or % or auto or cover | contain
2058 // $h - absolute length or % or auto or cover | contain
2103 if ($size['w'] == 'auto' && $size['h'] == 'auto') {
2106 } elseif ($size['w'] == 'auto' && $size['h'] != 'auto') {
2109 } elseif ($size['w'] != 'auto' && $size['h'] == 'auto') {
2162 $bsw = $bsh = 'auto';
2170 if (!stristr($bsw, '%') && !stristr($bsw, 'auto')) {
2173 if (!stristr($bsh, '%') && !stristr($bsh, 'auto')) {
2478 if ($size['w'] == 'auto' && $size['h'] == 'auto') {
2481 } elseif ($size['w'] == 'auto' && $size['h'] != 'auto') {
2484 } elseif ($size['w'] != 'auto' && $size['h'] == 'auto') {
2676 if ($size['w'] == 'auto' && $size['h'] == 'auto') {
2679 } elseif ($size['w'] == 'auto' && $size['h'] != 'auto') {
2682 } elseif ($size['w'] != 'auto' && $size['h'] == 'auto') {
10400 /* When the setAutoTopMargin option is set to pad/stretch, only apply auto header height when a header exists */
10427 /* When the setAutoTopMargin option is set to pad/stretch, only apply auto footer height when a footer exists */
13897 $this->WriteFixedPosHTML($fpbs[0], 0, 0, 100, 100, 'auto', $fpbs[1]); // 0,0,10,10 are overwritten by bbox
13910 // $overflow can be 'hidden', 'visible' or 'auto' - 'auto' causes autofit to size
14163 if (isset($p['MARGIN-RIGHT']) && strtolower($p['MARGIN-RIGHT']) == 'auto') {
14164 $bbox_mr = 'auto';
14167 if (isset($p['MARGIN-LEFT']) && strtolower($p['MARGIN-LEFT']) == 'auto') {
14168 $bbox_ml = 'auto';
14171 if (isset($p['MARGIN-TOP']) && strtolower($p['MARGIN-TOP']) == 'auto') {
14172 $bbox_mt = 'auto';
14175 if (isset($p['MARGIN-BOTTOM']) && strtolower($p['MARGIN-BOTTOM']) == 'auto') {
14176 $bbox_mb = 'auto';
14178 if (isset($p['LEFT']) && strtolower($p['LEFT']) != 'auto') {
14181 $bbox_left = 'auto';
14183 if (isset($p['TOP']) && strtolower($p['TOP']) != 'auto') {
14186 $bbox_top = 'auto';
14188 if (isset($p['RIGHT']) && strtolower($p['RIGHT']) != 'auto') {
14191 $bbox_right = 'auto';
14193 if (isset($p['BOTTOM']) && strtolower($p['BOTTOM']) != 'auto') {
14196 $bbox_bottom = 'auto';
14198 if (isset($p['WIDTH']) && strtolower($p['WIDTH']) != 'auto') {
14201 $inner_w = 'auto';
14203 if (isset($p['HEIGHT']) && strtolower($p['HEIGHT']) != 'auto') {
14206 $inner_h = 'auto';
14211 if ($bbox_left === 'auto' && $bbox_right !== 'auto') {
14216 if ($bbox_top === 'auto' && $bbox_bottom !== 'auto') {
14224 if ($checkinnerhtml == '' && $inner_h === 'auto') {
14227 if ($checkinnerhtml == '' && $inner_w === 'auto') {
14235 if ($bbox_top === 'auto' && $inner_h === 'auto' && $bbox_bottom === 'auto' && $bbox_mt === 'auto' && $bbox_mb === 'auto') {
14237 if ($bbox_mt === 'auto') {
14240 if ($bbox_mb === 'auto') {
14244 // solve for $bbox_bottom when content_h known - $inner_h=='auto' && $bbox_bottom=='auto'
14246 elseif ($bbox_top === 'auto' && $inner_h === 'auto' && $bbox_bottom === 'auto') {
14248 if ($bbox_mt === 'auto') {
14251 if ($bbox_mb === 'auto') {
14254 // solve for $bbox_bottom when content_h known - $inner_h=='auto' && $bbox_bottom=='auto'
14255 } elseif ($bbox_top !== 'auto' && $inner_h !== 'auto' && $bbox_bottom !== 'auto') {
14256 if ($bbox_mt === 'auto' && $bbox_mb === 'auto') {
14259 } elseif ($bbox_mt === 'auto') {
14261 } elseif ($bbox_mb === 'auto') {
14267 if ($bbox_mt === 'auto') {
14270 if ($bbox_mb === 'auto') {
14273 if ($bbox_top === 'auto' && $inner_h === 'auto' && $bbox_bottom !== 'auto') {
14274 // solve for $bbox_top when content_h known - $inner_h=='auto' && $bbox_top =='auto'
14275 } elseif ($bbox_top === 'auto' && $bbox_bottom === 'auto' && $inner_h !== 'auto') {
14278 } elseif ($inner_h === 'auto' && $bbox_bottom === 'auto' && $bbox_top !== 'auto') {
14279 // solve for $bbox_bottom when content_h known - $inner_h=='auto' && $bbox_bottom=='auto'
14280 } elseif ($bbox_top === 'auto' && $inner_h !== 'auto' && $bbox_bottom !== 'auto') {
14282 } elseif ($inner_h === 'auto' && $bbox_top !== 'auto' && $bbox_bottom !== 'auto') {
14284 } elseif ($bbox_bottom === 'auto' && $bbox_top !== 'auto' && $inner_h !== 'auto') {
14291 if ($bbox_left === 'auto' && $inner_w === 'auto' && $bbox_right === 'auto') {
14292 if ($bbox_ml === 'auto') {
14295 if ($bbox_mr === 'auto') {
14300 // solve for $bbox_right when content_w known - $inner_w=='auto' && $bbox_right=='auto'
14301 } elseif ($bbox_left !== 'auto' && $inner_w !== 'auto' && $bbox_right !== 'auto') {
14302 if ($bbox_ml === 'auto' && $bbox_mr === 'auto') {
14305 } elseif ($bbox_ml === 'auto') {
14307 } elseif ($bbox_mr === 'auto') {
14313 if ($bbox_ml === 'auto') {
14316 if ($bbox_mr === 'auto') {
14319 if ($bbox_left === 'auto' && $inner_w === 'auto' && $bbox_right !== 'auto') {
14320 // solve for $bbox_left when content_w known - $inner_w=='auto' && $bbox_left =='auto'
14321 } elseif ($bbox_left === 'auto' && $bbox_right === 'auto' && $inner_w !== 'auto') {
14325 } elseif ($inner_w === 'auto' && $bbox_right === 'auto' && $bbox_left !== 'auto') {
14326 // solve for $bbox_right when content_w known - $inner_w=='auto' && $bbox_right=='auto'
14327 } elseif ($bbox_left === 'auto' && $inner_w !== 'auto' && $bbox_right !== 'auto') {
14329 } elseif ($inner_w === 'auto' && $bbox_left !== 'auto' && $bbox_right !== 'auto') {
14331 } elseif ($bbox_right === 'auto' && $bbox_left !== 'auto' && $inner_w !== 'auto') {
14347 $bbox_top_auto = $bbox_top === 'auto';
14348 $bbox_left_auto = $bbox_left === 'auto';
14349 $bbox_right_auto = $bbox_right === 'auto';
14350 $bbox_bottom_auto = $bbox_bottom === 'auto';
14363 // Set (temporary) values for x y w h to do first paint, if values are auto
14364 if ($inner_h === 'auto' && $bbox_top_auto) {
14367 } elseif ($inner_h === 'auto' && $bbox_bottom_auto) {
14371 if ($inner_w === 'auto' && $bbox_left_auto) {
14374 } elseif ($inner_w === 'auto' && $bbox_right_auto) {
14388 if ($inner_w === 'auto') { // do a first write
14419 if ($inner_h === 'auto') { // do a first write
14442 if ($bbox_bottom_auto && $bbox_top_orig === 'auto') {
17640 } elseif ($size['w'] != 'auto') {
17647 } elseif ($size['h'] != 'auto') {
18256 if (($tag == 'UL' || $tag == 'OL') && $v == 'auto') {
18257 $this->blk[$this->blklvl]['padding_left'] = 'auto';
18263 if (($tag == 'UL' || $tag == 'OL') && $v == 'auto') {
18264 $this->blk[$this->blklvl]['padding_right'] = 'auto';