Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 1370) sorted by relevance

12345678910>>...55

/plugin/dw2pdf/vendor/mpdf/mpdf/src/Writer/
DBackgroundWriter.php128 $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('/Font <<');
[all …]
DFontWriter.php100 $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('/Encoding /WinAnsiEncoding');
[all …]
DResourceWriter.php128 $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('/ExtGState <<');
[all …]
DImageWriter.php39 $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…
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) . ' ' . …
64 $this->writer->write('/ColorSpace /' . $info['cs']);
70 $this->writer->write('/Decode [1 0 1 0 1 0 1 0]');
[all …]
DMetadataWriter.php146 $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-…
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('/CreationDate ' . $this->writer->string('D:' . $now));
[all …]
DFormWriter.php37 $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']) .…
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 …]
DPageWriter.php145 $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 - …
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(sprintf('/TrimBox [%.3F %.3F %.3F %.3F]', $owidthPt_LR, $owidthPt_TB, $wPt - …
[all …]
DJavaScriptWriter.php33 $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');
DOptionalContentWriter.php35 $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('<</Type /OCG /Name ' . $this->writer->utf16BigEndianTextString($name) . '>>'…
[all …]
DBookmarkWriter.php84 $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']) …
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] / 2…
125 $this->writer->write('/Count 0>>');
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/src/Node/
DModuleNode.php88 $compiler->write('<?php');
133 ->write("protected function doGetParent(array \$context)\n", "{\n")
136 ->write('return ')
156 ->write("}\n\n")
163 ->write("\n\n")
167 ->write("use Twig\Environment;\n")
168 ->write("use Twig\Error\LoaderError;\n")
169 ->write("use Twig\Error\RuntimeError;\n")
170 ->write("use Twig\Markup;\n")
171 ->write("use Twig\Sandbox\SecurityError;\n")
[all …]
DCheckSecurityNode.php48 … ->write("\$this->sandbox = \$this->env->getExtension('\Twig\Extension\SandboxExtension');\n")
49 ->write('$tags = ')->repr(array_filter($tags))->raw(";\n")
50 ->write('$filters = ')->repr(array_filter($filters))->raw(";\n")
51 ->write('$functions = ')->repr(array_filter($functions))->raw(";\n\n")
52 ->write("try {\n")
54 ->write("\$this->sandbox->checkSecurity(\n")
56 ->write(!$tags ? "[],\n" : "['".implode("', '", array_keys($tags))."'],\n")
57 ->write(!$filters ? "[],\n" : "['".implode("', '", array_keys($filters))."'],\n")
58 ->write(!$functions ? "[]\n" : "['".implode("', '", array_keys($functions))."']\n")
60 ->write(");\n")
[all …]
DForNode.php48 ->write("\$context['_parent'] = \$context;\n")
49 ->write("\$context['_seq'] = twig_ensure_traversable(")
55 $compiler->write("\$context['_iterated'] = false;\n");
60 ->write("\$context['loop'] = [\n")
61 ->write(" 'parent' => \$context['_parent'],\n")
62 ->write(" 'index0' => 0,\n")
63 ->write(" 'index' => 1,\n")
64 ->write(" 'first' => true,\n")
65 ->write("];\n")
70 …->write("if (is_array(\$context['_seq']) || (is_object(\$context['_seq']) && \$context['_seq'] ins…
[all …]
DMacroNode.php41 ->write(sprintf('public function get%s(', $this->getAttribute('name')))
67 ->write("{\n")
72 ->write("\$context = \$this->env->mergeGlobals([\n")
78 ->write('')
86 ->write('')
105 ->write("]);\n\n")
106 ->write("\$blocks = [];\n\n")
107 ->write("ob_start();\n")
108 ->write("try {\n")
112 ->write("} catch (\Exception \$e) {\n")
[all …]
DWithNode.php40 ->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))
50 … ->write("throw new RuntimeError('Variables passed to the \"with\" tag must be a hash.');\n")
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));
[all …]
DForLoopNode.php31 $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")
DSandboxNode.php32 ->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/
Dbacklink.js8 this.write = backlink_write;
21 document.write('<FORM>');
22 document.write('<INPUT TYPE=BUTTON onClick="history.back(-1)" VALUE="', this.text, '"');
23 if (this.otheratts) document.write(' ', this.otheratts);
24 document.write('>');
25 if (this.form)document.write('<\/FORM>');
27 document.write('<A HREF="javascript:history.back(-1)"');
29 document.write(' ', this.otheratts);
30 document.write('>');
32 document.write('<IMG SRC="', this.src, '" ALT="', this.text, '"');
[all …]
/plugin/html2pdf/html2pdf/html2ps/
Dps.l3.image.encoder.stream.inc.php43 $psdata->write("/image-{$id}-init { image-{$id}-data 0 setfileposition } def\n");
44 …$psdata->write("/image-{$id}-data currentfile << /Filter /ASCIIHexDecode >> /ReusableStreamDecode …
56 … $psdata->write(sprintf("%02X%02X%02X",min(max($r,0),255),min(max($g,0),255),min(max($b,0),255)));
61 $psdata->write("\n");
68 $psdata->write(">\ndef\n");
100 …$psdata->write("/image-{$id}-init { image-{$id}-data 0 setfileposition mask-{$id}-data 0 setfilepo…
103 …$psdata->write("/image-{$id}-data currentfile << /Filter /ASCIIHexDecode >> /ReusableStreamDecode …
116 $psdata->write(sprintf("%02X%02X%02X",$r,$g,$b));
121 $psdata->write("\n");
128 $psdata->write(">\ndef\n");
[all …]
Doutput.fastps.class.php23 …$this->write(sprintf("[ /Rect [ %.2f %.2f %.2f %.2f ] /Action << /Subtype /URI /URI (%s) >> /Borde…
28 …$this->write(sprintf("[ /Rect [ %.2f %.2f %.2f %.2f ] /Page %d /View [ /XYZ null %.2f null ] /Bord…
34 $this->write(sprintf("%.2f %.2f %.2f 0 360 arc\n", $x, $y, $r));
38 $this->write("clip newpath\n");
47 $this->write("closepath\n");
51 $this->write(sprintf("[%.2f %.2f] 0 setdash\n", $x, $y));
61 $this->write("fill\n");
123 $this->write(sprintf("%.2f %.2f %s %s {%s} %d %d image-create image-show\n",
139 $this->write(sprintf("%.2f %.2f %s %s {%s} %d %d image-create image-show\n",
154 …$this->write(sprintf("%.2f %.2f %.2f %.2f %.2f %.2f %.2f %s %s {%s} %d %d image-create image-show-…
[all …]
/plugin/dw2pdf/vendor/mpdf/mpdf/src/
DForm.php332 $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'] * M…
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('/FT /Btn ');
[all …]
/plugin/findologicxmlexport/vendor/hoa/file/
DWrite.php121 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/findologicxmlexport/vendor/hoa/file/Temporary/
DWrite.php121 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/
DWrite.php120 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/elasticsearch/vendor/ezimuel/guzzlestreams/tests/
DBufferStreamTest.php24 $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'));

12345678910>>...55