芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/avenida/views/setasign.zip
PK grqYK fpdi/composer.jsonnu [ { "name": "setasign/fpdi", "homepage": "https://www.setasign.com/fpdi", "description": "FPDI is a collection of PHP classes facilitating developers to read pages from existing PDF documents and use them as templates in FPDF. Because it is also possible to use FPDI with TCPDF, there are no fixed dependencies defined. Please see suggestions for packages which evaluates the dependencies automatically.", "type": "library", "keywords": [ "pdf", "fpdi", "fpdf" ], "license": "MIT", "autoload": { "psr-4": { "setasign\\Fpdi\\": "src/" } }, "require": { "php": "^5.6 || ^7.0", "ext-zlib": "*" }, "conflict": { "setasign/tfpdf": "<1.31" }, "authors": [ { "name": "Jan Slabon", "email": "jan.slabon@setasign.com", "homepage": "https://www.setasign.com" }, { "name": "Maximilian Kresse", "email": "maximilian.kresse@setasign.com", "homepage": "https://www.setasign.com" } ], "suggest": { "setasign/fpdf": "FPDI will extend this class but as it is also possible to use TCPDF or tFPDF as an alternative. There's no fixed dependency configured." }, "require-dev": { "phpunit/phpunit": "~5.7", "setasign/fpdf": "~1.8", "tecnickcom/tcpdf": "~6.2", "setasign/tfpdf": "1.31" }, "autoload-dev": { "psr-4": { "setasign\\Fpdi\\": "tests/" } } } PK grqY˳! ! fpdi/src/Tcpdf/Fpdi.phpnu [ cleanUp(); } /** * Get the next template id. * * @return int */ protected function getNextTemplateId() { return $this->templateId++; } /** * Draws an imported page onto the page or another template. * * Give only one of the size parameters (width, height) to calculate the other one automatically in view to the * aspect ratio. * * @param mixed $tpl The template id * @param float|int|array $x The abscissa of upper-left corner. Alternatively you could use an assoc array * with the keys "x", "y", "width", "height", "adjustPageSize". * @param float|int $y The ordinate of upper-left corner. * @param float|int|null $width The width. * @param float|int|null $height The height. * @param bool $adjustPageSize * @return array The size * @see FpdiTrait::getTemplateSize() */ public function useTemplate($tpl, $x = 0, $y = 0, $width = null, $height = null, $adjustPageSize = false) { return $this->useImportedPage($tpl, $x, $y, $width, $height, $adjustPageSize); } /** * Draws an imported page onto the page. * * Give only one of the size parameters (width, height) to calculate the other one automatically in view to the * aspect ratio. * * @param mixed $pageId The page id * @param float|int|array $x The abscissa of upper-left corner. Alternatively you could use an assoc array * with the keys "x", "y", "width", "height", "adjustPageSize". * @param float|int $y The ordinate of upper-left corner. * @param float|int|null $width The width. * @param float|int|null $height The height. * @param bool $adjustPageSize * @return array The size. * @see Fpdi::getTemplateSize() */ public function useImportedPage($pageId, $x = 0, $y = 0, $width = null, $height = null, $adjustPageSize = false) { $size = $this->fpdiUseImportedPage($pageId, $x, $y, $width, $height, $adjustPageSize); if ($this->inxobj) { $importedPage = $this->importedPages[$pageId]; $this->xobjects[$this->xobjid]['importedPages'][$importedPage['id']] = $pageId; } return $size; } /** * Get the size of an imported page. * * Give only one of the size parameters (width, height) to calculate the other one automatically in view to the * aspect ratio. * * @param mixed $tpl The template id * @param float|int|null $width The width. * @param float|int|null $height The height. * @return array|bool An array with following keys: width, height, 0 (=width), 1 (=height), orientation (L or P) */ public function getTemplateSize($tpl, $width = null, $height = null) { return $this->getImportedPageSize($tpl, $width, $height); } /** * @inheritdoc */ protected function _getxobjectdict() { $out = parent::_getxobjectdict(); foreach ($this->importedPages as $key => $pageData) { $out .= '/' . $pageData['id'] . ' ' . $pageData['objectNumber'] . ' 0 R '; } return $out; } /** * @inheritdoc * @throws CrossReferenceException * @throws PdfParserException */ protected function _putxobjects() { foreach ($this->importedPages as $key => $pageData) { $this->currentObjectNumber = $this->_newobj(); $this->importedPages[$key]['objectNumber'] = $this->currentObjectNumber; $this->currentReaderId = $pageData['readerId']; $this->writePdfType($pageData['stream']); $this->_put('endobj'); } foreach (\array_keys($this->readers) as $readerId) { $parser = $this->getPdfReader($readerId)->getParser(); $this->currentReaderId = $readerId; while (($objectNumber = \array_pop($this->objectsToCopy[$readerId])) !== null) { try { $object = $parser->getIndirectObject($objectNumber); } catch (CrossReferenceException $e) { if ($e->getCode() === CrossReferenceException::OBJECT_NOT_FOUND) { $object = PdfIndirectObject::create($objectNumber, 0, new PdfNull()); } else { throw $e; } } $this->writePdfType($object); } } // let's prepare resources for imported pages in templates foreach ($this->xobjects as $xObjectId => $data) { if (!isset($data['importedPages'])) { continue; } foreach ($data['importedPages'] as $id => $pageKey) { $page = $this->importedPages[$pageKey]; $this->xobjects[$xObjectId]['xobjects'][$id] = ['n' => $page['objectNumber']]; } } parent::_putxobjects(); $this->currentObjectNumber = null; } /** * Append content to the buffer of TCPDF. * * @param string $s * @param bool $newLine */ protected function _put($s, $newLine = true) { if ($newLine) { $this->setBuffer($s . "\n"); } else { $this->setBuffer($s); } } /** * Begin a new object and return the object number. * * @param int|string $objid Object ID (leave empty to get a new ID). * @return int object number */ protected function _newobj($objid = '') { $this->_out($this->_getobj($objid)); return $this->n; } /** * Writes a PdfType object to the resulting buffer. * * @param PdfType $value * @throws PdfTypeException */ protected function writePdfType(PdfType $value) { if (!$this->encrypted) { $this->fpdiWritePdfType($value); return; } if ($value instanceof PdfString) { $string = PdfString::unescape($value->value); $string = $this->_encrypt_data($this->currentObjectNumber, $string); $value->value = \TCPDF_STATIC::_escape($string); } elseif ($value instanceof PdfHexString) { $filter = new AsciiHex(); $string = $filter->decode($value->value); $string = $this->_encrypt_data($this->currentObjectNumber, $string); $value->value = $filter->encode($string, true); } elseif ($value instanceof PdfStream) { $stream = $value->getStream(); $stream = $this->_encrypt_data($this->currentObjectNumber, $stream); $dictionary = $value->value; $dictionary->value['Length'] = PdfNumeric::create(\strlen($stream)); $value = PdfStream::create($dictionary, $stream); } elseif ($value instanceof PdfIndirectObject) { /** * @var $value PdfIndirectObject */ $this->currentObjectNumber = $this->objectMap[$this->currentReaderId][$value->objectNumber]; } $this->fpdiWritePdfType($value); } }PK grqYp p fpdi/src/Tcpdf/error_log;nu [ [20-Sep-2023 03:28:09 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [01-Oct-2023 14:54:56 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [01-Oct-2023 17:41:30 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [25-Nov-2023 00:56:39 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [25-Nov-2023 07:32:24 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [26-Nov-2023 16:57:39 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [26-Nov-2023 22:28:29 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [27-Nov-2023 15:12:51 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [02-Dec-2023 00:40:56 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [15-Jan-2024 16:19:36 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [20-Feb-2024 03:58:55 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [16-Mar-2024 19:45:39 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [30-Mar-2024 17:26:55 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [28-Apr-2024 10:16:22 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [03-May-2024 22:23:44 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [04-May-2024 14:45:32 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [06-May-2024 17:30:56 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [14-May-2024 14:09:14 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [17-May-2024 18:54:08 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [20-May-2024 03:36:21 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [28-May-2024 13:41:32 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [05-Jun-2024 14:06:17 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [14-Jun-2024 15:56:10 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [18-Jun-2024 05:33:24 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [20-Jun-2024 02:05:45 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [20-Jun-2024 09:50:13 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [21-Jun-2024 03:16:21 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [12-Jul-2024 23:06:50 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [13-Jul-2024 18:13:16 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [22-Jul-2024 04:12:36 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [25-Jul-2024 00:34:36 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [18-Aug-2024 10:43:23 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [24-Aug-2024 05:25:33 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [24-Aug-2024 19:25:41 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [31-Aug-2024 00:27:37 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [01-Sep-2024 12:49:01 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [02-Sep-2024 03:50:21 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [07-Sep-2024 13:31:29 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [07-Sep-2024 13:31:57 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [28-Sep-2024 13:14:50 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [03-Oct-2024 03:24:48 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [04-Oct-2024 04:09:46 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [05-Oct-2024 11:41:30 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [18-Oct-2024 14:27:27 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [20-Oct-2024 09:00:45 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [29-Oct-2024 02:07:27 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [06-Nov-2024 12:56:55 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 [11-Nov-2024 12:15:34 America/Fortaleza] PHP Fatal error: Class 'TCPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php on line 25 PK grqY>q q fpdi/src/autoload.phpnu [ currentTemplateId !== null) { throw new \BadMethodCallException('The page format cannot be changed when writing to a template.'); } if (!\in_array($orientation, ['P', 'L'], true)) { throw new \InvalidArgumentException(\sprintf( 'Invalid page orientation "%s"! Only "P" and "L" are allowed!', $orientation )); } $size = $this->_getpagesize($size); if ($orientation != $this->CurOrientation || $size[0] != $this->CurPageSize[0] || $size[1] != $this->CurPageSize[1] ) { // New size or orientation if ($orientation === 'P') { $this->w = $size[0]; $this->h = $size[1]; } else { $this->w = $size[1]; $this->h = $size[0]; } $this->wPt = $this->w * $this->k; $this->hPt = $this->h * $this->k; $this->PageBreakTrigger = $this->h - $this->bMargin; $this->CurOrientation = $orientation; $this->CurPageSize = $size; $this->PageInfo[$this->page]['size'] = array($this->wPt, $this->hPt); } } /** * Draws a template onto the page or another template. * * Give only one of the size parameters (width, height) to calculate the other one automatically in view to the * aspect ratio. * * @param mixed $tpl The template id * @param array|float|int $x The abscissa of upper-left corner. Alternatively you could use an assoc array * with the keys "x", "y", "width", "height", "adjustPageSize". * @param float|int $y The ordinate of upper-left corner. * @param float|int|null $width The width. * @param float|int|null $height The height. * @param bool $adjustPageSize * @return array The size * @see FpdfTplTrait::getTemplateSize() */ public function useTemplate($tpl, $x = 0, $y = 0, $width = null, $height = null, $adjustPageSize = false) { if (!isset($this->templates[$tpl])) { throw new \InvalidArgumentException('Template does not exist!'); } if (\is_array($x)) { unset($x['tpl']); \extract($x, EXTR_IF_EXISTS); /** @noinspection NotOptimalIfConditionsInspection */ /** @noinspection CallableParameterUseCaseInTypeContextInspection */ if (\is_array($x)) { $x = 0; } } $template = $this->templates[$tpl]; $originalSize = $this->getTemplateSize($tpl); $newSize = $this->getTemplateSize($tpl, $width, $height); if ($adjustPageSize) { $this->setPageFormat($newSize, $newSize['orientation']); } $this->_out( // reset standard values, translate and scale \sprintf( 'q 0 J 1 w 0 j 0 G 0 g %.4F 0 0 %.4F %.4F %.4F cm /%s Do Q', ($newSize['width'] / $originalSize['width']), ($newSize['height'] / $originalSize['height']), $x * $this->k, ($this->h - $y - $newSize['height']) * $this->k, $template['id'] ) ); return $newSize; } /** * Get the size of a template. * * Give only one of the size parameters (width, height) to calculate the other one automatically in view to the * aspect ratio. * * @param mixed $tpl The template id * @param float|int|null $width The width. * @param float|int|null $height The height. * @return array|bool An array with following keys: width, height, 0 (=width), 1 (=height), orientation (L or P) */ public function getTemplateSize($tpl, $width = null, $height = null) { if (!isset($this->templates[$tpl])) { return false; } if ($width === null && $height === null) { $width = $this->templates[$tpl]['width']; $height = $this->templates[$tpl]['height']; } elseif ($width === null) { $width = $height * $this->templates[$tpl]['width'] / $this->templates[$tpl]['height']; } if ($height === null) { $height = $width * $this->templates[$tpl]['height'] / $this->templates[$tpl]['width']; } if ($height <= 0. || $width <= 0.) { throw new \InvalidArgumentException('Width or height parameter needs to be larger than zero.'); } return [ 'width' => $width, 'height' => $height, 0 => $width, 1 => $height, 'orientation' => $width > $height ? 'L' : 'P' ]; } /** * Begins a new template. * * @param float|int|null $width The width of the template. If null, the current page width is used. * @param float|int|null $height The height of the template. If null, the current page height is used. * @param bool $groupXObject Define the form XObject as a group XObject to support transparency (if used). * @return int A template identifier. */ public function beginTemplate($width = null, $height = null, $groupXObject = false) { if ($width === null) { $width = $this->w; } if ($height === null) { $height = $this->h; } $templateId = $this->getNextTemplateId(); // initiate buffer with current state of FPDF $buffer = "2 J\n" . \sprintf('%.2F w', $this->LineWidth * $this->k) . "\n"; if ($this->FontFamily) { $buffer .= \sprintf("BT /F%d %.2F Tf ET\n", $this->CurrentFont['i'], $this->FontSizePt); } if ($this->DrawColor !== '0 G') { $buffer .= $this->DrawColor . "\n"; } if ($this->FillColor !== '0 g') { $buffer .= $this->FillColor . "\n"; } if ($groupXObject && \version_compare('1.4', $this->PDFVersion, '>')) { $this->PDFVersion = '1.4'; } $this->templates[$templateId] = [ 'objectNumber' => null, 'id' => 'TPL' . $templateId, 'buffer' => $buffer, 'width' => $width, 'height' => $height, 'groupXObject' => $groupXObject, 'state' => [ 'x' => $this->x, 'y' => $this->y, 'AutoPageBreak' => $this->AutoPageBreak, 'bMargin' => $this->bMargin, 'tMargin' => $this->tMargin, 'lMargin' => $this->lMargin, 'rMargin' => $this->rMargin, 'h' => $this->h, 'w' => $this->w, 'FontFamily' => $this->FontFamily, 'FontStyle' => $this->FontStyle, 'FontSizePt' => $this->FontSizePt, 'FontSize' => $this->FontSize, 'underline' => $this->underline, 'TextColor' => $this->TextColor, 'DrawColor' => $this->DrawColor, 'FillColor' => $this->FillColor, 'ColorFlag' => $this->ColorFlag ] ]; $this->SetAutoPageBreak(false); $this->currentTemplateId = $templateId; $this->h = $height; $this->w = $width; $this->SetXY($this->lMargin, $this->tMargin); $this->SetRightMargin($this->w - $width + $this->rMargin); return $templateId; } /** * Ends a template. * * @return bool|int|null A template identifier. */ public function endTemplate() { if (null === $this->currentTemplateId) { return false; } $templateId = $this->currentTemplateId; $template = $this->templates[$templateId]; $state = $template['state']; $this->SetXY($state['x'], $state['y']); $this->tMargin = $state['tMargin']; $this->lMargin = $state['lMargin']; $this->rMargin = $state['rMargin']; $this->h = $state['h']; $this->w = $state['w']; $this->SetAutoPageBreak($state['AutoPageBreak'], $state['bMargin']); $this->FontFamily = $state['FontFamily']; $this->FontStyle = $state['FontStyle']; $this->FontSizePt = $state['FontSizePt']; $this->FontSize = $state['FontSize']; $this->TextColor = $state['TextColor']; $this->DrawColor = $state['DrawColor']; $this->FillColor = $state['FillColor']; $this->ColorFlag = $state['ColorFlag']; $this->underline = $state['underline']; $fontKey = $this->FontFamily . $this->FontStyle; if ($fontKey) { $this->CurrentFont =& $this->fonts[$fontKey]; } else { unset($this->CurrentFont); } $this->currentTemplateId = null; return $templateId; } /** * Get the next template id. * * @return int */ protected function getNextTemplateId() { return $this->templateId++; } /* overwritten FPDF methods: */ /** * @inheritdoc */ public function AddPage($orientation = '', $size = '', $rotation = 0) { if ($this->currentTemplateId !== null) { throw new \BadMethodCallException('Pages cannot be added when writing to a template.'); } parent::AddPage($orientation, $size, $rotation); } /** * @inheritdoc */ public function Link($x, $y, $w, $h, $link) { if ($this->currentTemplateId !== null) { throw new \BadMethodCallException('Links cannot be set when writing to a template.'); } parent::Link($x, $y, $w, $h, $link); } /** * @inheritdoc */ public function SetLink($link, $y = 0, $page = -1) { if ($this->currentTemplateId !== null) { throw new \BadMethodCallException('Links cannot be set when writing to a template.'); } return parent::SetLink($link, $y, $page); } /** * @inheritdoc */ public function SetDrawColor($r, $g = null, $b = null) { parent::SetDrawColor($r, $g, $b); if ($this->page === 0 && $this->currentTemplateId !== null) { $this->_out($this->DrawColor); } } /** * @inheritdoc */ public function SetFillColor($r, $g = null, $b = null) { parent::SetFillColor($r, $g, $b); if ($this->page === 0 && $this->currentTemplateId !== null) { $this->_out($this->FillColor); } } /** * @inheritdoc */ public function SetLineWidth($width) { parent::SetLineWidth($width); if ($this->page === 0 && $this->currentTemplateId !== null) { $this->_out(\sprintf('%.2F w', $width * $this->k)); } } /** * @inheritdoc */ public function SetFont($family, $style = '', $size = 0) { parent::SetFont($family, $style, $size); if ($this->page === 0 && $this->currentTemplateId !== null) { $this->_out(\sprintf('BT /F%d %.2F Tf ET', $this->CurrentFont['i'], $this->FontSizePt)); } } /** * @inheritdoc */ public function SetFontSize($size) { parent::SetFontSize($size); if ($this->page === 0 && $this->currentTemplateId !== null) { $this->_out(sprintf('BT /F%d %.2F Tf ET', $this->CurrentFont['i'], $this->FontSizePt)); } } /** * @inheritdoc */ protected function _putimages() { parent::_putimages(); foreach ($this->templates as $key => $template) { $this->_newobj(); $this->templates[$key]['objectNumber'] = $this->n; $this->_put('<_put(\sprintf('/BBox[0 0 %.2F %.2F]', $template['width'] * $this->k, $template['height'] * $this->k)); $this->_put('/Resources 2 0 R'); // default resources dictionary of FPDF if ($this->compress) { $buffer = \gzcompress($template['buffer']); $this->_put('/Filter/FlateDecode'); } else { $buffer = $template['buffer']; } $this->_put('/Length ' . \strlen($buffer)); if ($template['groupXObject']) { $this->_put('/Group <>'); } $this->_put('>>'); $this->_putstream($buffer); $this->_put('endobj'); } } /** * @inheritdoc */ protected function _putxobjectdict() { foreach ($this->templates as $key => $template) { $this->_put('/' . $template['id'] . ' ' . $template['objectNumber'] . ' 0 R'); } parent::_putxobjectdict(); } /** * @inheritdoc */ public function _out($s) { if ($this->currentTemplateId !== null) { $this->templates[$this->currentTemplateId]['buffer'] .= $s . "\n"; } else { parent::_out($s); } } }PK grqY . fpdi/src/PdfReader/DataStructure/Rectangle.phpnu [ value; $ax = PdfNumeric::ensure(PdfType::resolve($array[0], $parser))->value; $ay = PdfNumeric::ensure(PdfType::resolve($array[1], $parser))->value; $bx = PdfNumeric::ensure(PdfType::resolve($array[2], $parser))->value; $by = PdfNumeric::ensure(PdfType::resolve($array[3], $parser))->value; return new self($ax, $ay, $bx, $by); } /** * Rectangle constructor. * * @param float|int $ax * @param float|int $ay * @param float|int $bx * @param float|int $by */ public function __construct($ax, $ay, $bx, $by) { $this->llx = \min($ax, $bx); $this->lly = \min($ay, $by); $this->urx = \max($ax, $bx); $this->ury = \max($ay, $by); } /** * Get the width of the rectangle. * * @return float|int */ public function getWidth() { return $this->urx - $this->llx; } /** * Get the height of the rectangle. * * @return float|int */ public function getHeight() { return $this->ury - $this->lly; } /** * Get the lower left abscissa. * * @return float|int */ public function getLlx() { return $this->llx; } /** * Get the lower left ordinate. * * @return float|int */ public function getLly() { return $this->lly; } /** * Get the upper right abscissa. * * @return float|int */ public function getUrx() { return $this->urx; } /** * Get the upper right ordinate. * * @return float|int */ public function getUry() { return $this->ury; } /** * Get the rectangle as an array. * * @return array */ public function toArray() { return [ $this->llx, $this->lly, $this->urx, $this->ury ]; } /** * Get the rectangle as a PdfArray. * * @return PdfArray */ public function toPdfArray() { $array = new PdfArray(); $array->value[] = PdfNumeric::create($this->llx); $array->value[] = PdfNumeric::create($this->lly); $array->value[] = PdfNumeric::create($this->urx); $array->value[] = PdfNumeric::create($this->ury); return $array; } } PK grqY'/ % fpdi/src/PdfReader/PageBoundaries.phpnu [ parser = $parser; } /** * PdfReader destructor. */ public function __destruct() { if ($this->parser !== null) { $this->parser->cleanUp(); } } /** * Get the pdf parser instance. * * @return PdfParser */ public function getParser() { return $this->parser; } /** * Get the PDF version. * * @return string * @throws PdfParserException */ public function getPdfVersion() { return \implode('.', $this->parser->getPdfVersion()); } /** * Get the page count. * * @return int * @throws PdfTypeException * @throws CrossReferenceException * @throws PdfParserException */ public function getPageCount() { if ($this->pageCount === null) { $catalog = $this->parser->getCatalog(); $pages = PdfType::resolve(PdfDictionary::get($catalog, 'Pages'), $this->parser); $count = PdfType::resolve(PdfDictionary::get($pages, 'Count'), $this->parser); $this->pageCount = PdfNumeric::ensure($count)->value; } return $this->pageCount; } /** * Get a page instance. * * @param int $pageNumber * @return Page * @throws PdfTypeException * @throws CrossReferenceException * @throws PdfParserException * @throws \InvalidArgumentException */ public function getPage($pageNumber) { if (!\is_numeric($pageNumber)) { throw new \InvalidArgumentException( 'Page number needs to be a number.' ); } if ($pageNumber < 1 || $pageNumber > $this->getPageCount()) { throw new \InvalidArgumentException( \sprintf( 'Page number "%s" out of available page range (1 - %s)', $pageNumber, $this->getPageCount() ) ); } $this->readPages(); $page = $this->pages[$pageNumber - 1]; if ($page instanceof PdfIndirectObjectReference) { $readPages = function ($kids) use (&$readPages) { $kids = PdfArray::ensure($kids); /** @noinspection LoopWhichDoesNotLoopInspection */ foreach ($kids->value as $reference) { $reference = PdfIndirectObjectReference::ensure($reference); $object = $this->parser->getIndirectObject($reference->value); $type = PdfDictionary::get($object->value, 'Type'); if ($type->value === 'Pages') { return $readPages(PdfDictionary::get($object->value, 'Kids')); } return $object; } throw new PdfReaderException( 'Kids array cannot be empty.', PdfReaderException::KIDS_EMPTY ); }; $page = $this->parser->getIndirectObject($page->value); $dict = PdfType::resolve($page, $this->parser); $type = PdfDictionary::get($dict, 'Type'); if ($type->value === 'Pages') { $kids = PdfType::resolve(PdfDictionary::get($dict, 'Kids'), $this->parser); try { $page = $this->pages[$pageNumber - 1] = $readPages($kids); } catch (PdfReaderException $e) { if ($e->getCode() !== PdfReaderException::KIDS_EMPTY) { throw $e; } // let's reset the pages array and read all page objects $this->pages = []; $this->readPages(true); $page = $this->pages[$pageNumber - 1]; } } else { $this->pages[$pageNumber - 1] = $page; } } return new Page($page, $this->parser); } /** * Walk the page tree and resolve all indirect objects of all pages. * * @param bool $readAll * @throws CrossReferenceException * @throws PdfParserException * @throws PdfTypeException */ protected function readPages($readAll = false) { if (\count($this->pages) > 0) { return; } $readPages = function ($kids, $count) use (&$readPages, $readAll) { $kids = PdfArray::ensure($kids); $isLeaf = ($count->value === \count($kids->value)); foreach ($kids->value as $reference) { $reference = PdfIndirectObjectReference::ensure($reference); if (!$readAll && $isLeaf) { $this->pages[] = $reference; continue; } $object = $this->parser->getIndirectObject($reference->value); $type = PdfDictionary::get($object->value, 'Type'); if ($type->value === 'Pages') { $readPages(PdfDictionary::get($object->value, 'Kids'), PdfDictionary::get($object->value, 'Count')); } else { $this->pages[] = $object; } } }; $catalog = $this->parser->getCatalog(); $pages = PdfType::resolve(PdfDictionary::get($catalog, 'Pages'), $this->parser); $count = PdfType::resolve(PdfDictionary::get($pages, 'Count'), $this->parser); $kids = PdfType::resolve(PdfDictionary::get($pages, 'Kids'), $this->parser); $readPages($kids, $count); } } PK grqYLKj fpdi/src/PdfReader/Page.phpnu [ pageObject = $page; $this->parser = $parser; } /** * Get the indirect object of this page. * * @return PdfIndirectObject */ public function getPageObject() { return $this->pageObject; } /** * Get the dictionary of this page. * * @return PdfDictionary * @throws PdfParserException * @throws PdfTypeException * @throws CrossReferenceException */ public function getPageDictionary() { if (null === $this->pageDictionary) { $this->pageDictionary = PdfDictionary::ensure(PdfType::resolve($this->getPageObject(), $this->parser)); } return $this->pageDictionary; } /** * Get a page attribute. * * @param string $name * @param bool $inherited * @return PdfType|null * @throws PdfParserException * @throws PdfTypeException * @throws CrossReferenceException */ public function getAttribute($name, $inherited = true) { $dict = $this->getPageDictionary(); if (isset($dict->value[$name])) { return $dict->value[$name]; } $inheritedKeys = ['Resources', 'MediaBox', 'CropBox', 'Rotate']; if ($inherited && \in_array($name, $inheritedKeys, true)) { if ($this->inheritedAttributes === null) { $this->inheritedAttributes = []; $inheritedKeys = \array_filter($inheritedKeys, function ($key) use ($dict) { return !isset($dict->value[$key]); }); if (\count($inheritedKeys) > 0) { $parentDict = PdfType::resolve(PdfDictionary::get($dict, 'Parent'), $this->parser); while ($parentDict instanceof PdfDictionary) { foreach ($inheritedKeys as $index => $key) { if (isset($parentDict->value[$key])) { $this->inheritedAttributes[$key] = $parentDict->value[$key]; unset($inheritedKeys[$index]); } } /** @noinspection NotOptimalIfConditionsInspection */ if (isset($parentDict->value['Parent']) && \count($inheritedKeys) > 0) { $parentDict = PdfType::resolve(PdfDictionary::get($parentDict, 'Parent'), $this->parser); } else { break; } } } } if (isset($this->inheritedAttributes[$name])) { return $this->inheritedAttributes[$name]; } } return null; } /** * Get the rotation value. * * @return int * @throws PdfParserException * @throws PdfTypeException * @throws CrossReferenceException */ public function getRotation() { $rotation = $this->getAttribute('Rotate'); if (null === $rotation) { return 0; } $rotation = PdfNumeric::ensure(PdfType::resolve($rotation, $this->parser))->value % 360; if ($rotation < 0) { $rotation += 360; } return $rotation; } /** * Get a boundary of this page. * * @param string $box * @param bool $fallback * @return bool|Rectangle * @throws PdfParserException * @throws PdfTypeException * @throws CrossReferenceException * @see PageBoundaries */ public function getBoundary($box = PageBoundaries::CROP_BOX, $fallback = true) { $value = $this->getAttribute($box); if ($value !== null) { return Rectangle::byPdfArray($value, $this->parser); } if ($fallback === false) { return false; } switch ($box) { case PageBoundaries::BLEED_BOX: case PageBoundaries::TRIM_BOX: case PageBoundaries::ART_BOX: return $this->getBoundary(PageBoundaries::CROP_BOX, true); case PageBoundaries::CROP_BOX: return $this->getBoundary(PageBoundaries::MEDIA_BOX, true); } return false; } /** * Get the width and height of this page. * * @param string $box * @param bool $fallback * @return array|bool * @throws PdfParserException * @throws PdfTypeException * @throws CrossReferenceException */ public function getWidthAndHeight($box = PageBoundaries::CROP_BOX, $fallback = true) { $boundary = $this->getBoundary($box, $fallback); if ($boundary === false) { return false; } $rotation = $this->getRotation(); $interchange = ($rotation / 90) % 2; return [ $interchange ? $boundary->getHeight() : $boundary->getWidth(), $interchange ? $boundary->getWidth() : $boundary->getHeight() ]; } /** * Get the raw content stream. * * @return string * @throws PdfReaderException * @throws PdfTypeException * @throws FilterException * @throws PdfParserException */ public function getContentStream() { $dict = $this->getPageDictionary(); $contents = PdfType::resolve(PdfDictionary::get($dict, 'Contents'), $this->parser); if ($contents instanceof PdfNull) { return ''; } if ($contents instanceof PdfArray) { $result = []; foreach ($contents->value as $content) { $content = PdfType::resolve($content, $this->parser); if (!($content instanceof PdfStream)) { continue; } $result[] = $content->getUnfilteredStream(); } return \implode("\n", $result); } if ($contents instanceof PdfStream) { return $contents->getUnfilteredStream(); } throw new PdfReaderException( 'Array or stream expected.', PdfReaderException::UNEXPECTED_DATA_TYPE ); } } PK grqY ) fpdi/src/PdfReader/PdfReaderException.phpnu [ cleanUp(); } /** * Draws an imported page or a template onto the page or another template. * * Give only one of the size parameters (width, height) to calculate the other one automatically in view to the * aspect ratio. * * @param mixed $tpl The template id * @param float|int|array $x The abscissa of upper-left corner. Alternatively you could use an assoc array * with the keys "x", "y", "width", "height", "adjustPageSize". * @param float|int $y The ordinate of upper-left corner. * @param float|int|null $width The width. * @param float|int|null $height The height. * @param bool $adjustPageSize * @return array The size * @see Fpdi::getTemplateSize() */ public function useTemplate($tpl, $x = 0, $y = 0, $width = null, $height = null, $adjustPageSize = false) { if (isset($this->importedPages[$tpl])) { $size = $this->useImportedPage($tpl, $x, $y, $width, $height, $adjustPageSize); if ($this->currentTemplateId !== null) { $this->templates[$this->currentTemplateId]['resources']['templates']['importedPages'][$tpl] = $tpl; } return $size; } return parent::useTemplate($tpl, $x, $y, $width, $height, $adjustPageSize); } /** * Get the size of an imported page or template. * * Give only one of the size parameters (width, height) to calculate the other one automatically in view to the * aspect ratio. * * @param mixed $tpl The template id * @param float|int|null $width The width. * @param float|int|null $height The height. * @return array|bool An array with following keys: width, height, 0 (=width), 1 (=height), orientation (L or P) */ public function getTemplateSize($tpl, $width = null, $height = null) { $size = parent::getTemplateSize($tpl, $width, $height); if ($size === false) { return $this->getImportedPageSize($tpl, $width, $height); } return $size; } /** * @inheritdoc * @throws CrossReferenceException * @throws PdfParserException */ protected function _putimages() { $this->currentReaderId = null; parent::_putimages(); foreach ($this->importedPages as $key => $pageData) { $this->_newobj(); $this->importedPages[$key]['objectNumber'] = $this->n; $this->currentReaderId = $pageData['readerId']; $this->writePdfType($pageData['stream']); $this->_put('endobj'); } foreach (\array_keys($this->readers) as $readerId) { $parser = $this->getPdfReader($readerId)->getParser(); $this->currentReaderId = $readerId; while (($objectNumber = \array_pop($this->objectsToCopy[$readerId])) !== null) { try { $object = $parser->getIndirectObject($objectNumber); } catch (CrossReferenceException $e) { if ($e->getCode() === CrossReferenceException::OBJECT_NOT_FOUND) { $object = PdfIndirectObject::create($objectNumber, 0, new PdfNull()); } else { throw $e; } } $this->writePdfType($object); } } $this->currentReaderId = null; } /** * @inheritdoc */ protected function _putxobjectdict() { foreach ($this->importedPages as $key => $pageData) { $this->_put('/' . $pageData['id'] . ' ' . $pageData['objectNumber'] . ' 0 R'); } parent::_putxobjectdict(); } /** * @inheritdoc */ protected function _put($s, $newLine = true) { if ($newLine) { $this->buffer .= $s . "\n"; } else { $this->buffer .= $s; } } } PK grqYt] ] fpdi/src/error_log;nu [ [15-Sep-2023 15:56:35 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [20-Sep-2023 21:46:18 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [29-Sep-2023 12:35:02 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [29-Sep-2023 12:35:05 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [29-Sep-2023 12:35:11 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [29-Sep-2023 14:20:37 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [29-Sep-2023 14:20:42 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [29-Sep-2023 14:20:45 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [30-Sep-2023 17:37:29 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [30-Sep-2023 17:37:29 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [30-Sep-2023 17:37:37 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [30-Sep-2023 19:36:05 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [30-Sep-2023 19:36:08 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [30-Sep-2023 19:36:15 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [15-Nov-2023 07:30:20 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [21-Nov-2023 04:16:47 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [21-Nov-2023 04:16:55 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [21-Nov-2023 04:16:57 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [21-Nov-2023 08:17:16 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [21-Nov-2023 16:45:40 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [21-Nov-2023 16:45:43 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [21-Nov-2023 16:45:44 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [22-Nov-2023 23:56:57 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [22-Nov-2023 23:57:02 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [22-Nov-2023 23:57:11 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [23-Nov-2023 13:00:56 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [23-Nov-2023 13:00:59 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [23-Nov-2023 13:01:11 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [27-Nov-2023 01:45:53 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [29-Nov-2023 17:44:43 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [31-Dec-2023 08:02:17 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [03-Jan-2024 23:05:41 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [16-Jan-2024 07:28:35 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [14-Feb-2024 08:40:21 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [17-Feb-2024 06:33:44 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [18-Feb-2024 06:17:30 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [18-Feb-2024 06:53:58 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [21-Feb-2024 01:15:47 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [05-Mar-2024 16:49:13 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [07-Mar-2024 01:56:13 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [11-Mar-2024 07:04:45 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [11-Mar-2024 07:29:30 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [17-Mar-2024 23:04:45 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [18-Apr-2024 21:43:09 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [22-Apr-2024 11:15:07 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [24-Apr-2024 05:00:00 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [24-Apr-2024 14:19:37 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [25-Apr-2024 00:44:15 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [25-Apr-2024 09:38:58 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [03-May-2024 05:38:43 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [03-May-2024 07:02:21 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [03-May-2024 08:06:18 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [03-May-2024 20:26:56 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [03-May-2024 20:27:23 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [03-May-2024 20:28:20 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [04-May-2024 13:55:08 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [04-May-2024 13:55:16 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [04-May-2024 13:55:32 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [06-May-2024 16:39:12 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [06-May-2024 16:39:21 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [06-May-2024 16:39:36 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [09-May-2024 05:33:36 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [14-May-2024 12:51:44 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [14-May-2024 12:51:52 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [14-May-2024 12:52:13 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [18-May-2024 04:53:23 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [18-May-2024 06:29:38 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [24-May-2024 21:43:03 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [29-May-2024 16:59:16 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [30-May-2024 23:47:09 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [31-May-2024 00:20:02 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [31-May-2024 02:31:49 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [01-Jun-2024 01:54:51 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [04-Jun-2024 01:13:29 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [05-Jun-2024 02:04:55 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [06-Jun-2024 20:32:43 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [09-Jun-2024 07:32:15 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [14-Jun-2024 15:54:42 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [14-Jun-2024 15:54:50 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [14-Jun-2024 15:55:06 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [14-Jun-2024 19:16:55 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [18-Jun-2024 05:31:48 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [18-Jun-2024 05:31:56 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [18-Jun-2024 05:32:12 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [20-Jun-2024 02:04:09 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [20-Jun-2024 02:04:17 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [20-Jun-2024 02:04:33 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [20-Jun-2024 09:48:37 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [20-Jun-2024 09:48:45 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [20-Jun-2024 09:49:01 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [21-Jun-2024 11:36:33 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [21-Jun-2024 12:00:03 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [27-Jun-2024 23:48:11 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [01-Jul-2024 09:59:31 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [04-Jul-2024 11:42:26 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [07-Jul-2024 07:27:30 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [07-Jul-2024 09:42:12 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [07-Jul-2024 09:59:44 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [11-Jul-2024 06:32:53 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [12-Jul-2024 10:13:46 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [12-Jul-2024 22:44:45 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [12-Jul-2024 23:06:59 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [15-Jul-2024 11:34:59 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [18-Jul-2024 03:46:21 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [19-Jul-2024 01:35:48 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [20-Jul-2024 16:03:36 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [21-Jul-2024 09:34:21 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [22-Jul-2024 04:05:17 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [22-Jul-2024 04:05:25 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [22-Jul-2024 04:05:42 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [28-Jul-2024 10:26:44 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [29-Jul-2024 09:52:05 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [30-Jul-2024 03:31:47 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [03-Aug-2024 12:18:24 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [04-Aug-2024 09:28:33 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [05-Aug-2024 03:57:17 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [09-Aug-2024 16:49:34 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [13-Aug-2024 09:22:18 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [13-Aug-2024 20:41:59 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [14-Aug-2024 08:44:15 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [16-Aug-2024 22:08:25 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [18-Aug-2024 09:27:13 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [18-Aug-2024 10:43:32 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [19-Aug-2024 09:24:50 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [20-Aug-2024 07:37:00 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [21-Aug-2024 05:51:03 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [22-Aug-2024 05:50:47 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [24-Aug-2024 07:43:43 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [25-Aug-2024 09:00:03 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [01-Sep-2024 11:58:25 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [01-Sep-2024 11:58:33 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [01-Sep-2024 11:58:49 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [02-Sep-2024 03:43:45 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [02-Sep-2024 03:43:53 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [02-Sep-2024 03:44:09 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [07-Sep-2024 07:33:10 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [07-Sep-2024 07:33:18 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [07-Sep-2024 07:33:33 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [07-Sep-2024 07:33:45 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [07-Sep-2024 07:33:53 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [07-Sep-2024 07:34:09 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [08-Sep-2024 18:58:56 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [08-Sep-2024 23:21:12 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [08-Sep-2024 23:27:52 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [09-Sep-2024 06:51:14 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [09-Sep-2024 12:43:56 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [14-Sep-2024 09:04:21 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [15-Sep-2024 17:47:15 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [18-Sep-2024 22:40:07 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [19-Sep-2024 01:15:19 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [19-Sep-2024 15:53:02 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [19-Sep-2024 17:01:47 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [19-Sep-2024 18:42:44 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [20-Sep-2024 06:09:54 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [20-Sep-2024 08:14:21 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [20-Sep-2024 23:18:42 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [25-Sep-2024 15:54:27 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [26-Sep-2024 04:45:17 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [26-Sep-2024 07:14:01 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [26-Sep-2024 20:42:12 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [02-Oct-2024 10:05:43 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [02-Oct-2024 10:54:07 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [11-Oct-2024 22:34:11 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [12-Oct-2024 20:12:00 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [12-Oct-2024 21:08:17 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [17-Oct-2024 17:40:49 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [18-Oct-2024 05:16:59 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [18-Oct-2024 12:23:26 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [18-Oct-2024 12:25:22 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [22-Oct-2024 17:49:06 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [22-Oct-2024 20:13:39 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [23-Oct-2024 15:18:23 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [28-Oct-2024 10:59:50 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [29-Oct-2024 01:34:39 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [29-Oct-2024 01:34:47 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [29-Oct-2024 01:35:03 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [29-Oct-2024 21:32:05 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [06-Nov-2024 12:19:27 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [06-Nov-2024 12:19:35 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [06-Nov-2024 12:19:51 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [06-Nov-2024 22:48:21 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 [06-Nov-2024 23:45:41 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [11-Nov-2024 20:53:31 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\Tcpdf\Fpdi' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/TcpdfFpdi.php on line 20 [11-Nov-2024 20:53:39 America/Fortaleza] PHP Fatal error: Class 'FPDF' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/FpdfTpl.php on line 19 [11-Nov-2024 20:53:55 America/Fortaleza] PHP Fatal error: Class 'setasign\Fpdi\FpdfTpl' not found in /home/mgatv524/public_html/edurocha/vendor/setasign/fpdi/src/Fpdi.php on line 24 PK grqYtH H fpdi/src/FpdiTrait.phpnu [ readers) : $this->createdReaders; foreach ($readers as $id) { $this->readers[$id]->getParser()->getStreamReader()->cleanUp(); unset($this->readers[$id]); } $this->createdReaders= []; } /** * Set the minimal PDF version. * * @param string $pdfVersion */ protected function setMinPdfVersion($pdfVersion) { if (\version_compare($pdfVersion, $this->PDFVersion, '>')) { $this->PDFVersion = $pdfVersion; } } /** @noinspection PhpUndefinedClassInspection */ /** * Get a new pdf parser instance. * * @param StreamReader $streamReader * @return PdfParser|FpdiPdfParser */ protected function getPdfParserInstance(StreamReader $streamReader) { /** @noinspection PhpUndefinedClassInspection */ if (\class_exists(FpdiPdfParser::class)) { /** @noinspection PhpUndefinedClassInspection */ return new FpdiPdfParser($streamReader); } return new PdfParser($streamReader); } /** * Get an unique reader id by the $file parameter. * * @param string|resource|PdfReader|StreamReader $file An open file descriptor, a path to a file, a PdfReader * instance or a StreamReader instance. * @return string */ protected function getPdfReaderId($file) { if (\is_resource($file)) { $id = (string) $file; } elseif (\is_string($file)) { $id = \realpath($file); if ($id === false) { $id = $file; } } elseif (\is_object($file)) { $id = \spl_object_hash($file); } else { throw new \InvalidArgumentException( \sprintf('Invalid type in $file parameter (%s)', \gettype($file)) ); } /** @noinspection OffsetOperationsInspection */ if (isset($this->readers[$id])) { return $id; } if (\is_resource($file)) { $streamReader = new StreamReader($file); } elseif (\is_string($file)) { $streamReader = StreamReader::createByFile($file); $this->createdReaders[] = $id; } else { $streamReader = $file; } $reader = new PdfReader($this->getPdfParserInstance($streamReader)); /** @noinspection OffsetOperationsInspection */ $this->readers[$id] = $reader; return $id; } /** * Get a pdf reader instance by its id. * * @param string $id * @return PdfReader */ protected function getPdfReader($id) { if (isset($this->readers[$id])) { return $this->readers[$id]; } throw new \InvalidArgumentException( \sprintf('No pdf reader with the given id (%s) exists.', $id) ); } /** * Set the source PDF file. * * @param string|resource|StreamReader $file Path to the file or a stream resource or a StreamReader instance. * @return int The page count of the PDF document. * @throws PdfParserException */ public function setSourceFile($file) { $this->currentReaderId = $this->getPdfReaderId($file); $this->objectsToCopy[$this->currentReaderId] = []; $reader = $this->getPdfReader($this->currentReaderId); $this->setMinPdfVersion($reader->getPdfVersion()); return $reader->getPageCount(); } /** * Imports a page. * * @param int $pageNumber The page number. * @param string $box The page boundary to import. Default set to PageBoundaries::CROP_BOX. * @param bool $groupXObject Define the form XObject as a group XObject to support transparency (if used). * @return string A unique string identifying the imported page. * @throws CrossReferenceException * @throws FilterException * @throws PdfParserException * @throws PdfTypeException * @throws PdfReaderException * @see PageBoundaries */ public function importPage($pageNumber, $box = PageBoundaries::CROP_BOX, $groupXObject = true) { if (null === $this->currentReaderId) { throw new \BadMethodCallException('No reader initiated. Call setSourceFile() first.'); } $pageId = $this->currentReaderId; $pageNumber = (int)$pageNumber; $pageId .= '|' . $pageNumber . '|' . ($groupXObject ? '1' : '0'); // for backwards compatibility with FPDI 1 $box = \ltrim($box, '/'); if (!PageBoundaries::isValidName($box)) { throw new \InvalidArgumentException( \sprintf('Box name is invalid: "%s"', $box) ); } $pageId .= '|' . $box; if (isset($this->importedPages[$pageId])) { return $pageId; } $reader = $this->getPdfReader($this->currentReaderId); $page = $reader->getPage($pageNumber); $bbox = $page->getBoundary($box); if ($bbox === false) { throw new PdfReaderException( \sprintf("Page doesn't have a boundary box (%s).", $box), PdfReaderException::MISSING_DATA ); } $dict = new PdfDictionary(); $dict->value['Type'] = PdfName::create('XObject'); $dict->value['Subtype'] = PdfName::create('Form'); $dict->value['FormType'] = PdfNumeric::create(1); $dict->value['BBox'] = $bbox->toPdfArray(); if ($groupXObject) { $this->setMinPdfVersion('1.4'); $dict->value['Group'] = PdfDictionary::create([ 'Type' => PdfName::create('Group'), 'S' => PdfName::create('Transparency') ]); } $resources = $page->getAttribute('Resources'); if ($resources !== null) { $dict->value['Resources'] = $resources; } list($width, $height) = $page->getWidthAndHeight($box); $a = 1; $b = 0; $c = 0; $d = 1; $e = -$bbox->getLlx(); $f = -$bbox->getLly(); $rotation = $page->getRotation(); if ($rotation !== 0) { $rotation *= -1; $angle = $rotation * M_PI/180; $a = \cos($angle); $b = \sin($angle); $c = -$b; $d = $a; switch ($rotation) { case -90: $e = -$bbox->getLly(); $f = $bbox->getUrx(); break; case -180: $e = $bbox->getUrx(); $f = $bbox->getUry(); break; case -270: $e = $bbox->getUry(); $f = -$bbox->getLlx(); break; } } // we need to rotate/translate if ($a != 1 || $b != 0 || $c != 0 || $d != 1 || $e != 0 || $f != 0) { $dict->value['Matrix'] = PdfArray::create([ PdfNumeric::create($a), PdfNumeric::create($b), PdfNumeric::create($c), PdfNumeric::create($d), PdfNumeric::create($e), PdfNumeric::create($f) ]); } // try to use the existing content stream $pageDict = $page->getPageDictionary(); $contentsObject = PdfType::resolve(PdfDictionary::get($pageDict, 'Contents'), $reader->getParser(), true); $contents = PdfType::resolve($contentsObject, $reader->getParser()); // just copy the stream reference if it is only a single stream if (($contentsIsStream = ($contents instanceof PdfStream)) || ($contents instanceof PdfArray && \count($contents->value) === 1) ) { if ($contentsIsStream) { /** * @var PdfIndirectObject $contentsObject */ $stream = $contents; } else { $stream = PdfType::resolve($contents->value[0], $reader->getParser()); } $filter = PdfDictionary::get($stream->value, 'Filter'); if (!$filter instanceof PdfNull) { $dict->value['Filter'] = $filter; } $length = PdfType::resolve(PdfDictionary::get($stream->value, 'Length'), $reader->getParser()); $dict->value['Length'] = $length; $stream->value = $dict; // otherwise extract it from the array and re-compress the whole stream } else { $streamContent = $this->compress ? \gzcompress($page->getContentStream()) : $page->getContentStream(); $dict->value['Length'] = PdfNumeric::create(\strlen($streamContent)); if ($this->compress) { $dict->value['Filter'] = PdfName::create('FlateDecode'); } $stream = PdfStream::create($dict, $streamContent); } $this->importedPages[$pageId] = [ 'objectNumber' => null, 'readerId' => $this->currentReaderId, 'id' => 'TPL' . $this->getNextTemplateId(), 'width' => $width / $this->k, 'height' => $height / $this->k, 'stream' => $stream ]; return $pageId; } /** * Draws an imported page onto the page. * * Give only one of the size parameters (width, height) to calculate the other one automatically in view to the * aspect ratio. * * @param mixed $pageId The page id * @param float|int|array $x The abscissa of upper-left corner. Alternatively you could use an assoc array * with the keys "x", "y", "width", "height", "adjustPageSize". * @param float|int $y The ordinate of upper-left corner. * @param float|int|null $width The width. * @param float|int|null $height The height. * @param bool $adjustPageSize * @return array The size. * @see Fpdi::getTemplateSize() */ public function useImportedPage($pageId, $x = 0, $y = 0, $width = null, $height = null, $adjustPageSize = false) { if (\is_array($x)) { /** @noinspection OffsetOperationsInspection */ unset($x['pageId']); \extract($x, EXTR_IF_EXISTS); /** @noinspection NotOptimalIfConditionsInspection */ if (\is_array($x)) { $x = 0; } } if (!isset($this->importedPages[$pageId])) { throw new \InvalidArgumentException('Imported page does not exist!'); } $importedPage = $this->importedPages[$pageId]; $originalSize = $this->getTemplateSize($pageId); $newSize = $this->getTemplateSize($pageId, $width, $height); if ($adjustPageSize) { $this->setPageFormat($newSize, $newSize['orientation']); } $this->_out( // reset standard values, translate and scale \sprintf( 'q 0 J 1 w 0 j 0 G 0 g %.4F 0 0 %.4F %.4F %.4F cm /%s Do Q', ($newSize['width'] / $originalSize['width']), ($newSize['height'] / $originalSize['height']), $x * $this->k, ($this->h - $y - $newSize['height']) * $this->k, $importedPage['id'] ) ); return $newSize; } /** * Get the size of an imported page. * * Give only one of the size parameters (width, height) to calculate the other one automatically in view to the * aspect ratio. * * @param mixed $tpl The template id * @param float|int|null $width The width. * @param float|int|null $height The height. * @return array|bool An array with following keys: width, height, 0 (=width), 1 (=height), orientation (L or P) */ public function getImportedPageSize($tpl, $width = null, $height = null) { if (isset($this->importedPages[$tpl])) { $importedPage = $this->importedPages[$tpl]; if ($width === null && $height === null) { $width = $importedPage['width']; $height = $importedPage['height']; } elseif ($width === null) { $width = $height * $importedPage['width'] / $importedPage['height']; } if ($height === null) { $height = $width * $importedPage['height'] / $importedPage['width']; } if ($height <= 0. || $width <= 0.) { throw new \InvalidArgumentException('Width or height parameter needs to be larger than zero.'); } return [ 'width' => $width, 'height' => $height, 0 => $width, 1 => $height, 'orientation' => $width > $height ? 'L' : 'P' ]; } return false; } /** * Writes a PdfType object to the resulting buffer. * * @param PdfType $value * @throws PdfTypeException */ protected function writePdfType(PdfType $value) { if ($value instanceof PdfNumeric) { if (\is_int($value->value)) { $this->_put($value->value . ' ', false); } else { $this->_put(\rtrim(\rtrim(\sprintf('%.5F', $value->value), '0'), '.') . ' ', false); } } elseif ($value instanceof PdfName) { $this->_put('/' . $value->value . ' ', false); } elseif ($value instanceof PdfString) { $this->_put('(' . $value->value . ')', false); } elseif ($value instanceof PdfHexString) { $this->_put('<' . $value->value . '>'); } elseif ($value instanceof PdfBoolean) { $this->_put($value->value ? 'true ' : 'false ', false); } elseif ($value instanceof PdfArray) { $this->_put('[', false); foreach ($value->value as $entry) { $this->writePdfType($entry); } $this->_put(']'); } elseif ($value instanceof PdfDictionary) { $this->_put('<<', false); foreach ($value->value as $name => $entry) { $this->_put('/' . $name . ' ', false); $this->writePdfType($entry); } $this->_put('>>'); } elseif ($value instanceof PdfToken) { $this->_put($value->value); } elseif ($value instanceof PdfNull) { $this->_put('null '); } elseif ($value instanceof PdfStream) { /** * @var $value PdfStream */ $this->writePdfType($value->value); $this->_put('stream'); $this->_put($value->getStream()); $this->_put('endstream'); } elseif ($value instanceof PdfIndirectObjectReference) { if (!isset($this->objectMap[$this->currentReaderId])) { $this->objectMap[$this->currentReaderId] = []; } if (!isset($this->objectMap[$this->currentReaderId][$value->value])) { $this->objectMap[$this->currentReaderId][$value->value] = ++$this->n; $this->objectsToCopy[$this->currentReaderId][] = $value->value; } $this->_put($this->objectMap[$this->currentReaderId][$value->value] . ' 0 R ', false); } elseif ($value instanceof PdfIndirectObject) { /** * @var $value PdfIndirectObject */ $n = $this->objectMap[$this->currentReaderId][$value->objectNumber]; $this->_newobj($n); $this->writePdfType($value->value); $this->_put('endobj'); } } } PK grqY|4 4 . fpdi/src/PdfParser/Filter/Ascii85Exception.phpnu [ initsTable(); $this->data = $data; $this->dataLength = \strlen($data); // Initialize pointers $this->bytePointer = 0; $this->nextData = 0; $this->nextBits = 0; $oldCode = 0; $uncompData = ''; while (($code = $this->getNextCode()) !== 257) { if ($code === 256) { $this->initsTable(); $code = $this->getNextCode(); if ($code === 257) { break; } $uncompData .= $this->sTable[$code]; $oldCode = $code; } else { if ($code < $this->tIdx) { $string = $this->sTable[$code]; $uncompData .= $string; $this->addStringToTable($this->sTable[$oldCode], $string[0]); $oldCode = $code; } else { $string = $this->sTable[$oldCode]; $string .= $string[0]; $uncompData .= $string; $this->addStringToTable($string); $oldCode = $code; } } } return $uncompData; } /** * Initialize the string table. */ protected function initsTable() { $this->sTable = []; for ($i = 0; $i < 256; $i++) { $this->sTable[$i] = \chr($i); } $this->tIdx = 258; $this->bitsToGet = 9; } /** * Add a new string to the string table. * * @param string $oldString * @param string $newString */ protected function addStringToTable($oldString, $newString = '') { $string = $oldString . $newString; // Add this new String to the table $this->sTable[$this->tIdx++] = $string; if ($this->tIdx === 511) { $this->bitsToGet = 10; } elseif ($this->tIdx === 1023) { $this->bitsToGet = 11; } elseif ($this->tIdx === 2047) { $this->bitsToGet = 12; } } /** * Returns the next 9, 10, 11 or 12 bits. * * @return integer */ protected function getNextCode() { if ($this->bytePointer === $this->dataLength) { return 257; } $this->nextData = ($this->nextData << 8) | (\ord($this->data[$this->bytePointer++]) & 0xff); $this->nextBits += 8; if ($this->nextBits < $this->bitsToGet) { $this->nextData = ($this->nextData << 8) | (\ord($this->data[$this->bytePointer++]) & 0xff); $this->nextBits += 8; } $code = ($this->nextData >> ($this->nextBits - $this->bitsToGet)) & $this->andTable[$this->bitsToGet - 9]; $this->nextBits -= $this->bitsToGet; return $code; } } PK grqY<\x # fpdi/src/PdfParser/Filter/Flate.phpnu [ extensionLoaded()) { $oData = $data; $data = @((\strlen($data) > 0) ? \gzuncompress($data) : ''); if ($data === false) { // let's try if the checksum is CRC32 $fh = fopen('php://temp', 'w+b'); fwrite($fh, "\x1f\x8b\x08\x00\x00\x00\x00\x00" . $oData); stream_filter_append($fh, 'zlib.inflate', STREAM_FILTER_READ, ['window' => 30]); fseek($fh, 0); $data = stream_get_contents($fh); fclose($fh); if ($data) { return $data; } // Try this fallback $tries = 0; $oDataLen = strlen($oData); while ($tries < 6 && ($data === false || (strlen($data) < (strlen($oDataLen) - $tries - 1)))) { $data = @(gzinflate(substr($oData, $tries))); $tries++; } // let's use this fallback only if the $data is longer than the original data if (strlen($data) > ($oDataLen - $tries - 1)) { return $data; } if (!$data) { throw new FlateException( 'Error while decompressing stream.', FlateException::DECOMPRESS_ERROR ); } } } else { throw new FlateException( 'To handle FlateDecode filter, enable zlib support in PHP.', FlateException::NO_ZLIB ); } return $data; } } PK grqYԦ &