Home
last modified time | relevance | path

Searched refs:writer (Results 1 – 25 of 236) sorted by relevance

12345678910

/plugin/dw2pdf/vendor/mpdf/mpdf/src/Writer/
DBackgroundWriter.php21 private $writer; variable in Mpdf\\Writer\\BackgroundWriter
23 public function __construct(Mpdf $mpdf, BaseWriter $writer) argument
26 $this->writer = $writer;
127 $this->writer->object();
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('>>');
[all …]
DFontWriter.php23 private $writer; variable in Mpdf\\Writer\\FontWriter
35 public function __construct(Mpdf $mpdf, BaseWriter $writer, FontCache $fontCache, $fontDescriptor) argument
38 $this->writer = $writer;
73 $this->writer->object();
100 $this->writer->write('<</Length ' . strlen($font));
101 $this->writer->write('/Filter /FlateDecode');
102 $this->writer->write('/Length1 ' . $originalsize);
103 $this->writer->write('>>');
104 $this->writer->stream($font);
105 $this->writer->write('endobj');
[all …]
DImageWriter.php21 private $writer; variable in Mpdf\\Writer\\ImageWriter
23 public function __construct(Mpdf $mpdf, BaseWriter $writer) argument
26 $this->writer = $writer;
35 $this->writer->object();
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…
49 $this->writer->write('/SMask ' . ($this->mpdf->n - 1) . ' 0 R');
[all …]
DOptionalContentWriter.php21 private $writer; variable in Mpdf\\Writer\\OptionalContentWriter
23 public function __construct(Mpdf $mpdf, BaseWriter $writer) argument
26 $this->writer = $writer;
33 $this->writer->object();
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');
39 $this->writer->object();
41 $this->writer->write('<</Type /OCG /Name ' . $this->writer->string('Screen only'));
42 $this->writer->write('/Usage <</Print <</PrintState /OFF>> /View <</ViewState /ON>>>>>>');
[all …]
DMetadataWriter.php26 private $writer; variable in Mpdf\\Writer\\MetadataWriter
43 …public function __construct(Mpdf $mpdf, BaseWriter $writer, Form $form, Protection $protection, Lo… argument
46 $this->writer = $writer;
54 $this->writer->object();
146 $this->writer->write('<</Type/Metadata/Subtype/XML/Length ' . strlen($m) . '>>');
147 $this->writer->stream($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));
[all …]
DResourceWriter.php22 private $writer; variable in Mpdf\\Writer\\ResourceWriter
76 BaseWriter $writer, argument
89 $this->writer = $writer;
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 <<');
[all …]
DFormWriter.php21 private $writer; variable in Mpdf\\Writer\\FormWriter
23 public function __construct(Mpdf $mpdf, BaseWriter $writer) argument
26 $this->writer = $writer;
33 $this->writer->object();
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']) .…
43 $this->writer->write('/Filter /FlateDecode');
47 $this->writer->write('/Length ' . strlen($data) . '>>');
[all …]
DJavaScriptWriter.php21 private $writer; variable in Mpdf\\Writer\\JavaScriptWriter
23 public function __construct(Mpdf $mpdf, BaseWriter $writer) argument
26 $this->writer = $writer;
31 $this->writer->object();
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');
38 $this->writer->object();
39 $this->writer->write('<<');
[all …]
DBookmarkWriter.php21 private $writer; variable in Mpdf\\Writer\\BookmarkWriter
23 public function __construct(Mpdf $mpdf, BaseWriter $writer) argument
26 $this->writer = $writer;
83 $this->writer->object();
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');
[all …]
DPageWriter.php27 private $writer; variable in Mpdf\\Writer\\PageWriter
34 …public function __construct(Mpdf $mpdf, Form $form, BaseWriter $writer, MetadataWriter $metadataWr… argument
38 $this->writer = $writer;
144 $this->writer->object();
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 - …
167 $this->writer->write('/Rotate 270');
[all …]
/plugin/icalevents/vendor/sabre/xml/lib/Serializer/
Dfunctions.php37 * @param Writer $writer
41 function enum(Writer $writer, array $values) { argument
44 $writer->writeElement($value);
57 * @param Writer $writer
61 function valueObject(Writer $writer, $valueObject, $namespace) { argument
67 $writer->writeElement('{' . $namespace . '}' . $key, $child);
71 $writer->writeElement('{' . $namespace . '}' . $key, $val);
92 * @param Writer $writer
97 function repeatingElements(Writer $writer, array $items, $childElementName) { argument
100 $writer->writeElement($childElementName, $item);
[all …]
/plugin/webdav/vendor/sabre/xml/lib/Serializer/
Dfunctions.php37 * @param Writer $writer
41 function enum(Writer $writer, array $values) { argument
44 $writer->writeElement($value);
57 * @param Writer $writer
61 function valueObject(Writer $writer, $valueObject, $namespace) { argument
67 $writer->writeElement('{' . $namespace . '}' . $key, $child);
71 $writer->writeElement('{' . $namespace . '}' . $key, $val);
92 * @param Writer $writer
97 function repeatingElements(Writer $writer, array $items, $childElementName) { argument
100 $writer->writeElement($childElementName, $item);
[all …]
/plugin/davcal/vendor/sabre/dav/lib/CalDAV/Xml/Notification/
H A DInvite.php183 * @param Writer $writer
186 function xmlSerialize(Writer $writer) { argument
188 $writer->writeElement('{' . CalDAV\Plugin::NS_CALENDARSERVER . '}invite-notification');
196 * @param Writer $writer
199 function xmlSerializeFull(Writer $writer) { argument
204 $writer->writeElement($cs . 'dtstamp', $this->dtStamp->format('Ymd\\THis\\Z'));
206 $writer->startElement($cs . 'invite-notification');
208 $writer->writeElement($cs . 'uid', $this->id);
209 $writer->writeElement('{DAV:}href', $this->href);
214 $writer->writeElement($cs . 'invite-accepted');
[all …]
H A DInviteReply.php134 * @param Writer $writer
137 function xmlSerialize(Writer $writer) { argument
139 $writer->writeElement('{' . CalDAV\Plugin::NS_CALENDARSERVER . '}invite-reply');
147 * @param Writer $writer
150 function xmlSerializeFull(Writer $writer) { argument
155 $writer->writeElement($cs . 'dtstamp', $this->dtStamp->format('Ymd\\THis\\Z'));
157 $writer->startElement($cs . 'invite-reply');
159 $writer->writeElement($cs . 'uid', $this->id);
160 $writer->writeElement($cs . 'in-reply-to', $this->inReplyTo);
161 $writer->writeElement('{DAV:}href', $this->href);
[all …]
/plugin/webdav/vendor/sabre/dav/lib/CalDAV/Xml/Notification/
DInvite.php184 * @param Writer $writer
187 function xmlSerialize(Writer $writer) { argument
189 $writer->writeElement('{' . CalDAV\Plugin::NS_CALENDARSERVER . '}invite-notification');
197 * @param Writer $writer
200 function xmlSerializeFull(Writer $writer) { argument
205 $writer->writeElement($cs . 'dtstamp', $this->dtStamp->format('Ymd\\THis\\Z'));
207 $writer->startElement($cs . 'invite-notification');
209 $writer->writeElement($cs . 'uid', $this->id);
210 $writer->writeElement('{DAV:}href', $this->href);
215 $writer->writeElement($cs . 'invite-accepted');
[all …]
DInviteReply.php135 * @param Writer $writer
138 function xmlSerialize(Writer $writer) { argument
140 $writer->writeElement('{' . CalDAV\Plugin::NS_CALENDARSERVER . '}invite-reply');
148 * @param Writer $writer
151 function xmlSerializeFull(Writer $writer) { argument
156 $writer->writeElement($cs . 'dtstamp', $this->dtStamp->format('Ymd\\THis\\Z'));
158 $writer->startElement($cs . 'invite-reply');
160 $writer->writeElement($cs . 'uid', $this->id);
161 $writer->writeElement($cs . 'in-reply-to', $this->inReplyTo);
162 $writer->writeElement('{DAV:}href', $this->href);
[all …]
/plugin/webdav/vendor/sabre/dav/lib/DAV/Xml/Property/
DLockDiscovery.php65 * @param Writer $writer
68 function xmlSerialize(Writer $writer) { argument
72 $writer->startElement('{DAV:}activelock');
74 $writer->startElement('{DAV:}lockscope');
76 $writer->writeElement('{DAV:}shared');
78 $writer->writeElement('{DAV:}exclusive');
81 $writer->endElement(); // {DAV:}lockscope
83 $writer->startElement('{DAV:}locktype');
84 $writer->writeElement('{DAV:}write');
85 $writer->endElement(); // {DAV:}locktype
[all …]
/plugin/davcal/vendor/sabre/dav/lib/DAV/Xml/Property/
H A DLockDiscovery.php65 * @param Writer $writer
68 function xmlSerialize(Writer $writer) { argument
72 $writer->startElement('{DAV:}activelock');
74 $writer->startElement('{DAV:}lockscope');
76 $writer->writeElement('{DAV:}shared');
78 $writer->writeElement('{DAV:}exclusive');
81 $writer->endElement(); // {DAV:}lockscope
83 $writer->startElement('{DAV:}locktype');
84 $writer->writeElement('{DAV:}write');
85 $writer->endElement(); // {DAV:}locktype
[all …]
/plugin/solr/
DAddDocument.php14 protected $writer; variable in Solr_AddDocument
16 public function __construct(XMLWriter $writer){ argument
17 $this->writer = $writer;
21 $this->writer->startDocument();
22 $this->writer->startElement('add');
24 $this->writer->writeAttribute('commitWithin', $commitWithin);
29 $this->writer->endElement();
33 $writer = $this->writer;
34 $writer->startElement("doc");
45 $writer->endElement();
[all …]
/plugin/icalevents/vendor/sabre/xml/tests/Sabre/Xml/
DWriterTest.php7 protected $writer; variable in Sabre\\Xml\\WriterTest
11 $this->writer = new Writer();
12 $this->writer->namespaceMap = [
295 $this->writer->namespaceMap['http://sabredav.org/ns'] = null;
311 $this->writer->namespaceMap['http://sabredav.org/ns'] = '';
327 $this->writer->writeElement("{http://sabredav.org/ns}foo", 'content');
335 $this->assertEquals($output, $this->writer->outputMemory());
342 …$this->writer->writeElement("{http://sabredav.org/ns}foo", new Element\KeyValue(['{http://sabredav…
352 $this->assertEquals($output, $this->writer->outputMemory());
361 $this->writer->write(new \StdClass());
[all …]
/plugin/davcal/vendor/sabre/dav/lib/CalDAV/Xml/Property/
H A DInvite.php100 * @param Writer $writer
103 function xmlSerialize(Writer $writer) { argument
109 $writer->startElement($cs . 'organizer');
110 $writer->writeElement('{DAV:}href', $this->organizer['href']);
113 $writer->writeElement($cs . 'common-name', $this->organizer['commonName']);
116 $writer->writeElement($cs . 'first-name', $this->organizer['firstName']);
119 $writer->writeElement($cs . 'last-name', $this->organizer['lastName']);
121 $writer->endElement(); // organizer
127 $writer->startElement($cs . 'user');
128 $writer->writeElement('{DAV:}href', $user['href']);
[all …]
/plugin/dw2pdf/vendor/mpdf/mpdf/src/
DForm.php47 private $writer; variable in Mpdf\\Form
104 …struct(Mpdf $mpdf, Otl $otl, ColorConverter $colorConverter, BaseWriter $writer, FormWriter $formW… argument
109 $this->writer = $writer;
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'] * M…
731 $this->writer->object();
733 $this->writer->write('<<');
734 $this->writer->write('/Type /Annot ');
735 $this->writer->write('/Subtype /Widget');
[all …]
/plugin/webdav/vendor/sabre/dav/lib/CalDAV/Xml/Property/
DInvite.php70 * @param Writer $writer
73 function xmlSerialize(Writer $writer) { argument
80 $writer->startElement($cs . 'organizer');
82 $writer->startElement($cs . 'user');
86 $writer->writeElement($cs . 'invite-accepted');
89 $writer->writeElement($cs . 'invite-declined');
92 $writer->writeElement($cs . 'invite-noresponse');
95 $writer->writeElement($cs . 'invite-invalid');
99 $writer->startElement($cs . 'access');
102 $writer->writeElement($cs . 'read-write');
[all …]
/plugin/zip/pear/File/Archive/
DReader.php239 function sendData(&$writer, $bufferSize = 0) argument
241 if (PEAR::isError($writer)) {
242 return $writer;
250 $error = $writer->writeFile($filename);
259 $error = $writer->writeData($data);
270 * @param File_Archive_Writer $writer Where to write the files of the reader
276 function extract(&$writer, $autoClose = true, $bufferSize = 0) argument
278 if (PEAR::isError($writer)) {
280 return $writer;
284 if ($writer->newFileNeedsMIME()) {
[all …]
/plugin/davcal/vendor/sabre/dav/lib/DAVACL/Xml/Property/
H A DSupportedPrivilegeSet.php71 * @param Writer $writer
74 function xmlSerialize(Writer $writer) { argument
76 $this->serializePriv($writer, $this->privileges);
131 * @param Writer $writer
135 private function serializePriv(Writer $writer, $privilege) { argument
137 $writer->startElement('{DAV:}supported-privilege');
139 $writer->startElement('{DAV:}privilege');
140 $writer->writeElement($privilege['privilege']);
141 $writer->endElement(); // privilege
144 $writer->writeElement('{DAV:}abstract');
[all …]

12345678910