Lines Matching +full:x +full:- +full:view

7  * @license   http://opensource.org/licenses/mit-license The MIT License
39 $this->cleanUp();
45 … one of the size parameters (width, height) to calculate the other one automatically in view to the
49 …* @param float|int|array $x The abscissa of upper-left corner. Alternatively you could use an asso…
50 * with the keys "x", "y", "width", "height", "adjustPageSize".
51 * @param float|int $y The ordinate of upper-left corner.
58 …public function useTemplate($tpl, $x = 0, $y = 0, $width = null, $height = null, $adjustPageSize =… argument
60 if (isset($this->importedPages[$tpl])) {
61 $size = $this->useImportedPage($tpl, $x, $y, $width, $height, $adjustPageSize);
62 if ($this->currentTemplateId !== null) {
63 …$this->templates[$this->currentTemplateId]['resources']['templates']['importedPages'][$tpl] = $tpl;
68 return parent::useTemplate($tpl, $x, $y, $width, $height, $adjustPageSize);
74 … one of the size parameters (width, height) to calculate the other one automatically in view to the
86 return $this->getImportedPageSize($tpl, $width, $height);
99 $this->currentReaderId = null;
102 foreach ($this->importedPages as $key => $pageData) {
103 $this->_newobj();
104 $this->importedPages[$key]['objectNumber'] = $this->n;
105 $this->currentReaderId = $pageData['readerId'];
106 $this->writePdfType($pageData['stream']);
107 $this->_put('endobj');
110 foreach (\array_keys($this->readers) as $readerId) {
111 $parser = $this->getPdfReader($readerId)->getParser();
112 $this->currentReaderId = $readerId;
114 while (($objectNumber = \array_pop($this->objectsToCopy[$readerId])) !== null) {
116 $object = $parser->getIndirectObject($objectNumber);
119 if ($e->getCode() === CrossReferenceException::OBJECT_NOT_FOUND) {
126 $this->writePdfType($object);
130 $this->currentReaderId = null;
138 foreach ($this->importedPages as $key => $pageData) {
139 $this->_put('/' . $pageData['id'] . ' ' . $pageData['objectNumber'] . ' 0 R');
151 $this->buffer .= $s . "\n";
153 $this->buffer .= $s;