/aoo4110/main/svl/source/misc/ |
H A D | inethist.cxx | 344 sal_uInt32 h = crc32 (rUrl); in putUrl() 401 sal_uInt32 h = crc32 (rUrl); in queryUrl() 462 switch (rUrl.GetProtocol()) in NormalizeUrl_Impl() 465 if (!rUrl.IsCaseSensitive()) in NormalizeUrl_Impl() 474 if (!rUrl.HasPort()) in NormalizeUrl_Impl() 479 if (!rUrl.HasPort()) in NormalizeUrl_Impl() 481 if (!rUrl.HasURLPath()) in NormalizeUrl_Impl() 482 rUrl.SetURLPath ("/"); in NormalizeUrl_Impl() 486 if (!rUrl.HasPort()) in NormalizeUrl_Impl() 488 if (!rUrl.HasURLPath()) in NormalizeUrl_Impl() [all …]
|
/aoo4110/main/svl/inc/svl/ |
H A D | inethist.hxx | 85 sal_Bool QueryUrl (const INetURLObject &rUrl) in QueryUrl() argument 87 if (QueryProtocol (rUrl.GetProtocol())) in QueryUrl() 88 return QueryUrl_Impl (rUrl); in QueryUrl() 93 sal_Bool QueryUrl (const String &rUrl) in QueryUrl() argument 96 INetURLObject::CompareProtocolScheme (rUrl); in QueryUrl() 98 return QueryUrl_Impl (INetURLObject (rUrl)); in QueryUrl() 105 void PutUrl (const INetURLObject &rUrl) in PutUrl() argument 107 if (QueryProtocol (rUrl.GetProtocol())) in PutUrl() 108 PutUrl_Impl (rUrl); in PutUrl() 111 void PutUrl (const String &rUrl) in PutUrl() argument [all …]
|
H A D | urlbmk.hxx | 53 INetBookmark( const String &rUrl, const String &rDescr ) in INetBookmark() argument 54 : aUrl( rUrl ), aDescr( rDescr ) in INetBookmark()
|
/aoo4110/main/sc/source/filter/excel/ |
H A D | xihelper.cxx | 619 void lclAppendUrlChar( String& rUrl, sal_Unicode cChar ) in lclAppendUrlChar() argument 624 case '#': rUrl.AppendAscii( "%23" ); break; in lclAppendUrlChar() 625 case '%': rUrl.AppendAscii( "%25" ); break; in lclAppendUrlChar() 626 default: rUrl.Append( cChar ); in lclAppendUrlChar() 633 String& rUrl, String& rTabName, bool& rbSameWb, in DecodeUrl() argument 679 lclAppendUrlChar( rUrl, *pChar ); in DecodeUrl() 712 rUrl.Append( ':' ); in DecodeUrl() 717 rUrl.Append( '\\' ); in DecodeUrl() 720 rUrl.Append( EXC_DDE_DELIM ); in DecodeUrl() 725 rUrl.AppendAscii( "..\\" ); in DecodeUrl() [all …]
|
H A D | xehelper.cxx | 968 rUrl = aDosUrl; in lclConvertToDos() 977 if( rUrl.Len() ) in lclEncodeDosUrl() 979 String aOldUrl( rUrl ); in lclEncodeDosUrl() 980 rUrl = EXC_URLSTART_ENCODED; in lclEncodeDosUrl() 985 rUrl.Append( EXC_URL_DOSDRIVE ).Append( '@' ); in lclEncodeDosUrl() 991 rUrl.Append( EXC_URL_DOSDRIVE ).Append( aOldUrl.GetChar( 0 ) ); in lclEncodeDosUrl() 1000 rUrl.Append( EXC_URL_PARENTDIR ); // parent dir in lclEncodeDosUrl() 1008 rUrl.Append( '[' ).Append( aOldUrl ).Append( ']' ); in lclEncodeDosUrl() 1010 rUrl.Append( aOldUrl ); in lclEncodeDosUrl() 1021 rUrl = EXC_URLSTART_SELF; in lclEncodeDosUrl() [all …]
|
H A D | xelink.cxx | 297 bool IsUrlLink( const String& rUrl ) const; 441 const String& rUrl ) const; 1397 maUrl( rUrl ), in XclExpSupbook() 1398 maUrlEncoded( rUrl ), in XclExpSupbook() 1408 maUrl( rUrl ), in XclExpSupbook() 1409 maUrlEncoded( XclExpUrlHelper::EncodeUrl( rRoot, rUrl ) ), in XclExpSupbook() 1417 sal_uInt16 nFileId = pRefMgr->getExternalFileId( rUrl ); in XclExpSupbook() 1435 bool XclExpSupbook::IsUrlLink( const String& rUrl ) const in IsUrlLink() 1818 if (!GetSupbookUrl(xSupbook, rnSupbook, rUrl)) in InsertExtName() 1820 xSupbook.reset( new XclExpSupbook(GetRoot(), rUrl) ); in InsertExtName() [all …]
|
H A D | xicontent.cxx | 167 void lclInsertUrl( const XclImpRoot& rRoot, const String& rUrl, SCCOL nScCol, SCROW nScRow, SCTAB n… in lclInsertUrl() argument 181 aDisplText = rUrl; in lclInsertUrl() 184 SvxURLField aUrlField( rUrl, aDisplText, SVXURLFORMAT_APPDEFAULT ); in lclInsertUrl() 219 aTokenArray.AddString( rUrl ); in lclInsertUrl() 358 void XclImpHyperlink::ConvertToValidTabName(String& rUrl) in ConvertToValidTabName() argument 360 xub_StrLen n = rUrl.Len(); in ConvertToValidTabName() 365 sal_Unicode c = rUrl.GetChar(0); in ConvertToValidTabName() 376 c = rUrl.GetChar(i); in ConvertToValidTabName() 379 if (bInQuote && i+1 < n && rUrl.GetChar(i+1) == sal_Unicode('\'')) in ConvertToValidTabName() 412 rUrl = aNewUrl; in ConvertToValidTabName() [all …]
|
H A D | xecontent.cxx | 388 const String& rUrl = rUrlField.GetURL(); in XclExpHyperlink() local 390 INetURLObject aUrlObj( rUrl ); in XclExpHyperlink() 412 String aFileName( BuildFileName( nLevel, bRel, rUrl, rRoot ) ); in XclExpHyperlink() 447 mxRepr.reset( new String( rUrl ) ); in XclExpHyperlink() 451 else if( rUrl.GetChar( 0 ) == '#' ) // hack for #89066# in XclExpHyperlink() 453 String aTextMark( rUrl.Copy( 1 ) ); in XclExpHyperlink() 479 sal_uInt16& rnLevel, bool& rbRel, const String& rUrl, const XclExpRoot& rRoot ) const in BuildFileName() argument 481 String aDosName( INetURLObject( rUrl ).getFSysPath( INetURLObject::FSYS_DOS ) ); in BuildFileName() 489 aDosName = INetURLObject::GetRelURL( rRoot.GetBasePath(), rUrl, in BuildFileName() 1283 const String& rUrl, in XclExpWebQuery() argument [all …]
|
/aoo4110/main/oox/source/core/ |
H A D | filterbase.cxx | 92 DocumentOpenedGuard::DocumentOpenedGuard( const OUString& rUrl ) in DocumentOpenedGuard() argument 96 mbValid = (rUrl.getLength() == 0) || (rUrlPool.maUrls.count( rUrl ) == 0); in DocumentOpenedGuard() 97 if( mbValid && (rUrl.getLength() > 0) ) in DocumentOpenedGuard() 99 rUrlPool.maUrls.insert( rUrl ); in DocumentOpenedGuard() 100 maUrl = rUrl; in DocumentOpenedGuard() 296 (rUrl.getLength() >= nPos + 3) && in lclIsDosDrive() 297 …((('A' <= rUrl[ nPos ]) && (rUrl[ nPos ] <= 'Z')) || (('a' <= rUrl[ nPos ]) && (rUrl[ nPos ] <= 'z… in lclIsDosDrive() 298 (rUrl[ nPos + 1 ] == ':') && in lclIsDosDrive() 299 (rUrl[ nPos + 2 ] == '/'); in lclIsDosDrive() 304 OUString FilterBase::getAbsoluteUrl( const OUString& rUrl ) const in getAbsoluteUrl() [all …]
|
/aoo4110/main/cppuhelper/source/ |
H A D | unourl.cxx | 206 static inline Impl * create(rtl::OUString const & rUrl); 222 inline UnoUrl::Impl * UnoUrl::Impl::create(rtl::OUString const & rUrl) in create() argument 229 sal_Int32 j = rUrl.indexOf(';', i); in create() 235 xConnection(new UnoUrlDescriptor::Impl(rUrl.copy(i, j - i))); in create() 237 j = rUrl.indexOf(0x3B, i); // ';' in create() 243 xProtocol(new UnoUrlDescriptor::Impl(rUrl.copy(i, j - i))); in create() 245 if (i == rUrl.getLength()) in create() 249 for (j = i; j < rUrl.getLength(); ++j) in create() 251 sal_Unicode c = rUrl.getStr()[j]; in create() 263 return new Impl(xConnection, xProtocol, rUrl.copy(i)); in create() [all …]
|
/aoo4110/main/oox/source/xls/ |
H A D | worksheetbuffer.cxx | 68 /*static*/ OUString WorksheetBuffer::getBaseFileName( const OUString& rUrl ) in getBaseFileName() argument 70 sal_Int32 nFileNamePos = ::std::max< sal_Int32 >( rUrl.lastIndexOf( '/' ) + 1, 0 ); in getBaseFileName() 71 sal_Int32 nExtPos = rUrl.lastIndexOf( '.' ); in getBaseFileName() 72 if( nExtPos <= nFileNamePos ) nExtPos = rUrl.getLength(); in getBaseFileName() 73 return rUrl.copy( nFileNamePos, nExtPos - nFileNamePos ); in getBaseFileName()
|
/aoo4110/main/fpicker/source/aqua/ |
H A D | NSURL_OOoAdditions.mm | 83 CFURLRef rUrl = CFURLCreateWithFileSystemPath( kCFAllocatorDefault, 86 if( rUrl != NULL ) 89 if( CFURLGetFSRef( rUrl, &rFS ) ) 104 CFRelease( rUrl );
|
/aoo4110/main/sc/source/filter/xml/ |
H A D | xmltabi.cxx | 78 static bool lcl_isExternalRefCache(const rtl::OUString& rName, rtl::OUString& rUrl, rtl::OUString& … in lcl_isExternalRefCache() argument 115 rUrl = aUrlBuf.makeStringAndClear(); in lcl_isExternalRefCache() 116 rUrl = rUrl.copy(0, rUrl.getLength()-1); // remove the trailing single-quote. in lcl_isExternalRefCache()
|
H A D | xmlexternaltabi.cxx | 103 static bool lcl_isValidRelativeURL(const OUString& rUrl) in lcl_isValidRelativeURL() argument 105 sal_Int32 n = ::std::min( rUrl.getLength(), static_cast<sal_Int32>(3)); in lcl_isValidRelativeURL() 108 const sal_Unicode* p = rUrl.getStr(); in lcl_isValidRelativeURL()
|
/aoo4110/main/framework/source/services/ |
H A D | mediatypedetectionhelper.cxx | 93 OUString& rUrl = rSeq[i]; local 94 INetContentType eType = INetContentTypes::GetContentTypeFromURL( rUrl ); 99 rUrl = aType;
|
/aoo4110/main/qadevOOo/runner/util/ |
H A D | utils.java | 682 URL[] rUrl = new URL[1]; in parseURL() local 683 rUrl[0] = new URL(); in parseURL() 684 rUrl[0].Complete = url; in parseURL() 693 xTrans.parseStrict(rUrl); in parseURL() 695 return rUrl[0]; in parseURL()
|
/aoo4110/main/framework/source/inc/dispatch/ |
H A D | uieventloghelper.hxx | 50 const ::com::sun::star::util::URL& rUrl, in log() 68 ::comphelper::UiEventsLogger::logDispatch(rUrl, aArgsWithOrigin); in log()
|
/aoo4110/main/sw/source/filter/ww8/ |
H A D | wrtw8esh.cxx | 154 String SwBasicEscherEx::BuildFileName(sal_uInt16& rnLevel, bool& rbRel, const String& rUrl ) in BuildFileName() argument 156 String aDosName( INetURLObject( rUrl ).getFSysPath( INetURLObject::FSYS_DOS ) ); in BuildFileName() 164 aDosName = INetURLObject::GetRelURL( GetBasePath(), rUrl, in BuildFileName() 212 String rUrl = pINetFmtArg->GetURL(); in WriteHyperlinkWithinFly() local 216 INetURLObject aUrlObj( rUrl ); in WriteHyperlinkWithinFly() 231 …if( eProtocol == INET_PROT_FILE || (eProtocol == INET_PROT_NOT_VALID && rUrl.GetChar( 0 ) != '#') ) in WriteHyperlinkWithinFly() 235 String aFileName( BuildFileName( nLevel, bRel, rUrl )); in WriteHyperlinkWithinFly() 257 SwWW8Writer::WriteLong( tmpStrm, 2*(rUrl.Len()+1)); in WriteHyperlinkWithinFly() 259 SwWW8Writer::WriteString16(tmpStrm, rUrl, true); in WriteHyperlinkWithinFly() 262 else if( rUrl.GetChar( 0 ) == '#' ) in WriteHyperlinkWithinFly() [all …]
|
H A D | wrtw8nds.cxx | 823 bool AttributeOutputBase::AnalyzeURL( const String& rUrl, const String& /*rTarget*/, String* pLinkU… in AnalyzeURL() argument 827 INetURLObject aURL( rUrl ); in AnalyzeURL() 831 if ( rUrl.Len() > 1 && rUrl.GetChar(0) == INET_MARK_TOKEN ) in AnalyzeURL() 833 sMark = BookmarkToWriter( rUrl.Copy(1) ); in AnalyzeURL() 874 bool WW8AttributeOutput::AnalyzeURL( const String& rUrl, const String& rTarget, String* pLinkURL, S… in AnalyzeURL() argument 876 bool bBookMarkOnly = AttributeOutputBase::AnalyzeURL( rUrl, rTarget, pLinkURL, pMark ); in AnalyzeURL() 906 bool WW8AttributeOutput::StartURL( const String &rUrl, const String &rTarget ) in StartURL() argument 912 INetURLObject aURL( rUrl ); in StartURL() 916 bool bBookMarkOnly = AnalyzeURL( rUrl, rTarget, &sURL, &sMark ); in StartURL()
|
H A D | attributeoutputbase.hxx | 187 virtual bool StartURL( const String& rUrl, const String& rTarget ) = 0; 565 …virtual bool AnalyzeURL( const String& rUrl, const String& rTarget, String* pLinkURL, String* pMar…
|
/aoo4110/main/sc/source/filter/inc/ |
H A D | excform.hxx | 63 … const String& rUrl, const ::std::vector<String>& rTabNames ); 139 … const String& rUrl, const ::std::vector<String>& rTabNames );
|
H A D | xihelper.hxx | 280 String& rUrl, 291 String& rUrl,
|
H A D | xecontent.hxx | 118 const String& rUrl, const XclExpRoot& rRoot ) const; 320 const String& rUrl,
|
/aoo4110/main/vcl/aqua/source/app/ |
H A D | salinst.cxx | 1081 static bool isDangerousUrl( const rtl::OUString& rUrl ) in isDangerousUrl() argument 1085 const int nLen = rUrl.getLength(); in isDangerousUrl() 1086 const sal_Unicode* p = rUrl.getStr(); in isDangerousUrl()
|
/aoo4110/main/svx/source/xml/ |
H A D | xmlxtimp.cxx | 361 sal_Bool SvxXMLXTableImport::load( const OUString& rUrl, const uno::Reference< XNameContainer >& xT… in load() argument 372 SfxMedium aMedium( rUrl, STREAM_READ | STREAM_NOCREATE, sal_True ); in load()
|