X7ROOT File Manager
Current Path:
/home/gfecatvj/sites/restate/vendor/dompdf/dompdf/src/FrameDecorator
home
/
gfecatvj
/
sites
/
restate
/
vendor
/
dompdf
/
dompdf
/
src
/
FrameDecorator
/
📁
..
📄
AbstractFrameDecorator.php
(21.21 KB)
📄
Block.php
(7.7 KB)
📄
Image.php
(2.27 KB)
📄
Inline.php
(3.19 KB)
📄
ListBullet.php
(2.12 KB)
📄
ListBulletImage.php
(4.66 KB)
📄
NullFrameDecorator.php
(774 B)
📄
Page.php
(20.93 KB)
📄
Table.php
(10.99 KB)
📄
TableCell.php
(3.34 KB)
📄
TableRow.php
(1.62 KB)
📄
TableRowGroup.php
(1.69 KB)
📄
Text.php
(5.56 KB)
Editing: TableRow.php
<?php /** * @package dompdf * @link http://dompdf.github.com/ * @author Benj Carson <benjcarson@digitaljunkies.ca> * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License */ namespace Dompdf\FrameDecorator; use Dompdf\Dompdf; use Dompdf\Frame; use Dompdf\FrameDecorator\Table as TableFrameDecorator; /** * Decorates Frames for table row layout * * @package dompdf */ class TableRow extends AbstractFrameDecorator { /** * TableRow constructor. * @param Frame $frame * @param Dompdf $dompdf */ function __construct(Frame $frame, Dompdf $dompdf) { parent::__construct($frame, $dompdf); } //........................................................................ /** * Remove all non table-cell frames from this row and move them after * the table. */ function normalise() { // Find our table parent $p = TableFrameDecorator::find_parent_table($this); $erroneous_frames = []; foreach ($this->get_children() as $child) { $display = $child->get_style()->display; if ($display !== "table-cell") { $erroneous_frames[] = $child; } } // dump the extra nodes after the table. foreach ($erroneous_frames as $frame) { $p->move_after($frame); } } function split(Frame $child = null, $force_pagebreak = false) { $this->_already_pushed = true; if (is_null($child)) { parent::split(); return; } parent::split($child, $force_pagebreak); } }
Upload File
Create Folder