Lines Matching refs:this

63         $this->pageObject = $page;
64 $this->parser = $parser;
68 * Get the indirect object of this page.
74 return $this->pageObject;
78 * Get the dictionary of this page.
87 if (null === $this->pageDictionary) {
88 $this->pageDictionary = PdfDictionary::ensure(PdfType::resolve($this->getPageObject(), $this->parser));
91 return $this->pageDictionary;
106 $dict = $this->getPageDictionary();
114 if ($this->inheritedAttributes === null) {
115 $this->inheritedAttributes = [];
121 $parentDict = PdfType::resolve(PdfDictionary::get($dict, 'Parent'), $this->parser);
125 $this->inheritedAttributes[$key] = $parentDict->value[$key];
132 $parentDict = PdfType::resolve(PdfDictionary::get($parentDict, 'Parent'), $this->parser);
140 if (isset($this->inheritedAttributes[$name])) {
141 return $this->inheritedAttributes[$name];
158 $rotation = $this->getAttribute('Rotate');
163 $rotation = PdfNumeric::ensure(PdfType::resolve($rotation, $this->parser))->value % 360;
173 * Get a boundary of this page.
185 $value = $this->getAttribute($box);
188 return Rectangle::byPdfArray($value, $this->parser);
199 return $this->getBoundary(PageBoundaries::CROP_BOX, true);
201 return $this->getBoundary(PageBoundaries::MEDIA_BOX, true);
208 * Get the width and height of this page.
219 $boundary = $this->getBoundary($box, $fallback);
224 $rotation = $this->getRotation();
244 $dict = $this->getPageDictionary();
245 $contents = PdfType::resolve(PdfDictionary::get($dict, 'Contents'), $this->parser);
253 $content = PdfType::resolve($content, $this->parser);