Lines Matching refs:content
27 * @param string $content The document content
33 …public static function replaceLocalLinkPlaceholders(&$content, array $toc, array $bookmarks, $styl… argument
36 $max = strlen ($content);
40 $first = strpos ($content, '<locallink', $position);
44 $endFirst = strpos ($content, '>', $first);
48 $second = strpos ($content, '</locallink>', $endFirst);
55 $match = substr ($content, $first, $second - $first + $length + 1);
81 $content = str_replace ($match, $link, $content);
99 $content = str_replace ($match, $link, $content);
110 $content = str_replace ($match, $name, $content);
112 $content = str_replace ($match, $text, $content);
152 $content = substr ($docContent, $start_close + 1, $end - ($start_close + 1));
154 if ( empty($content) || ctype_space ($content) ) {
566 * @param string $content Code to search in.
570 public static function getNextTag (&$content, $pos) { argument
571 $start = strpos ($content, '<', $pos);
575 $end = strpos ($content, '>', $pos);
1025 $content = '';
1027 $content .= $checked [$index];
1032 $content = str_replace("\n",'<text:line-break/>',$content);
1034 $content = str_replace("\n",'',$content);
1039 $content = str_replace("\t",'<text:tab/>',$content);
1041 $content = str_replace("\t",'',$content);
1046 … $content = preg_replace_callback('/( +)/',array(__CLASS__, '_preserveSpace'), $content);
1049 $params->content .= $content;