%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;
// TODO: Extend THEAD instead?
class TFoot extends Tag
{
public function open($attr, &$ahtml, &$ihtml)
{
$this->mpdf->lastoptionaltag = 'TFOOT'; // Save current HTML specified optional endtag
$this->cssManager->tbCSSlvl++;
$this->mpdf->tabletfoot = 1;
$this->mpdf->tablethead = 0;
$properties = $this->cssManager->MergeCSS('TABLE', 'TFOOT', $attr);
if (isset($properties['FONT-WEIGHT'])) {
$this->mpdf->tfoot_font_weight = '';
if (strtoupper($properties['FONT-WEIGHT']) === 'BOLD') {
$this->mpdf->tfoot_font_weight = 'B';
}
}
if (isset($properties['FONT-STYLE'])) {
$this->mpdf->tfoot_font_style = '';
if (strtoupper($properties['FONT-STYLE']) === 'ITALIC') {
$this->mpdf->tfoot_font_style = 'I';
}
}
if (isset($properties['FONT-VARIANT'])) {
$this->mpdf->tfoot_font_smCaps = '';
if (strtoupper($properties['FONT-VARIANT']) === 'SMALL-CAPS') {
$this->mpdf->tfoot_font_smCaps = 'S';
}
}
if (isset($properties['VERTICAL-ALIGN'])) {
$this->mpdf->tfoot_valign_default = $properties['VERTICAL-ALIGN'];
}
if (isset($properties['TEXT-ALIGN'])) {
$this->mpdf->tfoot_textalign_default = $properties['TEXT-ALIGN'];
}
}
public function close(&$ahtml, &$ihtml)
{
$this->mpdf->lastoptionaltag = '';
unset($this->cssManager->tablecascadeCSS[$this->cssManager->tbCSSlvl]);
$this->cssManager->tbCSSlvl--;
$this->mpdf->tabletfoot = 0;
$this->mpdf->ResetStyles();
$this->mpdf->tfoot_font_weight = '';
$this->mpdf->tfoot_font_style = '';
$this->mpdf->tfoot_font_smCaps = '';
$this->mpdf->tfoot_valign_default = '';
$this->mpdf->tfoot_textalign_default = '';
}
}