Lines Matching defs:box
224 * @param string $box The page boundary to import. Default set to PageBoundaries::CROP_BOX.
234 public function importPage($pageNumber, $box = PageBoundaries::CROP_BOX, $groupXObject = true)
246 $box = \ltrim($box, '/');
247 if (!PageBoundaries::isValidName($box)) {
249 \sprintf('Box name is invalid: "%s"', $box)
253 $pageId .= '|' . $box;
262 $bbox = $page->getBoundary($box);
265 \sprintf("Page doesn't have a boundary box (%s).", $box),
289 list($width, $height) = $page->getWidthAndHeight($box);