%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
<?php
namespace Mpdf\Tag;
use Mpdf\Utils\UtfString;
class Option extends Tag
{
public function open($attr, &$ahtml, &$ihtml)
{
$this->mpdf->lastoptionaltag = '';
$this->mpdf->selectoption['ACTIVE'] = true;
$this->mpdf->selectoption['currentSEL'] = false;
if (empty($this->mpdf->selectoption)) {
$this->mpdf->selectoption['MAXWIDTH'] = '';
$this->mpdf->selectoption['SELECTED'] = '';
}
if (isset($attr['SELECTED'])) {
$this->mpdf->selectoption['SELECTED'] = '';
$this->mpdf->selectoption['currentSEL'] = true;
}
if (isset($attr['VALUE'])) {
$attr['VALUE'] = UtfString::strcode2utf($attr['VALUE']);
$attr['VALUE'] = $this->mpdf->lesser_entity_decode($attr['VALUE']);
if ($this->mpdf->onlyCoreFonts) {
$attr['VALUE'] = mb_convert_encoding($attr['VALUE'], $this->mpdf->mb_enc, 'UTF-8');
}
}
$this->mpdf->selectoption['currentVAL'] = $attr['VALUE'];
}
public function close(&$ahtml, &$ihtml)
{
$this->mpdf->selectoption['ACTIVE'] = false;
$this->mpdf->lastoptionaltag = '';
}
}