Lines Matching refs:doc
98 } else if ( $forceToc || ($this->utf8_strlen(strip_tags($this->doc)) >= $this->getConf('documentlengthfortoc') && count($this->toc) > 1 ) ) {
111 $this->doc = preg_replace('#<(div|section|article) class="[^"]*?level\d[^"]*?">\s*</\1>#','',$this->doc);
165 $doc = $this->doc;
166 $this->doc = "";
172 preg_match("/id=\"(.*?)\"/", $this->doc, $matches);
174 $this->doc = preg_replace("/id=\".*?\"/", '', $this->doc);
175 $this->doc = DOKU_LF.'<a id="'. $matches[1] .'" class="head-anchor" style="visibility:hidden"></a>'.DOKU_LF . $this->doc;
180 $this->doc = $doc . preg_replace("/(<h([1-9]))/", "<".($this->sectionLevel<1?'section':'article')." class=\"level\\2{$class}\">\\1", $this->doc);
182 $this->doc = $doc . $this->doc;
194 $this->doc .= '<'.($this->sectionLevel<1?'section':'article').' class="'.$name.'">';
197 $this->doc .= DOKU_LF.'<a name="'. $name .'" class="' . $name . '" ></a>'.DOKU_LF;
223 $this->doc .= DOKU_LF.'</div>'.DOKU_LF;
225 $this->doc .= '</'.($this->sectionLevel<1?'section':'article').'>'.DOKU_LF;
322 $this->doc .= $this->_formatLink($link);
331 $this->doc .= '<a href="#'.$hash.'" title="'.$title.'" class="wikilink1">';
332 $this->doc .= $name;
333 $this->doc .= '</a>';
356 $this->doc .= $this->_xmlEntities($entity);