Lines Matching refs:rText
566 URIHelper::FindFirstURLInText(UniString const & rText, in FindFirstURLInText() argument
574 if (!(rBegin <= rEnd && rEnd <= rText.Len())) in FindFirstURLInText()
643 for (xub_StrLen nPos = rBegin; nPos != rEnd; nPos = nextChar(rText, nPos)) in FindFirstURLInText()
645 sal_Unicode c = rText.GetChar(nPos); in FindFirstURLInText()
652 = INetURLObject::CompareProtocolScheme(UniString(rText, i, in FindFirstURLInText()
656 while (rText.GetChar(i++) != ':') ; in FindFirstURLInText()
660 && checkWChar(rCharClass, rText, &i, &nUriEnd, true, in FindFirstURLInText()
662 if (i != nPrefixEnd && rText.GetChar(i) == '#') in FindFirstURLInText()
666 && checkWChar(rCharClass, rText, &i, &nUriEnd)) ; in FindFirstURLInText()
669 && isBoundary1(rCharClass, rText, nUriEnd, rEnd)) in FindFirstURLInText()
671 INetURLObject aUri(UniString(rText, nPos, in FindFirstURLInText()
686 while (rText.GetChar(i++) != ':') ; in FindFirstURLInText()
690 && checkWChar(rCharClass, rText, &i, &nUriEnd)) ; in FindFirstURLInText()
691 if (i != nPrefixEnd && rText.GetChar(i) == '#') in FindFirstURLInText()
695 && checkWChar(rCharClass, rText, &i, &nUriEnd)) ; in FindFirstURLInText()
698 && (isBoundary1(rCharClass, rText, nUriEnd, rEnd) in FindFirstURLInText()
699 || rText.GetChar(nUriEnd) == '\\')) in FindFirstURLInText()
701 INetURLObject aUri(UniString(rText, nPos, in FindFirstURLInText()
717 sal_uInt32 nLabels = scanDomain(rText, &i, rEnd); in FindFirstURLInText()
719 && rText.GetChar(nPos + 3) == '.' in FindFirstURLInText()
720 && (((rText.GetChar(nPos) == 'w' in FindFirstURLInText()
721 || rText.GetChar(nPos) == 'W') in FindFirstURLInText()
722 && (rText.GetChar(nPos + 1) == 'w' in FindFirstURLInText()
723 || rText.GetChar(nPos + 1) == 'W') in FindFirstURLInText()
724 && (rText.GetChar(nPos + 2) == 'w' in FindFirstURLInText()
725 || rText.GetChar(nPos + 2) == 'W')) in FindFirstURLInText()
726 || ((rText.GetChar(nPos) == 'f' in FindFirstURLInText()
727 || rText.GetChar(nPos) == 'F') in FindFirstURLInText()
728 && (rText.GetChar(nPos + 1) == 't' in FindFirstURLInText()
729 || rText.GetChar(nPos + 1) == 'T') in FindFirstURLInText()
730 && (rText.GetChar(nPos + 2) == 'p' in FindFirstURLInText()
731 || rText.GetChar(nPos + 2) == 'P')))) in FindFirstURLInText()
736 if (i != rEnd && rText.GetChar(i) == '/') in FindFirstURLInText()
740 && checkWChar(rCharClass, rText, &i, &nUriEnd)) ; in FindFirstURLInText()
742 if (i != rEnd && rText.GetChar(i) == '#') in FindFirstURLInText()
746 && checkWChar(rCharClass, rText, &i, &nUriEnd)) ; in FindFirstURLInText()
748 if (isBoundary1(rCharClass, rText, nUriEnd, rEnd) in FindFirstURLInText()
749 || rText.GetChar(nUriEnd) == '\\') in FindFirstURLInText()
751 INetURLObject aUri(UniString(rText, nPos, in FindFirstURLInText()
766 && rText.GetChar(nPos + 1) == ':' in FindFirstURLInText()
767 && (rText.GetChar(nPos + 2) == '/' in FindFirstURLInText()
768 || rText.GetChar(nPos + 2) == '\\')) // 7th, 8th in FindFirstURLInText()
773 && checkWChar(rCharClass, rText, &i, &nUriEnd)) ; in FindFirstURLInText()
774 if (isBoundary1(rCharClass, rText, nUriEnd, rEnd)) in FindFirstURLInText()
776 INetURLObject aUri(UniString(rText, nPos, in FindFirstURLInText()
793 && rText.GetChar(nPos) == '\\' in FindFirstURLInText()
794 && rText.GetChar(nPos + 1) == '\\') // 6th in FindFirstURLInText()
797 sal_uInt32 nLabels = scanDomain(rText, &i, rEnd); in FindFirstURLInText()
798 if (nLabels >= 1 && i != rEnd && rText.GetChar(i) == '\\') in FindFirstURLInText()
802 && checkWChar(rCharClass, rText, &i, &nUriEnd, in FindFirstURLInText()
804 if (isBoundary1(rCharClass, rText, nUriEnd, rEnd)) in FindFirstURLInText()
806 INetURLObject aUri(UniString(rText, nPos, in FindFirstURLInText()
828 sal_Unicode c2 = rText.GetChar(i); in FindFirstURLInText()
840 sal_uInt32 nLabels = scanDomain(rText, &i, rEnd); in FindFirstURLInText()
842 && isBoundary1(rCharClass, rText, i, rEnd)) in FindFirstURLInText()
844 INetURLObject aUri(UniString(rText, nPos, i - nPos), in FindFirstURLInText()
860 bBoundary1 = isBoundary1(rCharClass, rText, nPos, rEnd); in FindFirstURLInText()
861 bBoundary2 = isBoundary2(rCharClass, rText, nPos, rEnd); in FindFirstURLInText()