H A D | Form.php | 163 function print_ob_text($objattr, $w, $h, $texto, $rtlalign, $k, $blockdir) 221 $this->SetFormText($w, $h, $objattr['fieldname'], $val, $val, $objattr['title'], $flags, $fieldalign, false, (isset($objattr['maxlength']) ? $objattr['maxlength'] : false), $js, (isset($objattr['background-col']) ? $objattr['background-col'] : false), (isset($objattr['border-col']) ? $objattr['border-col'] : false)); 226 $w -= $this->form_element_spacing['input']['outer']['h'] * 2 / $k; 230 // Chop texto to max length $w-inner-padding 231 while ($this->mpdf->GetStringWidth($texto) > $w - ($this->form_element_spacing['input']['inner']['h'] * 2)) { 258 $this->mpdf->Cell($w, $h, $texto, 1, 0, $rtlalign, 1, '', 0, $this->form_element_spacing['input']['inner']['h'] / $k, $this->form_element_spacing['input']['inner']['h'] / $k, 'M', 0, false, $OTLdata); 264 function print_ob_textarea($objattr, $w, $h, $texto, $rtlalign, $k, $blockdir) 312 $this->SetFormText($w, $h, $objattr['fieldname'], $texto, $texto, (isset($objattr['title']) ? $objattr['title'] : ''), $flags, $fieldalign, false, -1, $js, (isset($objattr['background-col']) ? $objattr['background-col'] : false), (isset($objattr['border-col']) ? $objattr['border-col'] : false)); 315 $w -= $this->form_element_spacing['textarea']['outer']['h'] * 2 / $k; 330 $this->mpdf->Rect($this->mpdf->x, $this->mpdf->y, $w, 165 print_ob_text($objattr, $w, $h, $texto, $rtlalign, $k, $blockdir) global() argument 266 print_ob_textarea($objattr, $w, $h, $texto, $rtlalign, $k, $blockdir) global() argument 349 print_ob_select($objattr, $w, $h, $texto, $rtlalign, $k, $blockdir) global() argument 451 print_ob_imageinput($objattr, $w, $h, $texto, $rtlalign, $k, $blockdir, $is_table) global() argument 475 print_ob_button($objattr, $w, $h, $texto, $rtlalign, $k, $blockdir) global() argument 541 print_ob_checkbox($objattr, $w, $h, $texto, $rtlalign, $k, $blockdir, $x, $y) global() argument 593 print_ob_radio($objattr, $w, $h, $texto, $rtlalign, $k, $blockdir, $x, $y) global() argument 839 SetFormText($w, $h, $name, $value = '', $default = '', $title = '', $flags = [], $align = 'L', $hidden = false, $maxlen = 1, $js = '', $background_col = false, $border_col = false) global() argument 940 SetFormChoice($w, $h, $name, $flags, $array, $align = 'L', $js = '') global() argument 1014 SetCheckBox($w, $h, $name, $value, $title = '', $checked = false, $flags = [], $disabled = false) global() argument 1021 SetRadio($w, $h, $name, $value, $title = '', $checked = false, $flags = [], $disabled = false) global() argument 1027 SetFormReset($w, $h, $name, $value = 'Reset', $title = '', $flags = [], $background_col = false, $border_col = false, $noprint = false) global() argument 1036 SetJSButton($w, $h, $name, $value, $js, $image_id = 0, $title = '', $flags = [], $indexed = false, $background_col = false, $border_col = false, $noprint = false) global() argument 1053 SetFormSubmit($w, $h, $name, $value = 'Submit', $url = '', $title = '', $typ = 'html', $method = 'POST', $flags = [], $background_col = false, $border_col = false, $noprint = false) global() argument 1298 _form_rect($x, $y, $w, $h, $hPt) global() argument 1308 _put_button_icon($array, $w, $h) global() argument [all...] |