Lines Matching refs:renderer
66 function render($format, Doku_Renderer $renderer, $data) { argument
71 $this->store = $renderer->doc;
72 $renderer->doc = '';
75 $this->capture = $renderer->capture;
76 $renderer->capture = true;
81 $title = trim($renderer->doc);
82 $renderer->doc = $this->store;
86 $renderer->capture = $this->capture;
93 $this->$method($title, $level, $pos, $renderer);
96 $renderer->header($title,$level,$pos);
115 function _xhtml_header($text, $level, $pos, &$renderer) { argument
122 $hid = $renderer->_headerToLink($text,true);
125 $renderer->toc_additem($hid, $text, $level);
128 $renderer->node[$level-1]++;
129 if ($level < $renderer->lastlevel) {
130 for ($i = 0; $i < $renderer->lastlevel-$level; $i++) {
131 $renderer->node[$renderer->lastlevel-$i-1] = 0;
134 $renderer->lastlevel = $level;
137 count($renderer->sectionedits) > 0 &&
138 $renderer->sectionedits[count($renderer->sectionedits) - 1][2] === 'section') {
139 $renderer->finishSectionEdit($pos - 1);
143 $renderer->doc .= DOKU_LF.'<h'.$level;
145 $renderer->doc .= ' class="' . $renderer->startSectionEdit($pos, 'section', $text) . '"';
147 $renderer->doc .= '><a name="'.$hid.'" id="'.$hid.'">';
148 $renderer->doc .= $displaytext; // <= revised
149 $renderer->doc .= "</a></h$level>".DOKU_LF;
152 function _odt_header($text, $level, $pos, &$renderer){ argument
155 $hid = $renderer->_headerToLink($text,true);
156 …$renderer->doc .= '<text:h text:style-name="Heading_20_'.$level.'" text:outline-level="'.$level.'"…
157 $renderer->doc .= '<text:bookmark-start text:name="'.$hid.'"/>';
158 $renderer->doc .= $displaytext; // <= revised
159 $renderer->doc .= '<text:bookmark-end text:name="'.$hid.'"/>';
160 $renderer->doc .= '</text:h>';
163 function _xml_header($text, $level, $pos, &$renderer){ argument
165 $renderer->nextHeader = '<header level="' . $level . '" pos="' . $pos . '">'.
166 $renderer->nextHeader .= $text; // <= revised
167 $renderer->nextHeader .= '</header>'.DOKU_LF;