Lines Matching refs:mpdf

12 		$this->mpdf->lastoptionaltag = ''; // Save current HTML specified optional endtag
13 $this->mpdf->InlineProperties['SELECT'] = $this->mpdf->saveInlineProperties();
16 $this->mpdf->SetFont($properties['FONT-FAMILY'], $this->mpdf->FontStyle, 0, false);
19 $mmsize = $this->sizeConverter->convert($properties['FONT-SIZE'], $this->mpdf->default_font_size / Mpdf::SCALE);
20 $this->mpdf->SetFontSize($mmsize * Mpdf::SCALE, false);
23 $this->mpdf->selectoption['SPELLCHECK'] = true;
27 $this->mpdf->selectoption['COLOR'] = $this->colorConverter->convert($properties['COLOR'], $this->mpdf->PDFAXwarnings);
29 $this->mpdf->specialcontent = 'type=select';
31 $this->mpdf->selectoption['DISABLED'] = $attr['DISABLED'];
34 $this->mpdf->selectoption['READONLY'] = $attr['READONLY'];
37 $this->mpdf->selectoption['REQUIRED'] = $attr['REQUIRED'];
40 $this->mpdf->selectoption['EDITABLE'] = $attr['EDITABLE'];
43 $this->mpdf->selectoption['TITLE'] = $attr['TITLE'];
46 $this->mpdf->selectoption['MULTIPLE'] = $attr['MULTIPLE'];
49 $this->mpdf->selectoption['SIZE'] = $attr['SIZE'];
51 if ($this->mpdf->useActiveForms) {
53 $this->mpdf->selectoption['NAME'] = $attr['NAME'];
56 $this->mpdf->selectoption['ONCHANGE'] = $attr['ONCHANGE'];
63 $this->mpdf->ignorefollowingspaces = false;
64 $this->mpdf->lastoptionaltag = '';
67 if (isset($this->mpdf->selectoption['SELECTED'])) {
68 $texto = $this->mpdf->selectoption['SELECTED'];
70 if (isset($this->mpdf->selectoption['SELECTED-OTLDATA'])) {
71 $OTLdata = $this->mpdf->selectoption['SELECTED-OTLDATA'];
74 if ($this->mpdf->useActiveForms) {
75 $w = $this->mpdf->selectoption['MAXWIDTH'];
77 $w = $this->mpdf->GetStringWidth($texto, true, $OTLdata);
85 if (isset($this->mpdf->selectoption['NAME'])) {
86 $objattr['fieldname'] = $this->mpdf->selectoption['NAME'];
88 if (isset($this->mpdf->selectoption['READONLY'])) {
91 if (isset($this->mpdf->selectoption['REQUIRED'])) {
94 if (isset($this->mpdf->selectoption['SPELLCHECK'])) {
97 if (isset($this->mpdf->selectoption['EDITABLE'])) {
100 if (isset($this->mpdf->selectoption['ONCHANGE'])) {
101 $objattr['onChange'] = $this->mpdf->selectoption['ONCHANGE'];
103 if (isset($this->mpdf->selectoption['ITEMS'])) {
104 $objattr['items'] = $this->mpdf->selectoption['ITEMS'];
106 if (isset($this->mpdf->selectoption['MULTIPLE'])) {
107 $objattr['multiple'] = $this->mpdf->selectoption['MULTIPLE'];
109 if (isset($this->mpdf->selectoption['DISABLED'])) {
110 $objattr['disabled'] = $this->mpdf->selectoption['DISABLED'];
112 if (isset($this->mpdf->selectoption['TITLE'])) {
113 $objattr['title'] = $this->mpdf->selectoption['TITLE'];
115 if (isset($this->mpdf->selectoption['COLOR'])) {
116 $objattr['color'] = $this->mpdf->selectoption['COLOR'];
118 if (isset($this->mpdf->selectoption['SIZE'])) {
119 $objattr['size'] = $this->mpdf->selectoption['SIZE'];
126 $objattr['fontfamily'] = $this->mpdf->FontFamily;
127 $objattr['fontsize'] = $this->mpdf->FontSizePt;
130 + ($this->form->form_element_spacing['select']['inner']['h'] * 2) + ($this->mpdf->FontSize * 1.4);
132 $objattr['height'] = ($this->mpdf->FontSize * $rows) + ($this->form->form_element_spacing['select']['outer']['v'] * 2)
138 if ($this->mpdf->tableLevel) { // *TABLES*
139 $this->mpdf->_saveCellTextBuffer($e, $this->mpdf->HREF);
140 $this->mpdf->cell[$this->mpdf->row][$this->mpdf->col]['s'] += $objattr['width']; // *TABLES*
143 $this->mpdf->_saveTextBuffer($e, $this->mpdf->HREF);
146 $this->mpdf->selectoption = [];
147 $this->mpdf->specialcontent = '';
149 if ($this->mpdf->InlineProperties['SELECT']) {
150 $this->mpdf->restoreInlineProperties($this->mpdf->InlineProperties['SELECT']);
152 unset($this->mpdf->InlineProperties['SELECT']);