Lines Matching refs:renderer
71 function render($format, Doku_Renderer $renderer, $data) { argument
76 $this->store = $renderer->doc;
77 $renderer->doc = '';
80 $this->capture = $renderer->capture;
81 $renderer->capture = true;
86 $title = trim($renderer->doc);
87 $renderer->doc = $this->store;
91 $renderer->capture = $this->capture;
98 $this->$method($title, $level, $pos, $renderer);
101 $renderer->header($title,$level,$pos);
120 function _xhtml_header($text, $level, $pos, &$renderer) { argument
127 $hid = $renderer->_headerToLink($text,true);
130 $renderer->toc_additem($hid, $text, $level);
133 $renderer->node[$level-1]++;
134 if ($level < $renderer->lastlevel) {
135 for ($i = 0; $i < $renderer->lastlevel-$level; $i++) {
136 $renderer->node[$renderer->lastlevel-$i-1] = 0;
139 $renderer->lastlevel = $level;
142 count($renderer->sectionedits) > 0 &&
143 $renderer->sectionedits[count($renderer->sectionedits) - 1][2] === 'section') {
144 $renderer->finishSectionEdit($pos - 1);
148 $renderer->doc .= DOKU_LF.'<h'.$level;
150 … $renderer->doc .= ' class="' . $renderer->startSectionEdit($pos, 'section', $text) . '"';
152 $renderer->doc .= '><a name="'.$hid.'" id="'.$hid.'">';
153 $renderer->doc .= $displaytext; // <= revised
154 $renderer->doc .= "</a></h$level>".DOKU_LF;
157 function _odt_header($text, $level, $pos, &$renderer){ argument
160 $hid = $renderer->_headerToLink($text,true);
161 …$renderer->doc .= '<text:h text:style-name="Heading_20_'.$level.'" text:outline-level="'.$level.'"…
162 $renderer->doc .= '<text:bookmark-start text:name="'.$hid.'"/>';
163 $renderer->doc .= $displaytext; // <= revised
164 $renderer->doc .= '<text:bookmark-end text:name="'.$hid.'"/>';
165 $renderer->doc .= '</text:h>';
168 function _xml_header($text, $level, $pos, &$renderer){ argument
170 $renderer->nextHeader = '<header level="' . $level . '" pos="' . $pos . '">'.
171 $renderer->nextHeader .= $text; // <= revised
172 $renderer->nextHeader .= '</header>'.DOKU_LF;