Home
last modified time | relevance | path

Searched refs:page_heights (Results 1 – 13 of 13) sorted by relevance

/plugin/html2pdf/html2pdf/html2ps/unittest/
H A Dtest.pagebreak.php13 $page_heights = PageBreakLocator::getPages($tree,
20 $this->assertEqual(count($page_heights), 2,
26 $page_heights[0],
29 $this->assertEqual($page_heights[1],
32 $page_heights[1],
35 $this->assertWithinMargin($page_heights[0],
45 $page_heights[1],
66 $this->assertEqual(count($page_heights), 2,
70 $this->assertWithinMargin($page_heights[0],
137 $this->assertEqual(count($page_heights), 2,
[all …]
H A Dtest.widows.php34 $page_heights = PageBreakLocator::getPages($tree,
41 $this->assertEqual(count($page_heights), 2,
43 count($page_heights)));
45 $this->assertWithinMargin($page_heights[0],
79 $page_heights = PageBreakLocator::getPages($tree,
86 $this->assertEqual(count($page_heights), 2,
88 count($page_heights)));
90 $this->assertWithinMargin($page_heights[0],
124 $page_heights = PageBreakLocator::getPages($tree,
131 $this->assertEqual(count($page_heights), 2,
[all …]
H A Dtest.orphans.php33 $page_heights = PageBreakLocator::getPages($tree,
40 $this->assertEqual(count($page_heights), 2,
42 count($page_heights)));
46 $this->assertWithinMargin($page_heights[0],
80 $page_heights = PageBreakLocator::getPages($tree,
87 $this->assertEqual(count($page_heights), 2,
89 count($page_heights)));
93 $this->assertWithinMargin($page_heights[0],
127 $page_heights = PageBreakLocator::getPages($tree,
134 $this->assertEqual(count($page_heights), 2,
[all …]
H A Dtest.pagebreak.border.php32 $page_heights = PageBreakLocator::getPages($tree,
39 $this->assertEqual(count($page_heights), 2,
41 count($page_heights)));
42 $this->assertEqual($page_heights[0],
74 $page_heights = PageBreakLocator::getPages($tree,
81 $this->assertEqual(count($page_heights), 2,
83 count($page_heights)));
84 $this->assertEqual($page_heights[0],
H A Dtest.pagebreak.fixed.height.php9 $page_heights = PageBreakLocator::getPages($tree,
15 $this->assertEqual(count($page_heights), 2,
17 count($page_heights)));
18 $this->assertEqual($page_heights[0],
H A Dtest.pagebreak.table.lines.php90 $page_heights = PageBreakLocator::getPages($tree,
94 $this->assertEqual(count($page_heights), 2,
96 count($page_heights)));
97 $this->assertEqual($page_heights[0],
H A Dtest.css.page.break.after.php13 $page_heights = PageBreakLocator::getPages($tree,
17 $this->assertEqual(count($page_heights), 2);
22 $this->assertEqual($page_heights[0], $div->get_full_height());
/plugin/html2pdf/html2pdf/html2ps/
H A Dstrategy.page.break.simple.php9 $page_heights = array();
11 $page_heights[] = mm2pt($media->real_height());
14 return $page_heights;
H A Dstrategy.page.break.smart.php8 $page_heights = PageBreakLocator::get_pages($box,
12 return $page_heights;
H A Dbox.generic.php285 function &make_anchor(&$media, $link_destination, $page_heights) { argument
287 $pages_count = count($page_heights);
290 $bottom -= $page_heights[$page_index];
305 …$y = ($this->get_top() - $bottom) + (mm2pt($media->real_height()) - $page_heights[$page_index-1]) …
314 function reflow_anchors(&$driver, &$anchors, $page_heights) { argument
321 …anchors[$link_destination] =& $this->make_anchor($driver->media, $link_destination, $page_heights);
H A Dpipeline.class.php817 $page_heights = $this->calculate_page_heights($media, $box);
820 $box->reflow_anchors($this->output_driver, $this->output_driver->anchors, $page_heights);
824 'page-heights' => &$page_heights,
827 $expected_pages = count($page_heights);
839 $current_page_offset = $i == 0 ? 0 : $page_heights[$i-1];
840 $current_page_height = $page_heights[$i];
H A Dbox.container.php845 function reflow_anchors(&$viewport, &$anchors, $page_heights) { argument
846 GenericFormattedBox::reflow_anchors($viewport, $anchors, $page_heights);
850 $this->content[$i]->reflow_anchors($viewport, $anchors, $page_heights);
/plugin/html2pdf/html2pdf/html2ps/features/
H A Dtoc.php25 $page_heights =& $params['page-heights'];
28 $this->update_page_numbers($toc, $pipeline, $document, $page_heights, $media);
45 function guess_page(&$element, $page_heights, &$media) { argument
49 $bottom -= $page_heights[$page_index];
123 function update_page_numbers(&$toc, &$pipeline, &$document, &$page_heights, &$media) { argument
128 …$toc_element->content[0]->content[0]->words[0] = $this->guess_page($element, $page_heights, $media…