Home
last modified time | relevance | path

Searched refs:HTMLCode (Results 1 – 4 of 4) sorted by relevance

/plugin/odt/ODT/
H A DODTSpan.php129 public static function generateSpansfromHTMLCode(ODTInternalParams $params, $HTMLCode){ argument
147 $max = strlen ($HTMLCode);
150 $found = ODTUtility::getNextTag($HTMLCode, $pos);
153 $entry ['content'] = substr($HTMLCode, $pos, $found [0]-$pos);
159 $tagged = substr($HTMLCode, $found [0], $found [1]-$found [0]+1);
162 if ($HTMLCode [$found[1]-1] == '/') {
166 if ($HTMLCode [$found[0]+1] != '/') {
184 $entry ['content'] = substr($HTMLCode, $pos);
H A DODTUtility.php755 * @param string $HTMLCode The HTML code to convert
787 $HTMLCode = preg_replace('/^ \n/', '', $HTMLCode);
788 $HTMLCode = preg_replace('/\n $/', '', $HTMLCode);
789 $HTMLCode = str_replace(' ', ' ', $HTMLCode);
827 $max = strlen ($HTMLCode);
830 $found = self::getNextTag($HTMLCode, $pos);
833 $entry ['content'] = substr($HTMLCode, $pos, $found [0]-$pos);
839 $tagged = substr($HTMLCode, $found [0], $found [1]-$found [0]+1);
842 if ($HTMLCode [$found[1]-1] == '/') {
846 if ($HTMLCode [$found[0]+1] != '/') {
[all …]
H A DODTDocument.php399 function generateSpansfromHTMLCode($HTMLCode){ argument
400 ODTSpan::generateSpansfromHTMLCode($this->params, $HTMLCode);
2419 * @param string $HTMLCode
2422 public function generateODTfromHTMLCode($HTMLCode, array $options){ argument
2423 ODTUtility::generateODTfromHTMLCode($this->params, $HTMLCode, $options);
/plugin/odt/renderer/
H A Dpage.php741 function generateSpansfromHTMLCode($HTMLCode){ argument
742 $this->document->generateSpansfromHTMLCode($HTMLCode);