Lines Matching defs:cfhtml
221 String cfhtml(UTF8Encoding().decode(data, dataSize));
224 return cfhtml;
240 static String extractMarkupFromCFHTML(const String& cfhtml)
242 unsigned markupStart = cfhtml.find("<html", 0, false);
243 unsigned tagStart = cfhtml.find("startfragment", markupStart, false);
244 unsigned fragmentStart = cfhtml.find('>', tagStart) + 1;
245 unsigned tagEnd = cfhtml.find("endfragment", fragmentStart, false);
246 unsigned fragmentEnd = cfhtml.reverseFind('<', tagEnd);
247 return cfhtml.substring(fragmentStart, fragmentEnd - fragmentStart).stripWhiteSpace();
590 String cfhtml = getFullCFHTML(data);
591 if (!cfhtml.isEmpty())
592 return extractMarkupFromCFHTML(cfhtml);
598 String cfhtml;
599 getDataMapItem(dataMap, htmlFormat(), cfhtml);
600 return extractMarkupFromCFHTML(cfhtml);
628 PassRefPtr<DocumentFragment> fragmentFromCFHTML(Document* doc, const String& cfhtml)
633 unsigned lineStart = cfhtml.find(srcURLStr, 0, false);
635 unsigned srcEnd = cfhtml.find("\n", lineStart, false);
637 String rawSrcURL = cfhtml.substring(srcStart, srcEnd-srcStart);
642 String markup = extractMarkupFromCFHTML(cfhtml);
651 String cfhtml = getFullCFHTML(data);
652 if (!cfhtml.isEmpty()) {
653 if (RefPtr<DocumentFragment> fragment = fragmentFromCFHTML(doc, cfhtml))