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

56         $this->cleanUp();
66 return $this->templateId++;
72 … one of the size parameters (width, height) to calculate the other one automatically in view to the
76 …* @param float|int|array $x The abscissa of upper-left corner. Alternatively you could use an asso…
77 * with the keys "x", "y", "width", "height", "adjustPageSize".
78 * @param float|int $y The ordinate of upper-left corner.
85 …public function useTemplate($tpl, $x = 0, $y = 0, $width = null, $height = null, $adjustPageSize =… argument
87 return $this->useImportedPage($tpl, $x, $y, $width, $height, $adjustPageSize);
93 … one of the size parameters (width, height) to calculate the other one automatically in view to the
97 …* @param float|int|array $x The abscissa of upper-left corner. Alternatively you could use an asso…
98 * with the keys "x", "y", "width", "height", "adjustPageSize".
99 * @param float|int $y The ordinate of upper-left corner.
106 …public function useImportedPage($pageId, $x = 0, $y = 0, $width = null, $height = null, $adjustPag… argument
108 $size = $this->fpdiUseImportedPage($pageId, $x, $y, $width, $height, $adjustPageSize);
109 if ($this->inxobj) {
110 $importedPage = $this->importedPages[$pageId];
111 $this->xobjects[$this->xobjid]['importedPages'][$importedPage['id']] = $pageId;
120 … one of the size parameters (width, height) to calculate the other one automatically in view to the
130 return $this->getImportedPageSize($tpl, $width, $height);
140 foreach ($this->importedPages as $key => $pageData) {
154 foreach ($this->importedPages as $key => $pageData) {
155 $this->currentObjectNumber = $this->_newobj();
156 $this->importedPages[$key]['objectNumber'] = $this->currentObjectNumber;
157 $this->currentReaderId = $pageData['readerId'];
158 $this->writePdfType($pageData['stream']);
159 $this->_put('endobj');
162 foreach (\array_keys($this->readers) as $readerId) {
163 $parser = $this->getPdfReader($readerId)->getParser();
164 $this->currentReaderId = $readerId;
166 while (($objectNumber = \array_pop($this->objectsToCopy[$readerId])) !== null) {
168 $object = $parser->getIndirectObject($objectNumber);
171 if ($e->getCode() === CrossReferenceException::OBJECT_NOT_FOUND) {
178 $this->writePdfType($object);
183 foreach ($this->xobjects as $xObjectId => $data) {
189 $page = $this->importedPages[$pageKey];
190 $this->xobjects[$xObjectId]['xobjects'][$id] = ['n' => $page['objectNumber']];
196 $this->currentObjectNumber = null;
208 $this->setBuffer($s . "\n");
210 $this->setBuffer($s);
222 $this->_out($this->_getobj($objid));
223 return $this->n;
234 if (!$this->encrypted) {
235 $this->fpdiWritePdfType($value);
240 $string = PdfString::unescape($value->value);
241 $string = $this->_encrypt_data($this->currentObjectNumber, $string);
242 $value->value = \TCPDF_STATIC::_escape($string);
246 $string = $filter->decode($value->value);
247 $string = $this->_encrypt_data($this->currentObjectNumber, $string);
248 $value->value = $filter->encode($string, true);
251 $stream = $value->getStream();
252 $stream = $this->_encrypt_data($this->currentObjectNumber, $stream);
253 $dictionary = $value->value;
254 $dictionary->value['Length'] = PdfNumeric::create(\strlen($stream));
261 … $this->currentObjectNumber = $this->objectMap[$this->currentReaderId][$value->objectNumber];
264 $this->fpdiWritePdfType($value);