Lines Matching +full:x +full:- +full:view
7 * @license http://opensource.org/licenses/mit-license The MIT License
38 $this->cleanUp();
44 … one of the size parameters (width, height) to calculate the other one automatically in view to the
48 …* @param float|int|array $x The abscissa of upper-left corner. Alternatively you could use an asso…
49 * with the keys "x", "y", "width", "height", "adjustPageSize".
50 * @param float|int $y The ordinate of upper-left corner.
57 …public function useTemplate($tpl, $x = 0, $y = 0, $width = null, $height = null, $adjustPageSize =… argument
59 if (isset($this->importedPages[$tpl])) {
60 $size = $this->useImportedPage($tpl, $x, $y, $width, $height, $adjustPageSize);
61 if ($this->currentTemplateId !== null) {
62 …$this->templates[$this->currentTemplateId]['resources']['templates']['importedPages'][$tpl] = $tpl;
67 return parent::useTemplate($tpl, $x, $y, $width, $height, $adjustPageSize);
73 … one of the size parameters (width, height) to calculate the other one automatically in view to the
85 return $this->getImportedPageSize($tpl, $width, $height);
98 $this->currentReaderId = null;
101 foreach ($this->importedPages as $key => $pageData) {
102 $this->_newobj();
103 $this->importedPages[$key]['objectNumber'] = $this->n;
104 $this->currentReaderId = $pageData['readerId'];
105 $this->writePdfType($pageData['stream']);
106 $this->_put('endobj');
109 foreach (\array_keys($this->readers) as $readerId) {
110 $parser = $this->getPdfReader($readerId)->getParser();
111 $this->currentReaderId = $readerId;
113 while (($objectNumber = \array_pop($this->objectsToCopy[$readerId])) !== null) {
115 $object = $parser->getIndirectObject($objectNumber);
118 if ($e->getCode() === CrossReferenceException::OBJECT_NOT_FOUND) {
125 $this->writePdfType($object);
129 $this->currentReaderId = null;
137 foreach ($this->importedPages as $key => $pageData) {
138 $this->_put('/' . $pageData['id'] . ' ' . $pageData['objectNumber'] . ' 0 R');
150 $this->buffer .= $s . "\n";
152 $this->buffer .= $s;