芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/giga.mgaplay.com.br/vendor/mpdf/mpdf/src/Writer/OptionalContentWriter.php
mpdf = $mpdf; $this->writer = $writer; } public function writeOptionalContentGroups() // _putocg Optional Content Groups { if ($this->mpdf->hasOC) { $this->writer->object(); $this->mpdf->n_ocg_print = $this->mpdf->n; $this->writer->write('<writer->string('Print only')); $this->writer->write('/Usage <> /View <>>>>>'); $this->writer->write('endobj'); $this->writer->object(); $this->mpdf->n_ocg_view = $this->mpdf->n; $this->writer->write('<writer->string('Screen only')); $this->writer->write('/Usage <> /View <>>>>>'); $this->writer->write('endobj'); $this->writer->object(); $this->mpdf->n_ocg_hidden = $this->mpdf->n; $this->writer->write('<writer->string('Hidden')); $this->writer->write('/Usage <> /View <>>>>>'); $this->writer->write('endobj'); } if (count($this->mpdf->layers)) { ksort($this->mpdf->layers); foreach ($this->mpdf->layers as $id => $layer) { $this->writer->object(); $this->mpdf->layers[$id]['n'] = $this->mpdf->n; if (isset($this->mpdf->layerDetails[$id]['name']) && $this->mpdf->layerDetails[$id]['name']) { $name = $this->mpdf->layerDetails[$id]['name']; } else { $name = $layer['name']; } $this->writer->write('<writer->utf16BigEndianTextString($name) . '>>'); $this->writer->write('endobj'); } } } }