PluginProbe
WCPOS – Point of Sale (POS) plugin for WooCommerce / 1.10.20
WCPOS – Point of Sale (POS) plugin for WooCommerce v1.10.20
1.10.20 1.10.19 1.10.18 1.10.17 1.10.16 1.10.15 1.10.13 1.10.14 1.10.12 1.10.11 1.10.10 1.10.9 1.10.8 untagged-3d9b7ccddc54df87c672 1.10.7 1.10.6 1.10.5 1.10.3 1.10.4 1.10.2 1.10.1 1.10.0 1.9.17 1.9.15 1.9.16 All 164 releases
woocommerce-pos / vendor_prefixed / dompdf / dompdf / src / Renderer / TableRow.php

TableRow.php in WCPOS – Point of Sale (POS) plugin for WooCommerce 1.10.20, at vendor_prefixed/dompdf/dompdf/src/Renderer/TableRow.php

36 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 /**
4 * @package dompdf
5 * @link https://github.com/dompdf/dompdf
6 * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
7 */
8 namespace WCPOS\Vendor\Dompdf\Renderer;
9
10 use WCPOS\Vendor\Dompdf\Frame;
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 $this->_set_opacity($frame->get_opacity($style->opacity));
24 $border_box = $frame->get_border_box();
25 // FIXME: Render background onto the area consisting of all spanned
26 // cells. In the separated border model, the border-spacing area should
27 // be left out. Currently, the background is inherited by the table
28 // cells instead, which does not handle transparent backgrounds and
29 // background images correctly.
30 // See https://www.w3.org/TR/CSS21/tables.html#table-layers
31 $this->_render_outline($frame, $border_box);
32 $this->addNamedDest($node);
33 $this->addHyperlink($node, $border_box);
34 }
35 }
36