Lines Matching refs:properties

39 				$properties = $this->cssManager->readInlineCSS($attr['HEADER-STYLE']);
41 $properties = $this->cssManager->readInlineCSS($attr['FOOTER-STYLE']);
43 if (isset($properties['FONT-FAMILY'])) {
44 $p['L']['font-family'] = $properties['FONT-FAMILY'];
45 $p['C']['font-family'] = $properties['FONT-FAMILY'];
46 $p['R']['font-family'] = $properties['FONT-FAMILY'];
48 if (isset($properties['FONT-SIZE'])) {
49 $p['L']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
50 $p['C']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
51 $p['R']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
53 if (isset($properties['FONT-WEIGHT']) && $properties['FONT-WEIGHT'] === 'bold') {
58 if (isset($properties['FONT-STYLE']) && $properties['FONT-STYLE'] === 'italic') {
63 if (isset($properties['COLOR'])) {
64 $p['L']['color'] = $properties['COLOR'];
65 $p['C']['color'] = $properties['COLOR'];
66 $p['R']['color'] = $properties['COLOR'];
71 $properties = $this->cssManager->readInlineCSS($attr['HEADER-STYLE-LEFT']);
73 $properties = $this->cssManager->readInlineCSS($attr['FOOTER-STYLE-LEFT']);
75 if (isset($properties['FONT-FAMILY'])) {
76 $p['L']['font-family'] = $properties['FONT-FAMILY'];
78 if (isset($properties['FONT-SIZE'])) {
79 $p['L']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
81 if (isset($properties['FONT-WEIGHT']) && $properties['FONT-WEIGHT'] === 'bold') {
84 if (isset($properties['FONT-STYLE']) && $properties['FONT-STYLE'] === 'italic') {
87 if (isset($properties['COLOR'])) {
88 $p['L']['color'] = $properties['COLOR'];
93 $properties = $this->cssManager->readInlineCSS($attr['HEADER-STYLE-CENTER']);
95 $properties = $this->cssManager->readInlineCSS($attr['FOOTER-STYLE-CENTER']);
97 if (isset($properties['FONT-FAMILY'])) {
98 $p['C']['font-family'] = $properties['FONT-FAMILY'];
100 if (isset($properties['FONT-SIZE'])) {
101 $p['C']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
103 if (isset($properties['FONT-WEIGHT']) && $properties['FONT-WEIGHT'] === 'bold') {
106 if (isset($properties['FONT-STYLE']) && $properties['FONT-STYLE'] === 'italic') {
109 if (isset($properties['COLOR'])) {
110 $p['C']['color'] = $properties['COLOR'];
115 $properties = $this->cssManager->readInlineCSS($attr['HEADER-STYLE-RIGHT']);
117 $properties = $this->cssManager->readInlineCSS($attr['FOOTER-STYLE-RIGHT']);
119 if (isset($properties['FONT-FAMILY'])) {
120 $p['R']['font-family'] = $properties['FONT-FAMILY'];
122 if (isset($properties['FONT-SIZE'])) {
123 $p['R']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
125 if (isset($properties['FONT-WEIGHT']) && $properties['FONT-WEIGHT'] === 'bold') {
128 if (isset($properties['FONT-STYLE']) && $properties['FONT-STYLE'] === 'italic') {
131 if (isset($properties['COLOR'])) {
132 $p['R']['color'] = $properties['COLOR'];