/plugin/dw2pdf/vendor/mpdf/mpdf/src/Barcode/ |
H A D | S25.php | 8 * Contains digits (0 to 9) and encodes the data only in the width of bars. 21 $this->data['nom-X'] = 0.381; // Nominal value for X-dim (bar width) in mm (2 X min. spec.) 22 $this->data['nom-H'] = 10; // Nominal value for Height of Full bar in mm (non-spec.) 23 $this->data['lightmL'] = ($quiet_zone_left !== null ? $quiet_zone_left : 10); // LEFT light margin = x X-dim (spec.) 24 $this->data['lightmR'] = ($quiet_zone_right !== null ? $quiet_zone_right : 10); // RIGHT light margin = x X-dim (spec.) 25 $this->data['lightTB'] = 0; // TOP/BOTTOM light margin = x X-dim (non-spec.) 75 $this->data = $this->binseqToArray($seq, $bararray);
|
/plugin/dw2pdf/vendor/mpdf/mpdf/src/ |
H A D | Cache.php | 75 public function write($filename, $data) 78 file_put_contents($tempFile, $data); 71 write($filename, $data) global() argument
|
H A D | Form.php | 114 $this->formSubmitNoValueFields = true; // Whether to include blank fields when submitting data 381 $data = ['VAL' => [], 'OPT' => [], 'SEL' => [],]; 385 $data['VAL'][] = (isset($item['exportValue']) ? $item['exportValue'] : ''); 386 $data['OPT'][] = (isset($item['content']) ? $item['content'] : ''); 388 $data['SEL'][] = $i; 392 if (count($data['SEL']) === 0 && $this->formSelectDefaultOption) { 393 $data['SEL'][] = 0; 400 $this->SetFormChoice($w, $h, $objattr['fieldname'], $flags, $data, $rtlalign, $js); 1329 $this->writer->write('/Length ' . strlen($info['data'])); 1354 $this->writer->stream($info['data']); [all...] |
H A D | OtlDump.php | 288 function calcChecksum($data) argument 290 if (strlen($data) % 4) { 291 $data .= str_repeat("\0", (4 - (strlen($data) % 4))); 293 $len = strlen($data); 297 $hi += (ord($data[$i]) << 8) + ord($data[$i + 1]); 298 $lo += (ord($data[$i + 2]) << 8) + ord($data[$i + 3]); 454 function add($tag, $data) argument [all...] |
H A D | RemoteContentFetcher.php | 64 $data = curl_exec($ch); 87 return $data; 137 $data = ''; 140 $data .= fgets($fh, 1024); 145 return $data;
|
H A D | TTFontFile.php | 8 // NOTE*** If you change the defined constants below, be sure to delete all temporary font data files in /ttfontdata/ 362 function calcChecksum($data) argument 364 if (strlen($data) % 4) { 365 $data .= str_repeat("\0", 4 - (strlen($data) % 4)); 368 $len = strlen($data); 373 $hi += (ord($data[$i]) << 8) + ord($data[$i + 1]); 374 $lo += (ord($data[$i + 2]) << 8) + ord($data[ 535 add($tag, $data) global() argument [all...] |
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Fonts/ |
H A D | FontCache.php | 49 public function write($filename, $data) argument 51 return $this->cache->write($filename, $data); 54 public function binaryWrite($filename, $data) argument 56 return $this->cache->write($filename, $data); 59 public function jsonWrite($filename, $data) argument 61 return $this->cache->write($filename, json_encode($data));
|
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Gif/ |
H A D | Gif.php | 44 function loadFile(&$data, $iIndex) argument 49 $this->m_lpData = $data;
|
H A D | Image.php | 49 function load($data, &$datLen) argument 54 $b = ord($data[0]); 55 $data = substr($data, 1); 61 if (!$this->skipExt($data, $len)) { 70 if (!$this->m_gih->load($data, $len)) { 73 $data = substr($data, $len); 79 if (!($this->m_data = $this->m_lzw->deCompress($data, $len))) { 83 $data 100 skipExt(& $data, & $extLen) global() argument [all...] |
H A D | Lzw.php | 55 function deCompress($data, &$datLen) argument 57 $stLen = strlen($data); 60 $dp = 0; // data pointer 62 $this->LZWCommandInit($data, $dp); 64 while (($iIndex = $this->LZWCommand($data, $dp)) >= 0) { 77 function LZWCommandInit(&$data, &$dp) argument 79 $this->SetCodeSize = ord($data[0]); 88 $this->GetCodeInit($data, $dp); 105 function LZWCommand(&$data, &$dp) argument 110 $this->FirstCode = $this->GetCode($data, 188 GetCodeInit(& $data, & $dp) global() argument 197 GetCode(& $data, & $dp) global() argument [all...] |
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Image/ |
H A D | Bmp.php | 20 public function _getBMPimage($data, $file) argument 24 $bfOffBits = $this->_fourbytes2int_le(substr($data, 10, 4)); 25 $width = $this->_fourbytes2int_le(substr($data, 18, 4)); 26 $height = $this->_fourbytes2int_le(substr($data, 22, 4)); 31 $biBitCount = $this->_twobytes2int_le(substr($data, 28, 2)); 32 $biCompression = $this->_fourbytes2int_le(substr($data, 30, 4)); 37 $palStr = substr($data, 54, $bfOffBits - 54); 57 $biXPelsPerMeter = $this->_fourbytes2int_le(substr($data, 38, 4)); // horizontal pixels per meter, usually set to zero 58 //$biYPelsPerMeter=$this->_fourbytes2int_le(substr($data,42,4)); // vertical pixels per meter, usually set to zero 65 $str = substr($data, [all...] |
H A D | ImageProcessor.php | 162 $data = ''; 168 $data = $this->mpdf->imageVars[$v[1]]; 169 $file = md5($data); 172 if (preg_match('/data:image\/(gif|jpe?g|png|webp);base64,(.*)/', $file, $v)) { 174 $data = base64_decode($v[2]); 175 $file = md5($data); 179 if ($firsttime && $file && strpos($file, 'data:') !== 0) { 184 if (strpos($orig_srcpath, 'data:') !== 0) { 215 if (empty($data)) { 217 $data 1083 convertImage(& $data, $colspace, $targetcs, $w, $h, $dpi, $mask, $gamma_correction = false, $pngcolortype = false) global() argument 1313 jpgHeaderFromString(& $data) global() argument 1392 gzCompress($data) global() argument [all...] |
H A D | ImageTypeGuesser.php | 9 * @param string $data 13 public function guess($data) argument 15 if (in_array(substr($data, 6, 4), ['JFIF', 'Exif'], true) || strpos($data, chr(255) . chr(216)) === 0) { // 0xFF 0xD8 // mpDF 5.7.2 19 if (in_array(substr($data, 0, 4), ['RIFF'], true)) { 23 if (in_array(substr($data, 0, 6), ['GIF87a', 'GIF89a'], true)) { 27 if (strpos($data, chr(137) . 'PNG' . chr(13) . chr(10) . chr(26) . chr(10)) === 0) { 31 if (strpos($data, chr(215) . chr(205) . chr(198) . chr(154)) === 0) { 35 if (preg_match('/<svg.*<\/svg>/is', $data)) { 39 if (strpos($data, 'B [all...] |
H A D | Svg.php | 3017 * @param string $data svg contents 3021 function mergeStyles($data) 3024 if (!$xml->loadXML($data, LIBXML_NOERROR)) { 3025 return $data; 3031 return $data; 3051 return $data; 3098 function ImageSVG($data) 3100 $data = preg_replace('/^.*?<svg([> ])/is', '<svg\\1', $data); // mPDF 5.7.4 3101 $data 2838 mergeStyles($data) global() argument 2915 ImageSVG($data) global() argument 3802 characterData($parser, $data) global() argument [all...] |
H A D | Wmf.php | 32 function _getWMFimage($data) argument 42 $key = unpack('Lmagic', substr($data, 0, 4)); 55 while ($p < strlen($data) && !$endRecord) { 56 $recordInfo = unpack('Lsize/Sfunc', substr($data, $p, 6)); 63 $parms = substr($data, $p, 2 * ($size - 3));
|
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Writer/ |
H A D | FormWriter.php | 46 $data = $this->mpdf->compress ? gzcompress($info['data']) : $info['data']; 47 $this->writer->write('/Length ' . strlen($data) . '>>'); 48 $this->writer->stream($data); 50 unset($this->mpdf->formobjects[$file]['data']);
|
H A D | MetadataWriter.php | 237 $s = file_get_contents(__DIR__ . '/../../data/iccprofiles/sRGB_IEC61966-2-1.icc');
|
/plugin/dw2pdf/vendor/mpdf/qrcode/ |
H A D | README.md | 28 $data = $output->output($qrCode, 100, [255, 255, 255], [0, 0, 0]); 29 file_put_contents('filename.png', $data);
|
/plugin/dw2pdf/vendor/setasign/fpdi/src/PdfParser/Filter/ |
H A D | Flate.php | 13 * Class for handling zlib/deflate encoded data 35 * @param string $data The input string 39 public function decode($data) argument 42 $oData = $data; 43 $data = @((\strlen($data) > 0) ? \gzuncompress($data) : ''); 44 if ($data === false) { 50 $data = stream_get_contents($fh); 53 if ($data) { [all...] |
H A D | Lzw.php | 13 * Class for handling LZW encoded data 22 protected $data; variable in setasign\\Fpdi\\PdfParser\\Filter\\Lzw 65 * Method to decode LZW compressed data. 67 * @param string $data The compressed data 68 * @return string The uncompressed data 71 public function decode($data) argument 73 if ($data[0] === "\x00" && $data[1] === "\x01") { 82 $this->data [all...] |
/plugin/dw2pdf/ |
H A D | deleted.files | 249 mpdf/qrcode/data/modele1.dat 250 mpdf/qrcode/data/modele10.dat 251 mpdf/qrcode/data/modele11.dat 252 mpdf/qrcode/data/modele12.dat 253 mpdf/qrcode/data/modele13.dat 254 mpdf/qrcode/data/modele14.dat 255 mpdf/qrcode/data/modele15.dat 256 mpdf/qrcode/data/modele16.dat 257 mpdf/qrcode/data/modele17.dat 258 mpdf/qrcode/data/modele1 [all...] |
/plugin/dw2pdf/vendor/setasign/fpdi/src/Tcpdf/ |
H A D | Fpdi.php | 183 foreach ($this->xobjects as $xObjectId => $data) { 184 if (!isset($data['importedPages'])) { 188 foreach ($data['importedPages'] as $id => $pageKey) {
|
/plugin/dw2pdf/syntax/ |
H A D | exportlink.php | 51 * Handler to prepare matched data for the rendering process 57 * @return array Return an array with all data you want to use in render, false don't add an instruction 89 * @param array $data data created by handler() 92 public function render($format, Doku_Renderer $renderer, $data) 95 $renderer->internallink($data['link'], $data['title']); 80 render($mode, Doku_Renderer $renderer, $data) global() argument
|
/plugin/dw2pdf/vendor/composer/ |
H A D | InstalledVersions.php | 256 * Returns the raw installed.php data for custom implementations 280 * Returns the raw data of all installed.php which are currently loaded for custom implementations 298 * the data it needs from this class, then call reload() with 303 * @param array[] $data A vendor/composer/installed.php data set 306 * @psalm-param array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $data 308 public static function reload($data) argument 310 self::$installed = $data;
|
/plugin/dw2pdf/vendor/mpdf/mpdf/ |
H A D | CHANGELOG.md | 9 * Fix: "Undefined index: group" when calling MultiCell when using font without OTL data (@Kekos, #1213, #941) 63 * Font temporary data saved as JSON instead of generating PHP files (thanks, @jakejackson) 232 - Add config constant so we can define custom font data 425 - background images using data:image\/(jpeg|gif|png);base64 format - error when reading in stylesheet 592 - data:image as background url() - incorrectly adjusting path on server if MPDF_PATH not specified (included in release mPDF 5.6.1) 626 - `<img src="data:image/gif;base64,....">` improved to make it more robust, and background: `url(data:image...` now added to work
|