Lines Matching refs:document
14 $document =& $params['document'];
17 $toc =& $this->find_toc_anchors($pipeline, $media, $document);
18 $this->update_document($toc, $pipeline, $media, $document);
23 $document =& $params['document'];
27 $toc =& $this->find_toc_anchors($pipeline, $media, $document);
28 $this->update_page_numbers($toc, $pipeline, $document, $page_heights, $media);
31 function &find_toc_anchors(&$pipeline, &$media, &$document) { argument
33 $toc =& $locator->run($pipeline, $media, $document);
93 function update_document(&$toc, &$pipeline, &$media, &$document) { argument
120 $document_updater->run($toc_box, $media, $document);
123 function update_page_numbers(&$toc, &$pipeline, &$document, &$page_heights, &$media) { argument
125 $toc_element =& $document->get_element_by_id($this->make_toc_page_element_id($i+1));
168 function &run(&$pipeline, &$media, &$document) { argument
171 $walker->run($document);
193 function run(&$toc_box, &$media, &$document) { argument
195 $document->append_child($toc_box);
203 function run(&$toc_box, &$media, &$document) { argument
205 $document->insert_before($toc_box, $document->content[0]);
213 function run(&$toc_box, &$media, &$document) { argument
214 $placeholder =& $document->get_element_by_id('html2ps-toc');