/plugin/html2pdf/html2pdf/html2ps/ |
H A D | filter.pre.headfoot.class.php | 19 function process(&$tree, $data, &$pipeline) { argument 25 $box =& $parser->process($this->header_html, $pipeline, $null); 30 $box =& $parser->process($this->footer_html, $pipeline, $null);
|
H A D | filter.pre.height-constraint.class.php | 8 function process(&$tree, $data, &$pipeline) { argument 44 $this->process($tree->content[$i], $data, $pipeline);
|
H A D | html.attrs.inc.php | 154 function execute_attrs_before($root, &$pipeline) { execute_attrs($root, '_before', $pipeline); } argument 155 function execute_attrs_after($root, &$pipeline) { execute_attrs($root, '_after', $pipeline); } argument 164 $fun($root, $pipeline); 172 $fun($root, $pipeline); 264 $css->add_rule($rule, $pipeline); 584 $pipeline); 607 $width->css($value,$pipeline); 626 $handler->css($value,$pipeline); 638 $handler->css($value,$pipeline); 720 $handler->css($pipeline->guess_url($root->get_attribute('action')),$pipeline); [all …]
|
H A D | image.class.php | 60 function get($url, &$pipeline) { argument 87 $data = $pipeline->fetch($url); 97 $pipeline->pop_base_url();
|
H A D | inline.content.builder.normal.php | 15 function build(&$box, $text, &$pipeline) { argument 23 $whitespace =& WhitespaceBox::create($pipeline); 30 $whitespace =& WhitespaceBox::create($pipeline); 43 $box->process_word($word, $pipeline); 53 $whitespace =& WhitespaceBox::create($pipeline);
|
H A D | inline.content.builder.nowrap.php | 15 function build(&$box, $raw_content, &$pipeline) { argument 18 $box->process_word($this->collapse_whitespace($raw_content), $pipeline);
|
H A D | inline.content.builder.php | 744 function add_line_break(&$box, &$pipeline) { argument 746 $break_box->readCSS($pipeline->get_current_css_state()); 750 function build(&$box, $text, &$pipeline) { argument
|
H A D | inline.content.builder.pre.line.php | 15 function build(&$box, $text, &$pipeline) { argument 26 $box->process_word($word, $pipeline); 28 $whitespace =& WhitespaceBox::create($pipeline); 33 $this->add_line_break($box, $pipeline);
|
H A D | inline.content.builder.pre.php | 19 function build(&$box, $text, &$pipeline) { argument 27 $box->process_word($line, $pipeline); 30 $this->add_line_break($box, $pipeline);
|
H A D | inline.content.builder.pre.wrap.php | 20 function build(&$box, $text, &$pipeline) { argument 31 $box->process_word($word, $pipeline); 33 $whitespace =& WhitespaceBox::create($pipeline); 38 $this->add_line_break($box, $pipeline);
|
H A D | parser.xhtml.class.php | 3 function &process($html, &$pipeline, &$media) { argument 28 $this->_scan_base($dom_tree, $pipeline); 39 $css =& $pipeline->get_current_css(); 40 $css->scan_styles($dom_tree, $pipeline); 44 $pipeline->get_page_media(1, $media); 45 $pipeline->output_driver->update_media($media); 46 $pipeline->_setupScales($media); 50 $box =& create_pdf_box($body, $pipeline); 55 function _scan_base(&$root, &$pipeline) { argument 72 $pipeline->pop_base_url(); [all …]
|
H A D | pipeline.factory.class.php | 7 $pipeline =& new Pipeline(); 10 $pipeline->configure($GLOBALS['g_config']); 12 $pipeline->configure(array()); 20 $pipeline->fetchers[] = new FetcherURL(); 23 $pipeline->data_filters[] = new DataFilterDoctype(); 26 $pipeline->parser = new ParserXHTML(); 27 $pipeline->pre_tree_filters = array(); 28 $pipeline->layout_engine = new LayoutEngineDefault(); 29 $pipeline->post_tree_filters = array(); 31 $pipeline->output_filters = array(); [all …]
|
H A D | strategy.page.break.simple.php | 7 function run(&$pipeline, &$media, &$box) { argument
|
H A D | strategy.page.break.smart.php | 7 function run(&$pipeline, &$media, &$box) { argument
|
/plugin/html2pdf/html2pdf/html2ps/samples/API/events/1/ |
H A D | html2pdf.php | 208 $pipeline = new Pipeline(); variable 210 $pipeline->fetchers[] = new FetcherUrl(); 212 $pipeline->data_filters[] = new DataFilterDoctype(); 216 $pipeline->parser = new ParserXHTML(); 218 $pipeline->pre_tree_filters = array(); 221 $pipeline->layout_engine = new LayoutEngineDefault(); 223 $pipeline->post_tree_filters = array(); 225 $pipeline->output_driver = new OutputDriverFPDF(); 230 $dispatcher =& $pipeline->getDispatcher(); 238 $status = $pipeline->process ( $fi, $g_media ); [all …]
|
/plugin/html2pdf/html2pdf/html2ps/samples/ |
H A D | sample.pipeline.custom.php | 29 $pipeline = new Pipeline; variable 30 $pipeline->configure($g_config); 31 $pipeline->fetchers[] = new FetcherURL; 32 $pipeline->data_filters[] = new DataFilterHTML2XHTML; 33 $pipeline->parser = new ParserXHTML; 34 $pipeline->layout_engine = new LayoutEngineDefault; 35 $pipeline->output_driver = new OutputDriverFPDF($media); 36 $pipeline->destination = new DestinationFile(null); 38 $pipeline->process('http://localhost:81/testing/ww.html', $media);
|
H A D | sample.pipeline.default.php | 32 $pipeline = PipelineFactory::create_default_pipeline("",""); variable 33 $pipeline->configure($g_config); 34 $pipeline->process('http://localhost:81/testing/ww.html', $media);
|
H A D | sample.simplest.from.file.php | 56 $pipeline = PipelineFactory::create_default_pipeline("", // Attempt to auto-detect encoding 59 $pipeline->fetchers[] = new MyFetcherLocalFile($path_to_html); 62 $pipeline->pre_tree_filters[] = $filter; 65 $pipeline->destination = new MyDestinationFile($path_to_pdf); 90 $pipeline->configure($g_config); 91 $pipeline->add_feature('toc', array('location' => 'before')); 92 $pipeline->process($baseurl, $media);
|
H A D | sample.simplest.from.memory.php | 73 $pipeline = PipelineFactory::create_default_pipeline('', // Attempt to auto-detect encoding 79 $pipeline->fetchers[] = new MyFetcherMemory($html, $base_path); 82 $pipeline->destination = new MyDestinationFile($path_to_pdf); 108 $pipeline->configure($g_config); 109 $pipeline->process_batch(array($baseurl), $media);
|
/plugin/html2pdf/html2pdf/html2ps/templates/ |
H A D | error._no_fetchers.tpl | 3 Please add at least one fetcher object to the pipeline, using the following code: 5 $pipeline->fetchers[] = new FetcherURL();
|
/plugin/html2pdf/html2pdf/html2ps/unittest/ |
H A D | generic.test.php | 4 function layoutPipeline($html, &$pipeline, &$media, &$context, &$positioned_filter) { argument 5 $pipeline->clear_box_id_map(); 6 $pipeline->fetchers = array(new MyFetcherMemory($html, realpath(dirname(__FILE__))), 8 return $pipeline->_layout_item("", $media, 0, $context, $positioned_filter); 12 $pipeline = PipelineFactory::create_default_pipeline("", ""); 13 $pipeline->configure(array('scalepoints' => false)); 15 $pipeline->data_filters[] = new DataFilterHTML2XHTML(); 16 $pipeline->destination = new DestinationFile("test.pdf"); 18 $pipeline->_prepare($media); 19 return $pipeline; [all …]
|
H A D | test.css.margin.boxes.php | 12 $pipeline =& PipelineFactory::create_default_pipeline('utf-8', 'test.pdf'); 13 $pipeline->_setupScales($media); 14 $pipeline->_cssState = array(new CSSState(CSS::get())); 16 $boxes = $pipeline->reflow_margin_boxes(1, $media); 31 $pipeline =& PipelineFactory::create_default_pipeline('utf-8', 'test.pdf'); 32 $pipeline->_setupScales($media); 33 $pipeline->_cssState = array(new CSSState(CSS::get())); 35 $boxes = $pipeline->reflow_margin_boxes(1, $media); 51 $pipeline->_prepare($media); 52 $pipeline->_cssState = array(new CSSState(CSS::get())); [all …]
|
H A D | test.css.parse.atrules.php | 5 $pipeline =& PipelineFactory::create_default_pipeline('utf-8', 'test.pdf'); 6 …{ background-color: green; } @page { background-color: red; } #test { border: none; }', $pipeline); 10 …$color =& $pipeline->_page_at_rules[CSS_PAGE_SELECTOR_ALL][0]->css->getPropertyValue(CSS_BACKGROUN… 18 $pipeline =& PipelineFactory::create_default_pipeline('utf-8', 'test.pdf'); 19 …lor: green; } @page { @top-left { background-color: lime; } } #test { border: none; }', $pipeline); 23 …$color =& $pipeline->_page_at_rules[CSS_PAGE_SELECTOR_ALL][0]->margin_boxes[CSS_MARGIN_BOX_SELECTO… 31 $pipeline =& PipelineFactory::create_default_pipeline('utf-8', 'test.pdf'); 32 …ound-color: green; } @page { @top-left { content: "TEXT"; } } #test { border: none; }', $pipeline); 36 …$content =& $pipeline->_page_at_rules[CSS_PAGE_SELECTOR_ALL][0]->margin_boxes[CSS_MARGIN_BOX_SELEC…
|
H A D | test.left.percentage.php | 106 ', $media, $pipeline, $context, $postponed);
|
H A D | test.note-call.width.php | 5 $pipeline = PipelineFactory::create_default_pipeline("", ""); 6 $pipeline->configure(array('scalepoints' => false)); 8 $pipeline->fetchers = array(new MyFetcherMemory($html, "")); 9 $pipeline->data_filters[] = new DataFilterHTML2XHTML(); 10 $pipeline->destination = new DestinationFile("test.pdf"); 14 $pipeline->_prepare($media); 15 return $pipeline->_layout_item("", $media, 0, $context, $positioned_filter);
|