Lines Matching refs:renderer

92     public function render($mode, Doku_Renderer $renderer, $data) {
106 $renderer->doc .= '<figure class="plugin_caption_figure"';
112 $renderer->doc .= ' id="'.$renderer->_xmlEntities($label).'"';
116 if (strpos($renderer->doc, $pattern) !== FALSE) {
117 $renderer->doc = str_replace($pattern, $this->_fignum, $renderer->doc);
120 $renderer->doc .= '>';
123 $renderer->doc .= '<div class="plugin_caption_table"';
129 $renderer->doc .= ' id="'.$renderer->_xmlEntities($label).'"';
133 if (strpos($renderer->doc, $pattern) !== FALSE) {
134 $renderer->doc = str_replace($pattern, $this->_tabnum, $renderer->doc);
137 $renderer->doc .= '>';
140 $renderer->doc .= '<div class="plugin_caption_codeblock"';
146 $renderer->doc .= ' id="'.$renderer->_xmlEntities($label).'"';
151 if (strpos($renderer->doc, $pattern) !== FALSE) {
152 $renderer->doc = str_replace($pattern, $this->_codenum, $renderer->doc);
156 $renderer->doc .= '>';
159 $renderer->doc .= '<div class="plugin_caption_fileblock"';
165 $renderer->doc .= ' id="'.$renderer->_xmlEntities($label).'"';
169 if (strpos($renderer->doc, $pattern) !== FALSE) {
170 $renderer->doc = str_replace($pattern, $this->_filenum, $renderer->doc);
173 $renderer->doc .= '>';
185 $renderer->doc .= '<figcaption class="plugin_caption_caption"><span class="plugin_caption_caption_number"';
187 $renderer->doc .= ' title="'
190 $renderer->doc .= '>';
192 $renderer->doc .= $this->getLang('figureabbrev');
194 $renderer->doc .= $this->getLang('figurelong');
196 $renderer->doc .= ' ' . $this->_fignum . ':</span>';
197 $renderer->doc .= ' <span class="plugin_caption_caption_text">';
200 $renderer->doc .= '<div class="plugin_caption_caption"><span class="plugin_caption_caption_number"';
202 $renderer->doc .= ' title="'
205 $renderer->doc .= '>';
207 $renderer->doc .= $this->getLang('tableabbrev');
209 $renderer->doc .= $this->getLang('tablelong');
211 $renderer->doc .= ' ' . $this->_tabnum . ':</span>';
212 $renderer->doc .= ' <span class="captiontext">';
215 $renderer->doc .= '<div class="plugin_caption_caption"><span class="plugin_caption_caption_number"';
217 $renderer->doc .= ' title="'
220 $renderer->doc .= '>';
222 $renderer->doc .= $this->getLang('codeabbrev');
224 $renderer->doc .= $this->getLang('codelong');
226 $renderer->doc .= ' ' . $this->_codenum . ':</span>';
227 $renderer->doc .= ' <span class="captiontext">';
230 $renderer->doc .= '<div class="plugin_caption_caption"><span class="plugin_caption_caption_number"';
232 $renderer->doc .= ' title="'
235 $renderer->doc .= '>';
237 $renderer->doc .= $this->getLang('fileabbrev');
239 $renderer->doc .= $this->getLang('filelong');
241 $renderer->doc .= ' ' . $this->_filenum . ':</span>';
242 $renderer->doc .= ' <span class="captiontext">';
249 $renderer->doc .= '</span></figcaption>';
252 $renderer->doc .= '</span></div>';
255 $renderer->doc .= '</span></div>';
258 $renderer->doc .= '</span></div>';
266 $renderer->doc .= $renderer->_xmlEntities($match);
274 $renderer->doc .= '</figure>';
278 $renderer->doc .= '</div>';
282 $renderer->doc .= '</div>';
286 $renderer->doc .= '</div>';
329 $renderer->doc .= '\begin{figure}';
336 $renderer->doc .= '\begin{table}';
349 $renderer->doc .= '\caption{';
351 $renderer->doc .= '}';
354 $renderer->doc .= "\n" . '\label{'.$this->_label.'}';
362 $renderer->doc .= $match; //$renderer->_xmlEntities($match);
368 $renderer->doc .= '\end{figure}' . "\n\n";
371 $renderer->doc .= '\end{table}' . "\n\n";
413 $renderer->p_open();
421 $renderer->p_close();
425 $renderer->cdata($this->getLang('figureabbrev'));
427 $renderer->cdata($this->getLang('figurelong'));
429 $renderer->cdata(" " . $this->_fignum . ": ");
433 $renderer->cdata($this->getLang('tableabbrev'));
435 $renderer->cdata($this->getLang('tablelong'));
437 $renderer->cdata(" " . $this->_tabnum . ": ");
444 $renderer->p_open();
447 // $renderer->p_open();
455 $renderer->cdata($match);
463 $renderer->p_close();