/plugin/dw2pdf/vendor/mpdf/mpdf/src/Writer/ |
H A D | BackgroundWriter.php | 128 $this->writer->write('<</ProcSet [/PDF /Text /ImageB /ImageC /ImageI]'); 131 $this->writer->write('/XObject <</FO' . $image_id . ' ' . $img_obj . ' 0 R >>'); 138 $this->writer->write('/ExtGState <<'); 142 $this->writer->write('/' . $extgstate['trans'] . ' ' . $extgstate['n'] . ' 0 R'); 144 $this->writer->write('/GS' . $k . ' ' . $extgstate['n'] . ' 0 R'); 148 $this->writer->write('>>'); 153 $this->writer->write('/Shading <<'); 156 $this->writer->write('/Sh' . $id . ' ' . $grad['id'] . ' 0 R'); 159 $this->writer->write('>>'); 163 $this->writer->write('/Fon [all...] |
H A D | FontWriter.php | 100 $this->writer->write('<</Length ' . strlen($font)); 101 $this->writer->write('/Filter /FlateDecode'); 102 $this->writer->write('/Length1 ' . $originalsize); 103 $this->writer->write('>>'); 105 $this->writer->write('endobj'); 132 $this->writer->write('<</Type /Font'); 145 $this->writer->write('<</Type /Font'); 146 $this->writer->write('/BaseFont /' . $name); 147 $this->writer->write('/Subtype /Type1'); 150 $this->writer->write('/Encodin [all...] |
H A D | ResourceWriter.php | 128 $this->writer->write('2 0 obj'); 129 $this->writer->write('<</ProcSet [/PDF /Text /ImageB /ImageC /ImageI]'); 131 $this->writer->write('/Font <<'); 138 $this->writer->write('/F' . $font['subsetfontids'][$k] . ' ' . $font['n'][$k] . ' 0 R'); 141 $this->writer->write('/F' . $font['i'] . ' ' . $font['n'] . ' 0 R'); 144 $this->writer->write('>>'); 147 $this->writer->write('/ColorSpace <<'); 149 $this->writer->write('/CS' . $color['i'] . ' ' . $color['n'] . ' 0 R'); 151 $this->writer->write('>>'); 155 $this->writer->write('/ExtGStat [all...] |
H A D | ImageWriter.php | 39 $this->writer->write('<</Type /XObject'); 40 $this->writer->write('/Subtype /Image'); 41 $this->writer->write('/Width ' . $info['w']); 42 $this->writer->write('/Height ' . $info['h']); 45 $this->writer->write('/Interpolate true'); // mPDF 6 - image interpolation shall be performed by a conforming reader 49 $this->writer->write('/SMask ' . ($this->mpdf->n - 1) . ' 0 R'); 57 $this->writer->write('/ColorSpace [/ICCBased ' . ($this->mpdf->n + 1) . ' 0 R]'); 62 $this->writer->write('/ColorSpace [/Indexed /DeviceRGB ' . (strlen($info['pal']) / 3 - 1) . ' ' . ($this->mpdf->n + 1) . ' 0 R]'); 64 $this->writer->write('/ColorSpace /' . $info['cs']); 70 $this->writer->write('/Decod [all...] |
H A D | MetadataWriter.php | 146 $this->writer->write('<</Type/Metadata/Subtype/XML/Length ' . strlen($m) . '>>'); 148 $this->writer->write('endobj'); 153 $this->writer->write('/Producer ' . $this->writer->utf16BigEndianTextString('mPDF' . ($this->mpdf->exposeVersion ? (' ' . $this->getVersionString()) : ''))); 156 $this->writer->write('/Title ' . $this->writer->utf16BigEndianTextString($this->mpdf->title)); 160 $this->writer->write('/Subject ' . $this->writer->utf16BigEndianTextString($this->mpdf->subject)); 164 $this->writer->write('/Author ' . $this->writer->utf16BigEndianTextString($this->mpdf->author)); 168 $this->writer->write('/Keywords ' . $this->writer->utf16BigEndianTextString($this->mpdf->keywords)); 172 $this->writer->write('/Creator ' . $this->writer->utf16BigEndianTextString($this->mpdf->creator)); 176 $this->writer->write('/' . $key . ' ' . $this->writer->utf16BigEndianTextString($value)); 180 $this->writer->write('/CreationDat [all...] |
H A D | FormWriter.php | 37 $this->writer->write('<</Type /XObject'); 38 $this->writer->write('/Subtype /Form'); 39 $this->writer->write('/Group ' . ($this->mpdf->n + 1) . ' 0 R'); 40 $this->writer->write('/BBox [' . $info['x'] . ' ' . $info['y'] . ' ' . ($info['w'] + $info['x']) . ' ' . ($info['h'] + $info['y']) . ']'); 43 $this->writer->write('/Filter /FlateDecode'); 47 $this->writer->write('/Length ' . strlen($data) . '>>'); 52 $this->writer->write('endobj'); 56 $this->writer->write('<</Type /Group'); 57 $this->writer->write('/S /Transparency'); 58 $this->writer->write('>>'); [all...] |
H A D | JavaScriptWriter.php | 33 $this->writer->write('<<'); 34 $this->writer->write('/Names [(EmbeddedJS) ' . (1 + $this->mpdf->n) . ' 0 R ]'); 35 $this->writer->write('>>'); 36 $this->writer->write('endobj'); 39 $this->writer->write('<<'); 40 $this->writer->write('/S /JavaScript'); 41 $this->writer->write('/JS ' . $this->writer->string($this->mpdf->js)); 42 $this->writer->write('>>'); 43 $this->writer->write('endobj');
|
H A D | PageWriter.php | 145 $this->writer->write('<</Type /Page'); 146 $this->writer->write('/Parent 1 0 R'); 150 $this->writer->write(sprintf('/MediaBox [0 0 %.3F %.3F]', $hPt, $wPt)); 160 $this->writer->write(sprintf('/BleedBox [%.3F %.3F %.3F %.3F]', $x0, $y0, $x1, $y1)); 163 $this->writer->write(sprintf('/TrimBox [%.3F %.3F %.3F %.3F]', $owidthPt_TB, $owidthPt_LR, $hPt - $owidthPt_TB, $wPt - $owidthPt_LR)); 167 $this->writer->write('/Rotate 270'); 169 $this->writer->write('/Rotate 90'); 175 $this->writer->write(sprintf('/MediaBox [0 0 %.3F %.3F]', $wPt, $hPt)); 183 $this->writer->write(sprintf('/BleedBox [%.3F %.3F %.3F %.3F]', $x0, $y0, $x1, $y1)); 186 $this->writer->write(sprint [all...] |
H A D | OptionalContentWriter.php | 35 $this->writer->write('<</Type /OCG /Name ' . $this->writer->string('Print only')); 36 $this->writer->write('/Usage <</Print <</PrintState /ON>> /View <</ViewState /OFF>>>>>>'); 37 $this->writer->write('endobj'); 41 $this->writer->write('<</Type /OCG /Name ' . $this->writer->string('Screen only')); 42 $this->writer->write('/Usage <</Print <</PrintState /OFF>> /View <</ViewState /ON>>>>>>'); 43 $this->writer->write('endobj'); 47 $this->writer->write('<</Type /OCG /Name ' . $this->writer->string('Hidden')); 48 $this->writer->write('/Usage <</Print <</PrintState /OFF>> /View <</ViewState /OFF>>>>>>'); 49 $this->writer->write('endobj'); 65 $this->writer->write('<</Typ [all...] |
H A D | BookmarkWriter.php | 84 $this->writer->write('<</Title ' . $this->writer->utf16BigEndianTextString($o['t'])); 85 $this->writer->write('/Parent ' . ($n + $o['parent']) . ' 0 R'); 87 $this->writer->write('/Prev ' . ($n + $o['prev']) . ' 0 R'); 90 $this->writer->write('/Next ' . ($n + $o['next']) . ' 0 R'); 93 $this->writer->write('/First ' . ($n + $o['first']) . ' 0 R'); 96 $this->writer->write('/Last ' . ($n + $o['last']) . ' 0 R'); 106 $this->writer->write(sprintf('/Dest [%d 0 R /XYZ 0 %.3F null]', 1 + 2 * ($o['p']), ($h - $o['y']) * Mpdf::SCALE)); 117 $this->writer->write(sprintf('/F %d', $style)); 121 $this->writer->write(sprintf('/C [%.3F %.3F %.3F]', ($col[0] / 255), ($col[1] / 255), ($col[2] / 255))); 125 $this->writer->write('/Coun [all...] |
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/ |
H A D | ModuleNode.php | 136 ->write('return ') 156 ->write("}\n\n") 163 ->write("\n\n") 184 ->write("{\n") 319 ->write("}\n\n") 346 ->write("}\n\n") 355 ->write("}\n") 373 ->write("}\n\n") 425 ->write("}\n\n") 436 ->write("}\n\n") [all …]
|
H A D | CheckSecurityNode.php | 49 ->write('$tags = ')->repr(array_filter($tags))->raw(";\n") 50 ->write('$filters = ')->repr(array_filter($filters))->raw(";\n") 52 ->write("try {\n") 54 ->write("\$this->sandbox->checkSecurity(\n") 60 ->write(");\n") 62 ->write("} catch (SecurityError \$e) {\n") 64 ->write("\$e->setSourceContext(\$this->getSourceContext());\n\n") 67 ->write("\$e->setTemplateLine(\$tags[\$e->getTagName()]);\n") 77 ->write("}\n\n") 78 ->write("throw \$e;\n") [all …]
|
H A D | ForNode.php | 48 ->write("\$context['_parent'] = \$context;\n") 60 ->write("\$context['loop'] = [\n") 62 ->write(" 'index0' => 0,\n") 63 ->write(" 'index' => 1,\n") 64 ->write(" 'first' => true,\n") 65 ->write("];\n") 78 ->write("}\n") 88 ->write("foreach (\$context['_seq'] as ") 96 ->write("}\n") 101 ->write("if (!\$context['_iterated']) {\n") [all …]
|
H A D | MacroNode.php | 67 ->write("{\n") 78 ->write('') 86 ->write('') 105 ->write("]);\n\n") 106 ->write("\$blocks = [];\n\n") 107 ->write("ob_start();\n") 108 ->write("try {\n") 115 ->write("throw \$e;\n") 120 ->write("throw \$e;\n") 122 ->write("}\n\n") [all …]
|
H A D | WithNode.php | 40 ->write(sprintf('$%s = ', $varsName)) 43 ->write(sprintf("if (\$%s instanceof \\Traversable) {\n", $varsName)) 45 ->write(sprintf("\$%s = iterator_to_array(\$%s);\n", $varsName, $varsName)) 47 ->write("}\n") 48 ->write(sprintf("if (!is_array(\$%s)) {\n", $varsName)) 52 ->write("}\n") 56 $compiler->write("\$context = ['_parent' => \$context];\n"); 58 $compiler->write("\$context['_parent'] = \$context;\n"); 61 $compiler->write(sprintf("\$context = array_merge(\$context, \$%s);\n", $varsName)); 63 $compiler->write("\$context['_parent'] = \$context;\n"); [all …]
|
H A D | ForLoopNode.php | 31 $compiler->write("\$context['_iterated'] = true;\n"); 36 ->write("++\$context['loop']['index0'];\n") 37 ->write("++\$context['loop']['index'];\n") 38 ->write("\$context['loop']['first'] = false;\n") 43 ->write("if (isset(\$context['loop']['length'])) {\n") 45 ->write("--\$context['loop']['revindex0'];\n") 46 ->write("--\$context['loop']['revindex'];\n") 47 ->write("\$context['loop']['last'] = 0 === \$context['loop']['revindex0'];\n") 49 ->write("}\n")
|
H A D | SandboxNode.php | 32 ->write("if (!\$alreadySandboxed = \$this->sandbox->isSandboxed()) {\n") 34 ->write("\$this->sandbox->enableSandbox();\n") 36 ->write("}\n") 38 ->write("if (!\$alreadySandboxed) {\n") 40 ->write("\$this->sandbox->disableSandbox();\n") 42 ->write("}\n")
|
/plugin/anewssystem/ |
H A D | backlink.js | 8 this.write = backlink_write; 21 document.write('<FORM>'); 23 if (this.otheratts) document.write(' ', this.otheratts); 24 document.write('>'); 25 if (this.form)document.write('<\/FORM>'); 29 document.write(' ', this.otheratts); 30 document.write('>'); 33 if (this.width) document.write(' WIDTH=', this.width); 36 document.write(' BORDER=0>'); 39 document.write(this.text); [all …]
|
/plugin/html2pdf/html2pdf/html2ps/ |
H A D | ps.l3.image.encoder.stream.inc.php | 61 $psdata->write("\n"); 68 $psdata->write(">\ndef\n"); 116 $psdata->write(sprintf("%02X%02X%02X",$r,$g,$b)); 121 $psdata->write("\n"); 128 $psdata->write(">\ndef\n"); 167 $psdata->write("\n"); 182 $psdata->write(sprintf("%02X", $mask_data)); 184 $psdata->write(">\ndef\n"); 228 $psdata->write(sprintf("%02X%02X%02X",$r,$g,$b)); 233 $psdata->write("\n"); [all …]
|
H A D | output.fastps.class.php | 38 $this->write("clip newpath\n"); 47 $this->write("closepath\n"); 61 $this->write("fill\n"); 193 $this->write($data); 198 $this->write($data); 248 $this->write("grestore\n"); 252 $this->write("gsave\n"); 270 $this->write($data); 275 $this->write($data); 303 $this->write("stroke\n"); [all …]
|
/plugin/dw2pdf/vendor/mpdf/mpdf/src/ |
H A D | Form.php | 332 $this->writer->write($ClipPath); 341 $this->writer->write('Q'); 466 $this->writer->write(sprintf('q %.3F 0 0 %.3F %.3F %.3F cm /I%d Do Q', $objattr['INNER-WIDTH'] * Mpdf::SCALE, $objattr['INNER-HEIGHT'] * Mpdf::SCALE, $objattr['INNER-X'] * Mpdf::SCALE, ($this->mpdf->h - ($objattr['INNER-Y'] + $objattr['INNER-HEIGHT'] )) * Mpdf::SCALE, $objattr['ID'])); 733 $this->writer->write('<<'); 734 $this->writer->write('/Type /Annot '); 735 $this->writer->write('/Subtype /Widget'); 736 $this->writer->write('/NM ' . $this->writer->string(sprintf('%04u-%04u', $n, 3000 + $key++))); 737 $this->writer->write('/M ' . $this->writer->string('D:' . date('YmdHis'))); 738 $this->writer->write('/Rect [0 0 0 0] '); 739 $this->writer->write('/F [all...] |
/plugin/findologicxmlexport/vendor/hoa/file/Temporary/ |
H A D | Write.php | 121 public function write($string, $length) function in Hoa\\File\\Temporary\\Write 144 return $this->write($string, strlen($string)); 155 return $this->write((string) $char[0], 1); 166 return $this->write((string) (bool) $boolean, 1); 179 return $this->write($integer, strlen($integer)); 192 return $this->write($float, strlen($float)); 205 return $this->write($array, strlen($array)); 217 return $this->write($line . "\n", strlen($line) + 1); 222 return $this->write(substr($line, 0, $n), $n); 233 return $this->write($string, strlen($string));
|
/plugin/findologicxmlexport/vendor/hoa/file/Link/ |
H A D | Write.php | 120 public function write($string, $length) function in Hoa\\File\\Link\\Write 143 return $this->write($string, strlen($string)); 154 return $this->write((string) $char[0], 1); 165 return $this->write((string) (bool) $boolean, 1); 178 return $this->write($integer, strlen($integer)); 191 return $this->write($float, strlen($float)); 204 return $this->write($array, strlen($array)); 216 return $this->write($line . "\n", strlen($line) + 1); 221 return $this->write(substr($line, 0, $n), $n); 232 return $this->write($string, strlen($string));
|
/plugin/findologicxmlexport/vendor/hoa/file/ |
H A D | Write.php | 121 public function write($string, $length) function in Hoa\\File\\Write 144 return $this->write($string, strlen($string)); 155 return $this->write((string) $char[0], 1); 166 return $this->write((string) (bool) $boolean, 1); 179 return $this->write($integer, strlen($integer)); 192 return $this->write($float, strlen($float)); 205 return $this->write($array, strlen($array)); 217 return $this->write($line . "\n", strlen($line) + 1); 222 return $this->write(substr($line, 0, $n), $n); 233 return $this->write($string, strlen($string));
|
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/ |
H A D | BufferStreamTest.php | 24 $this->assertEquals(3, $b->write('foo')); 35 $b->write('foo'); 36 $b->write('baz'); 38 $b->write('bar'); 46 $b->write('foo'); 50 $this->assertEquals(3, $b->write('abc')); 57 $this->assertEquals(3, $b->write('hi ')); 58 $this->assertFalse($b->write('hello')); 60 $this->assertEquals(4, $b->write('test'));
|