Home
last modified time | relevance | path

Searched refs:pipeline (Results 1 – 25 of 97) sorted by relevance

1234

/plugin/html2pdf/html2pdf/html2ps/
H A Dhtml.attrs.inc.php154 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 Dbox.php108 return BlockBox::create($root, $pipeline);
134 execute_attrs_before($root, $pipeline);
137 $css =& $pipeline->get_current_css();
138 $css->apply($root, $css_state, $pipeline);
188 $handler->css('-body', $pipeline);
192 $handler->css('-break', $pipeline);
197 $handler->css('-image', $pipeline);
210 $box =& BRBox::create($pipeline);
376 execute_attrs_after($root, $pipeline);
425 $css =& $pipeline->get_current_css();
[all …]
H A Dpipeline.factory.class.php7 $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 Dparser.xhtml.class.php3 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 Dcss.ruleset.class.php14 function parse_style_node($root, &$pipeline) { argument
49 $this->parse_css($content, $pipeline);
54 function scan_styles($root, &$pipeline) { argument
95 $this->scan_styles($child, $pipeline);
147 function css_import($src, &$pipeline) { argument
150 $url = $pipeline->guess_url($src);
151 $data = $pipeline->fetch($url);
168 $this->parse_css($css, $pipeline);
171 $pipeline->pop_base_url();
223 $pipeline);
[all …]
H A Dbox.iframe.php5 function &create(&$root, &$pipeline) { argument
6 $box =& new IFrameBox($root, $pipeline);
7 $box->readCSS($pipeline->get_current_css_state());
21 function IFrameBox(&$root, $pipeline) { argument
32 $url = $pipeline->guess_url($src);
33 $data = $pipeline->fetch($url);
60 $pipeline->pushCSS();
61 $css =& $pipeline->get_current_css();
62 $css->scan_styles($tree, $pipeline);
70 $pipeline->pop_css();
[all …]
H A Dbox.frame.php5 function &create(&$root, &$pipeline) { argument
6 $box =& new FrameBox($root, $pipeline);
105 function FrameBox(&$root, &$pipeline) { argument
124 $url = $pipeline->guess_url($src);
125 $data = $pipeline->fetch($url);
152 $pipeline->pushCSS();
153 $css =& $pipeline->get_current_css();
154 $css->scan_styles($tree, $pipeline);
162 $pipeline->pop_css();
164 $pipeline->pop_base_url();
[all …]
H A Dbox.table.row.php9 function &create(&$root, &$pipeline) { argument
11 $box->readCSS($pipeline->get_current_css_state());
15 $child_box =& create_pdf_box($child, $pipeline);
42 function normalize(&$pipeline) { argument
45 $this->add_fake_cell_after($i, $pipeline);
53 function add_fake_cell_after($index, &$pipeline) { argument
54 array_splice($this->content, $index+1, 0, array(FakeTableCellBox::create($pipeline)));
57 function add_fake_cell_before($index, &$pipeline) { argument
58 array_splice($this->content, $index, 0, array(FakeTableCellBox::create($pipeline)));
61 function append_fake_cell(&$pipeline) { argument
[all …]
H A Dbox.page.margin.class.php11 function &create(&$pipeline, $at_rule) { argument
14 $box =& new BoxPageMarginTop($pipeline, $at_rule);
20 $box =& new BoxPageMarginTopLeft($pipeline, $at_rule);
23 $box =& new BoxPageMarginTopCenter($pipeline, $at_rule);
26 $box =& new BoxPageMarginTopRight($pipeline, $at_rule);
32 $box =& new BoxPageMarginBottom($pipeline, $at_rule);
74 function BoxPageMargin(&$pipeline, $at_rule) { argument
75 $state =& $pipeline->get_current_css_state();
79 $at_rule->css->apply($root, $state, $pipeline);
100 $body_box =& create_pdf_box($tree_root, $pipeline);
[all …]
H A Dinline.content.builder.normal.php15 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 Dcss.rules.page.inc.php67 function CSSAtRulePage($selector, &$pipeline) { argument
103 function CSSAtRuleMarginBox($selector, &$pipeline) { argument
114 $pipeline);
281 function parse_css_atpage_margin_box($css, &$at_rule, &$pipeline) { argument
291 $at_rule_margin_box = new CSSAtRuleMarginBox($margin_box_selector, $pipeline);
307 parse_css_atpage_margin_box_declaration($raw_prefix, $at_rule_margin_box, $pipeline);
372 function parse_css_atpage_declaration($css, &$at_rule, &$pipeline) { argument
373 $parsed =& parse_css_property($css, $pipeline);
383 function parse_css_atpage_margin_box_declaration($css, &$at_rule, &$pipeline) { argument
384 $parsed =& parse_css_property($css, $pipeline);
H A Dfilter.pre.footnotes.class.php13 function process(&$tree, $data, &$pipeline) { argument
24 $note_call =& BoxNoteCall::create($tree->content[$i], $pipeline);
27 $pipeline->_addFootnote($note_call);
29 $this->process($tree->content[$i], $data, $pipeline);
/plugin/html2pdf/html2pdf/html2ps/unittest/
H A Dgeneric.test.php4 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 Dtest.css.margin.boxes.php12 $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 Dtest.radio.png.php8 $pipeline = $this->preparePipeline($media);
9 $pipeline->output_driver = new OutputDriverPng();
10 $pipeline->fetchers = array(new MyFetcherMemory('
19 $tree = $pipeline->_layout_item('', $media, 0, $context, $postponed_filter);
23 $pipeline->_show_item($tree, 0, $context, $media, $postponed_filter);
30 $pipeline = $this->preparePipeline($media);
31 $pipeline->output_driver = new OutputDriverPng();
32 $pipeline->fetchers = array(new MyFetcherMemory('
41 $tree = $pipeline->_layout_item('', $media, 0, $context, $postponed_filter);
45 $pipeline->_show_item($tree, 0, $context, $media, $postponed_filter);
H A Dtest.css.parse.atrules.php5 $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 Dtest.note-call.width.php5 $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);
/plugin/html2pdf/html2pdf/html2ps/demo/
H A Dtest.php77 $pipeline = new Pipeline;
78 $pipeline->configure($GLOBALS['g_config']);
79 $pipeline->fetchers[] = new MyFetcherLocalFile();
81 $pipeline->destination = new MyDestinationDownload($pdf);
82 $pipeline->data_filters[] = new DataFilterHTML2XHTML;
83 $pipeline->pre_tree_filters = array();
87 $pipeline->pre_tree_filters[] = $filter;
89 $pipeline->parser = new ParserXHTML();
90 $pipeline->layout_engine = new LayoutEngineDefault;
91 $pipeline->output_driver = new OutputDriverFPDF($media);
[all …]
/plugin/html2pdf/html2pdf/html2ps/samples/
H A Dsample.pipeline.custom.php29 $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 Dsample.simplest.from.file.php56 $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 Dsample.simplest.from.memory.php73 $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/features/
H A Dtoc.php13 $pipeline =& $params['pipeline'];
17 $toc =& $this->find_toc_anchors($pipeline, $media, $document);
18 $this->update_document($toc, $pipeline, $media, $document);
22 $pipeline =& $params['pipeline'];
31 function &find_toc_anchors(&$pipeline, &$media, &$document) { argument
33 $toc =& $locator->run($pipeline, $media, $document);
56 function install(&$pipeline, $params) { argument
57 $dispatcher =& $pipeline->get_dispatcher();
114 …$toc_box_document =& $pipeline->parser->process('<body><div>'.$code.'</div></body>', $pipeline, $m…
116 …$pipeline->layout_engine->process($toc_box_document, $media, $pipeline->get_output_driver(), $cont…
[all …]
H A Dautomargins.php13 $pipeline =& $params['pipeline'];
17 $boxes = $pipeline->reflow_margin_boxes(0, $media);
35 $pipeline->output_driver->update_media($media);
36 $pipeline->_setupScales($media);
39 function install(&$pipeline, $params) { argument
40 $dispatcher =& $pipeline->get_dispatcher();
H A Dwatermark.php15 $pipeline =& $params['pipeline'];
19 $pipeline->output_driver->_show_watermark($this->get_text());
22 function install(&$pipeline, $params) { argument
23 $dispatcher =& $pipeline->get_dispatcher();
/plugin/html2pdf/html2pdf/html2ps/samples/API/events/1/
H A Dhtml2pdf.php208 $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 …]

1234