/plugin/html2pdf/html2pdf/html2ps/unittest/ |
H A D | test.pagebreak.php | 13 $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 D | test.widows.php | 34 $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 D | test.orphans.php | 33 $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 D | test.pagebreak.border.php | 32 $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 D | test.pagebreak.fixed.height.php | 9 $page_heights = PageBreakLocator::getPages($tree, 15 $this->assertEqual(count($page_heights), 2, 17 count($page_heights))); 18 $this->assertEqual($page_heights[0],
|
H A D | test.pagebreak.table.lines.php | 90 $page_heights = PageBreakLocator::getPages($tree, 94 $this->assertEqual(count($page_heights), 2, 96 count($page_heights))); 97 $this->assertEqual($page_heights[0],
|
H A D | test.css.page.break.after.php | 13 $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 D | strategy.page.break.simple.php | 9 $page_heights = array(); 11 $page_heights[] = mm2pt($media->real_height()); 14 return $page_heights;
|
H A D | strategy.page.break.smart.php | 8 $page_heights = PageBreakLocator::get_pages($box, 12 return $page_heights;
|
H A D | box.generic.php | 285 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 D | pipeline.class.php | 817 $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 D | box.container.php | 845 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 D | toc.php | 25 $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…
|