Lines Matching refs:objattr

18 		$objattr = [];
19 $objattr['margin_top'] = 0;
20 $objattr['margin_bottom'] = 0;
21 $objattr['margin_left'] = 0;
22 $objattr['margin_right'] = 0;
23 $objattr['width'] = 0;
24 $objattr['height'] = 0;
25 $objattr['border_top']['w'] = 0;
26 $objattr['border_bottom']['w'] = 0;
27 $objattr['border_left']['w'] = 0;
28 $objattr['border_right']['w'] = 0;
29 $objattr['type'] = 'input';
31 $objattr['disabled'] = true;
34 $objattr['readonly'] = true;
37 $objattr['required'] = true;
40 $objattr['spellcheck'] = true;
43 $objattr['title'] = $attr['TITLE'];
45 $objattr['title'] = $attr['ALT'];
47 $objattr['title'] = '';
49 $objattr['title'] = UtfString::strcode2utf($objattr['title']);
50 $objattr['title'] = $this->mpdf->lesser_entity_decode($objattr['title']);
52 $objattr['title'] = mb_convert_encoding($objattr['title'], $this->mpdf->mb_enc, 'UTF-8');
55 $objattr['fieldname'] = $attr['NAME'];
63 $objattr['value'] = $attr['VALUE'];
68 $objattr['vertical-align'] = '';
78 $objattr['color'] = $this->colorConverter->convert($properties['COLOR'], $this->mpdf->PDFAXwarnings);
80 $objattr['fontfamily'] = $this->mpdf->FontFamily;
81 $objattr['fontsize'] = $this->mpdf->FontSizePt;
84 $objattr['text_align'] = $this->getAlign($attr['ALIGN']);
86 $objattr['text_align'] = $this->getAlign($properties['TEXT-ALIGN']);
89 $objattr['border-col'] = $this->colorConverter->convert($properties['BORDER-TOP-COLOR'], $this->mpdf->PDFAXwarnings);
92 $objattr['background-col'] = $this->colorConverter->convert($properties['BACKGROUND-COLOR'], $this->mpdf->PDFAXwarnings);
108 $objattr['vertical-align'] = $this->getAlign($properties['VERTICAL-ALIGN']);
115 $this->form->SetFormText(0, 0, $objattr['fieldname'], $objattr['value'], $objattr['value'], '', 0, '', true);
126 $objattr['checked'] = true;
128 $objattr['checked'] = false;
137 $objattr['checked'] = true;
151 $objattr['margin_top'] = $this->sizeConverter->convert(
159 $objattr['margin_bottom'] = $this->sizeConverter->convert(
167 $objattr['margin_left'] = $this->sizeConverter->convert(
175 $objattr['margin_right'] = $this->sizeConverter->convert(
184 $objattr['border_top'] = $this->mpdf->border_details($properties['BORDER-TOP']);
187 $objattr['border_bottom'] = $this->mpdf->border_details($properties['BORDER-BOTTOM']);
190 $objattr['border_left'] = $this->mpdf->border_details($properties['BORDER-LEFT']);
193 $objattr['border_right'] = $this->mpdf->border_details($properties['BORDER-RIGHT']);
196 $objattr['padding_top'] = 0;
197 $objattr['padding_bottom'] = 0;
198 $objattr['padding_left'] = 0;
199 $objattr['padding_right'] = 0;
202 $objattr['vertical-align'] = $this->getAlign($properties['VERTICAL-ALIGN']);
214 $extraheight = $objattr['margin_top'] + $objattr['margin_bottom'] + $objattr['border_top']['w'] + $objattr['border_bottom']['w'];
215 $extrawidth = $objattr['margin_left'] + $objattr['margin_right'] + $objattr['border_left']['w'] + $objattr['border_right']['w'];
231 $objattr['Indexed'] = true;
233 $objattr['file'] = $srcpath;
290 $objattr['type'] = 'image';
291 $objattr['itype'] = $info['type'];
292 $objattr['orig_h'] = $info['h'];
293 $objattr['orig_w'] = $info['w'];
296 $objattr['wmf_x'] = $info['x'];
297 $objattr['wmf_y'] = $info['y'];
301 $objattr['wmf_x'] = $info['x'];
302 $objattr['wmf_y'] = $info['y'];
305 $objattr['height'] = $h + $extraheight;
306 $objattr['width'] = $w + $extrawidth;
308 $objattr['image_height'] = $h;
309 $objattr['image_width'] = $w;
310 $objattr['ID'] = $info['i'];
314 $objattr['onClick'] = $attr['ONCLICK'];
316 $objattr['type'] = 'input';
331 $objattr['noprint'] = true;
334 $objattr['value'] = ucfirst(strtolower($type));
337 $texto = ' ' . $objattr['value'] . ' ';
346 $objattr['onClick'] = $attr['ONCLICK'];
379 $objattr['maxlength'] = $attr['MAXLENGTH'];
383 $objattr['onCalculate'] = $attr['ONCALCULATE'];
385 $objattr['onCalculate'] = $attr['ONCHANGE'];
388 $objattr['onValidate'] = $attr['ONVALIDATE'];
391 $objattr['onKeystroke'] = $attr['ONKEYSTROKE'];
394 $objattr['onFormat'] = $attr['ONFORMAT'];
400 $objattr['subtype'] = $type;
401 $objattr['text'] = $texto;
402 $objattr['width'] = $width;
403 $objattr['height'] = $height;
404 $e = "\xbb\xa4\xactype=input,objattr=" . serialize($objattr) . "\xbb\xa4\xac";
410 $this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['s'] += $objattr['width'];