Lines Matching refs:aURL
156 sal_Bool SAL_CALL URLTransformer::parseStrict( URL& aURL ) throw( RuntimeException ) in parseStrict() argument
159 if (( &aURL == NULL ) || in parseStrict()
160 ( aURL.Complete.getLength() < 1 ) ) in parseStrict()
165 sal_Int32 nURLIndex = aURL.Complete.indexOf( sal_Unicode( ':' )); in parseStrict()
169 aProtocol = aURL.Complete.copy( 0, nURLIndex+1 ); in parseStrict()
175 INetURLObject aParser( aURL.Complete ); in parseStrict()
185 lcl_ParserHelper(aParser,aURL,false); in parseStrict()
194 aURL.Protocol = aProtocol; in parseStrict()
195 aURL.Main = aURL.Complete; in parseStrict()
196 aURL.Path = aURL.Complete.copy( nURLIndex+1 );; in parseStrict()
209 sal_Bool SAL_CALL URLTransformer::parseSmart( URL& aURL , in parseSmart() argument
213 if (( &aURL == NULL ) || in parseSmart()
214 ( aURL.Complete.getLength() < 1 ) ) in parseSmart()
223 bool bOk = aParser.SetSmartURL( aURL.Complete ); in parseSmart()
226 lcl_ParserHelper(aParser,aURL,true); in parseSmart()
237 sal_Int32 nIndex = aURL.Complete.indexOf( sal_Unicode( ':' )); in parseSmart()
241 aProtocol = aURL.Complete.copy( 0, nIndex+1 ); in parseSmart()
248 aURL.Protocol = aProtocol; in parseSmart()
253 aURL.Main = aURL.Complete; in parseSmart()
254 aURL.Path = aURL.Complete.copy( nIndex+1 ); in parseSmart()
265 sal_Bool SAL_CALL URLTransformer::assemble( URL& aURL ) throw( RuntimeException ) in assemble() argument
268 if ( &aURL == NULL ) in assemble()
274 if ( INetURLObject::CompareProtocolScheme( aURL.Protocol ) != INET_PROT_NOT_VALID ) in assemble()
276 ::rtl::OUStringBuffer aCompletePath( aURL.Path ); in assemble()
279 if ( aURL.Name.getLength() > 0 ) in assemble()
281 sal_Int32 nIndex = aURL.Path.lastIndexOf( sal_Unicode('/') ); in assemble()
282 if ( nIndex == ( aURL.Path.getLength() -1 )) in assemble()
283 aCompletePath.append( aURL.Name ); in assemble()
287 aCompletePath.append( aURL.Name ); in assemble()
292 INetURLObject::CompareProtocolScheme( aURL.Protocol ) , in assemble()
293 aURL.User , in assemble()
294 aURL.Password , in assemble()
295 aURL.Server , in assemble()
296 aURL.Port , in assemble()
303 aURL.Main = aParser.GetMainURL( INetURLObject::NO_DECODE ); in assemble()
305 aParser.SetParam( aURL.Arguments); in assemble()
306 aParser.SetMark ( aURL.Mark, INetURLObject::ENCODE_ALL ); in assemble()
307 aURL.Complete = aParser.GetMainURL( INetURLObject::NO_DECODE ); in assemble()
312 else if ( aURL.Protocol.getLength() > 0 ) in assemble()
315 ::rtl::OUStringBuffer aBuffer( aURL.Protocol ); in assemble()
316 aBuffer.append( aURL.Path ); in assemble()
317 aURL.Complete = aBuffer.makeStringAndClear(); in assemble()
318 aURL.Main = aURL.Complete; in assemble()
328 ::rtl::OUString SAL_CALL URLTransformer::getPresentation( const URL& aURL , in getPresentation() argument
332 if (( &aURL == NULL ) || in getPresentation()
333 ( aURL.Complete.getLength() < 1 ) || in getPresentation()
341 URL aTestURL = aURL; in getPresentation()