芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/mctv/vendor/mpdf/mpdf/src/Tag/Tag.php
'L', 'center' => 'C', 'right' => 'R', 'top' => 'T', 'text-top' => 'TT', 'middle' => 'M', 'baseline' => 'BS', 'bottom' => 'B', 'text-bottom' => 'TB', 'justify' => 'J' ]; public function __construct( Mpdf $mpdf, Cache $cache, CssManager $cssManager, Form $form, Otl $otl, TableOfContents $tableOfContents, SizeConverter $sizeConverter, ColorConverter $colorConverter, ImageProcessor $imageProcessor, LanguageToFontInterface $languageToFont ) { $this->mpdf = $mpdf; $this->cache = $cache; $this->cssManager = $cssManager; $this->form = $form; $this->otl = $otl; $this->tableOfContents = $tableOfContents; $this->sizeConverter = $sizeConverter; $this->colorConverter = $colorConverter; $this->imageProcessor = $imageProcessor; $this->languageToFont = $languageToFont; } public function getTagName() { $tag = get_class($this); return strtoupper(str_replace('Mpdf\Tag\\', '', $tag)); } protected function getAlign($property) { $property = strtolower($property); return array_key_exists($property, self::ALIGN) ? self::ALIGN[$property] : ''; } abstract public function open($attr, &$ahtml, &$ihtml); abstract public function close(&$ahtml, &$ihtml); }