function _putcatalog() { parent::_putcatalog(); if (is_int(strpos($this->DisplayPreferences, 'FullScreen'))) { $this->_out('/PageMode /FullScreen'); } if ($this->DisplayPreferences) { $this->_out('/ViewerPreferences<<'); if (is_int(strpos($this->DisplayPreferences, 'HideMenubar'))) { $this->_out('/HideMenubar true'); } if (is_int(strpos($this->DisplayPreferences, 'HideToolbar'))) { $this->_out('/HideToolbar true'); } if (is_int(strpos($this->DisplayPreferences, 'HideWindowUI'))) { $this->_out('/HideWindowUI true'); } if (is_int(strpos($this->DisplayPreferences, 'DisplayDocTitle'))) { $this->_out('/DisplayDocTitle true'); } if (is_int(strpos($this->DisplayPreferences, 'CenterWindow'))) { $this->_out('/CenterWindow true'); } if (is_int(strpos($this->DisplayPreferences, 'FitWindow'))) { $this->_out('/FitWindow true'); } $this->_out('>>'); } }
function _putcatalog() { parent::_putcatalog(); if (!empty($this->javascript)) { $this->_out('/Names <</JavaScript ' . $this->n_js . ' 0 R>>'); } }
function _putcatalog() { parent::_putcatalog(); if (count($this->outlines) > 0) { $this->_out('/Outlines ' . $this->OutlineRoot . ' 0 R'); $this->_out('/PageMode /UseOutlines'); } }
function _putcatalog() { parent::_putcatalog(); $p = $this->n_ocg_print . ' 0 R'; $v = $this->n_ocg_view . ' 0 R'; $as = "<</Event /Print /OCGs [{$p} {$v}] /Category [/Print]>> <</Event /View /OCGs [{$p} {$v}] /Category [/View]>>"; $this->_out("/OCProperties <</OCGs [{$p} {$v}] /D <</ON [{$p}] /OFF [{$v}] /AS [{$as}]>>>>"); }
function _putcatalog() { parent::_putcatalog(); // Disable the page scaling option in the printing dialog $this->_out('/ViewerPreferences <</PrintScaling /None>>'); }
function _putcatalog() { parent::_putcatalog(); if (isset($this->javascript)) { $this->_out('/Names <</JavaScript '.($this->n_js).' 0 R>>'); } }
function _putcatalog() { parent::_putcatalog(); if (isset($this->javascript)) { $this->_out('/Names <</JavaScript ' . $this->n_js . ' 0 R>>'); } if (count($this->outlines) > 0) { $this->_out('/Outlines ' . $this->OutlineRoot . ' 0 R'); $this->_out('/PageMode /UseOutlines'); } }
public function _putcatalog() { parent::_putcatalog(); if (count($this->pdf_bookmarks) > 0) { $this->_out('/Outlines ' . $this->pdf_bookmarks_outline_object_n . ' 0 R'); $this->_out('/PageMode /UseOutlines'); } }
function _putcatalog() { parent::_putcatalog(); $this->_out('/ViewerPreferences <</PrintScaling /None>>'); }