Lines Matching refs:location

14   function FootnoteLocation($location, $content_height) {  argument
15 $this->_location = $location;
29 if ($a->location == $b->location) { return 0; };
30 return ($a->location > $b->location) ? -1 : 1;
34 var $location; variable in PageBreakLocation
37 function PageBreakLocation($location, $penalty) { argument
38 $this->location = round($location,2);
42 function get_footnotes_height($footnotes, $page_start, $location) { argument
53 while ($i < $size && $footnotes[$i]->get_location() > $location) {
74 … $this->location));
85 $current_height = $page_start - $this->location;
177 foreach ($locations as $location) {
178 if ($location->location < $current_page_top) {
180 $best_location = $location;
183 $current_pos = round_units($current_page_top - $location->location);
184 …t = round_units($max_page_height - $location->get_footnotes_height($footnotes, $current_page_top, …
198 $heights[] = $current_page_top - $best_location->location;
199 $current_page_top = $best_location->location;
204 … $location_penalty = $location->get_penalty($current_page_top, $max_page_height, $footnotes);
211 $best_location = $location;
215 if ($location->penalty < 0) { // Forced page break
216 $heights[] = $current_page_top - $location->location;
217 $current_page_top = $location->location;
267 $location = new PageBreakLocation($box->get_top_margin(), FORCED_PAGE_BREAK_BONUS);
269 …$location = new PageBreakLocation($box->get_top_margin(), $penalty + PAGE_BREAK_AFTER_AVOID_PENALT…
271 …$location = new PageBreakLocation($box->get_top_margin(), $penalty + PAGE_BREAK_BEFORE_AVOID_PENAL…
273 $location = new PageBreakLocation($box->get_top_margin(), $penalty);
275 $locations[] = $location;
281 $location = new PageBreakLocation($box->get_bottom_margin(), FORCED_PAGE_BREAK_BONUS);
283 …$location = new PageBreakLocation($box->get_bottom_margin(), $penalty + PAGE_BREAK_AFTER_AVOID_PEN…
285 …$location = new PageBreakLocation($box->get_bottom_margin(), $penalty + PAGE_BREAK_AFTER_AVOID_PEN…
287 $location = new PageBreakLocation($box->get_bottom_margin(), $penalty);
289 $locations[] = $location;
418 if ($current_row_location->location < $current_cell_content_watermark) {
426 if ($current_child_location->location == $current_row_location->location) {
427 $new_row_locations[] = new PageBreakLocation($current_child_location->location,
443 if ($current_child_location->location < $content_watermark) {
444 $new_row_locations[] = new PageBreakLocation($current_child_location->location,
620 foreach ($locations_ungrouped as $location) {
621 if ($last_location->location != $location->location) {
623 $last_location = $location;
625 if ($last_location->penalty >= 0 && $location->penalty >= 0) {
626 $last_location->penalty = max($last_location->penalty, $location->penalty);
628 $last_location->penalty = min($last_location->penalty, $location->penalty);