source: trunk/client/inc/hpdf5/spipu/html2pdf/src/Tag/Html/Sub.php@ 347

Last change on this file since 347 was 347, checked in by roby, 3 years ago

Aggiornamento per compatibilità con php7.4

File size: 722 bytes
Line 
1<?php
2/**
3 * Html2Pdf Library - Tag class
4 *
5 * HTML => PDF converter
6 * distributed under the OSL-3.0 License
7 *
8 * @package Html2pdf
9 * @author Laurent MINGUET <webmaster@html2pdf.fr>
10 * @copyright 2017 Laurent MINGUET
11 */
12namespace Spipu\Html2Pdf\Tag\Html;
13
14use Spipu\Html2Pdf\Tag\AbstractHtmlTag;
15
16/**
17 * Tag Sub
18 */
19class Sub extends AbstractHtmlTag
20{
21 /**
22 * @inheritdoc
23 */
24 public function getName()
25 {
26 return 'sub';
27 }
28
29 /**
30 * @inheritdoc
31 */
32 protected function overrideStyles()
33 {
34 $this->parsingCss->value['mini-decal']+= $this->parsingCss->value['mini-size']*0.15;
35 $this->parsingCss->value['mini-size'] *= 0.75;
36
37 return $this;
38 }
39}
Note: See TracBrowser for help on using the repository browser.