PluginProbe
Easy Invoice – Invoice Generator, PDF Quotes & Payments / 2.4.2
Easy Invoice – Invoice Generator, PDF Quotes & Payments v2.4.2
2.4.3 2.4.4 2.4.2 2.4.0 2.4.1 2.3.8 2.3.7 2.3.6 2.3.5 2.3.4 2.3.3 2.3.2 2.3.1 2.2.0 2.1.21 2.1.20 2.1.19 2.1.18 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 All 60 releases
easy-invoice / vendor / dompdf / dompdf / src / Renderer / TableRow.php

TableRow.php in Easy Invoice – Invoice Generator, PDF Quotes & Payments 2.4.2, at vendor/dompdf/dompdf/src/Renderer/TableRow.php

41 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @package dompdf
4 * @link https://github.com/dompdf/dompdf
5 * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
6 */
7 namespace Dompdf\Renderer;
8
9 use Dompdf\Frame;
10
11 /**
12 * @package dompdf
13 */
14 class TableRow extends Block
15 {
16 /**
17 * @param Frame $frame
18 */
19 function render(Frame $frame)
20 {
21 $style = $frame->get_style();
22 $node = $frame->get_node();
23
24 $this->_set_opacity($frame->get_opacity($style->opacity));
25
26 $border_box = $frame->get_border_box();
27
28 // FIXME: Render background onto the area consisting of all spanned
29 // cells. In the separated border model, the border-spacing area should
30 // be left out. Currently, the background is inherited by the table
31 // cells instead, which does not handle transparent backgrounds and
32 // background images correctly.
33 // See https://www.w3.org/TR/CSS21/tables.html#table-layers
34
35 $this->_render_outline($frame, $border_box);
36
37 $this->addNamedDest($node);
38 $this->addHyperlink($node, $border_box);
39 }
40 }
41