/trunk/main/qadevOOo/java/OOoRunner/src/main/java/helper/ |
H A D | URLHelper.java | 64 String sFileURL = null; in getFileURLFromSystemPath() local 68 sFileURL = aSystemPath.toURL().toString(); in getFileURLFromSystemPath() 72 sFileURL = null; in getFileURLFromSystemPath() 78 (sFileURL != null ) && in getFileURLFromSystemPath() 79 (sFileURL.startsWith("file:/") == true ) && in getFileURLFromSystemPath() 80 (sFileURL.startsWith("file://") == false) in getFileURLFromSystemPath() 83 StringBuffer sWorkBuffer = new StringBuffer(sFileURL); in getFileURLFromSystemPath() 85 sFileURL = sWorkBuffer.toString(); in getFileURLFromSystemPath() 88 return sFileURL; in getFileURLFromSystemPath() 149 int index = sFileURL.indexOf(sBaseURL); in getURLWithProtocolFromSystemPath() [all …]
|
/trunk/main/odk/examples/DevelopersGuide/Forms/ |
H A D | URLHelper.java | 43 String sFileURL = null; in getFileURLFromSystemPath() local 46 sFileURL = aSystemPath.toURL().toString(); in getFileURLFromSystemPath() 50 sFileURL = null; in getFileURLFromSystemPath() 56 (sFileURL != null ) && in getFileURLFromSystemPath() 57 (sFileURL.startsWith("file:/") == true ) && in getFileURLFromSystemPath() 58 (sFileURL.startsWith("file://") == false) in getFileURLFromSystemPath() 61 StringBuffer sWorkBuffer = new StringBuffer(sFileURL); in getFileURLFromSystemPath() 63 sFileURL = sWorkBuffer.toString(); in getFileURLFromSystemPath() 66 return sFileURL; in getFileURLFromSystemPath()
|
/trunk/main/unotools/qa/complex/tempfile/ |
H A D | Test01.java | 45 String sFileURL = null; in test() local 66 sFileURL = m_aTestHelper.GetTempFileURL( xTempFile ); in test() 68 m_aTestHelper.CompareFileNameAndURL( sFileName, sFileURL ); in test() 88 … m_aTestHelper.ReadDirectlyFromTempFile( pBytesOut2, pBytesIn.length + 1, m_xSFA, sFileURL ); in test() 98 if( !m_aTestHelper.IfTempFileExists( m_xSFA, sFileURL ) ) { in test() 101 m_aTestHelper.KillTempFile( sFileURL, m_xSFA ); in test()
|
H A D | Test02.java | 49 String sFileURL = null; in test() local 70 sFileURL = m_aTestHelper.GetTempFileURL( xTempFile ); in test() 80 … m_aTestHelper.ReadDirectlyFromTempFile( pBytesOut, pBytesIn.length + 1, m_xSFA, sFileURL ); in test()
|
/trunk/main/l10ntools/layout/ |
H A D | tralay.cxx | 216 OUString sFileURL( name.GetBuffer(), name.Len(), RTL_TEXTENCODING_UTF8 ); in is_dir() local 217 FileBase::getFileURLFromSystemPath( sFileURL, sFileURL ); in is_dir() 218 if( DirectoryItem::get( sFileURL, aItem ) == FileBase::E_None ) in is_dir() 232 OUString sFileURL( name.GetBuffer(), name.Len(), RTL_TEXTENCODING_UTF8 ); in make_directory() local 233 FileBase::getFileURLFromSystemPath( sFileURL, sFileURL ); in make_directory() 234 Directory::create( sFileURL ); in make_directory()
|
/trunk/main/svtools/source/control/ |
H A D | filectrl2.cxx | 54 ::rtl::OUString sSystemNotation = GetText(), sFileURL; in ImplBrowseFile() 55 oslFileError nError = osl_getFileURLFromSystemPath( sSystemNotation.pData, &sFileURL.pData ); in ImplBrowseFile() 57 sFileURL = GetText(); // #97709# Maybe URL is already a file URL... in ImplBrowseFile() 61 if ( osl_getSystemPathFromFileURL( sFileURL.pData, &aTmp.pData ) == osl_File_E_None ) in ImplBrowseFile() 64 xFilePicker->setDisplayDirectory( sFileURL ); in ImplBrowseFile()
|
/trunk/main/l10ntools/source/filter/utils/ |
H A D | FileHelper.java | 73 java.lang.String sFileURL = null; in getFileURLFromSystemPath() local 78 (sFileURL != null ) && in getFileURLFromSystemPath() 79 (sFileURL.startsWith("file:/") == true ) && in getFileURLFromSystemPath() 80 (sFileURL.startsWith("file://") == false) in getFileURLFromSystemPath() 83 java.lang.StringBuffer sWorkBuffer = new java.lang.StringBuffer(sFileURL); in getFileURLFromSystemPath() 85 sFileURL = sWorkBuffer.toString(); in getFileURLFromSystemPath() 88 return sFileURL; in getFileURLFromSystemPath() 143 java.lang.String sFileURL = FileHelper.getFileURLFromSystemPath(aSystemPath); in getURLWithProtocolFromSystemPath() local
|
/trunk/main/sw/source/ui/misc/ |
H A D | glosdoc.cxx | 328 String sFileURL(*(*m_pPathArr)[nPath]); in DelGroupDoc() local 335 sFileURL += INET_PATH_TOKEN; in DelGroupDoc() 336 sFileURL += aTmp; in DelGroupDoc() 340 sal_Bool bRemoved = SWUnoHelper::UCB_DeleteFile( sFileURL ); in DelGroupDoc() 382 String sFileURL(*(*m_pPathArr)[nPath]); in GetGlosDoc() local 385 sFileURL += INET_PATH_TOKEN; in GetGlosDoc() 386 sFileURL += aTmp; in GetGlosDoc() 390 bExist = FStatHelper::IsDocument( sFileURL ); in GetGlosDoc() 394 pTmp = new SwTextBlocks( sFileURL ); in GetGlosDoc()
|
/trunk/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/ |
H A D | FunctionHelper.java | 992 String sFileURL = null; in askUserForFileURL() local 1017 sFileURL = aChooser.getSelectedFile().toURL().toExternalForm(); in askUserForFileURL() 1022 sFileURL = null; in askUserForFileURL() 1027 ( sFileURL !=null ) && in askUserForFileURL() 1028 ( sFileURL.startsWith("file:/") ==true ) && in askUserForFileURL() 1029 ( sFileURL.startsWith("file://")==false ) in askUserForFileURL() 1032 StringBuffer sWorkBuffer = new StringBuffer(sFileURL); in askUserForFileURL() 1034 sFileURL = sWorkBuffer.toString(); in askUserForFileURL() 1038 return sFileURL; in askUserForFileURL()
|
/trunk/main/toolkit/source/layout/core/ |
H A D | byteseq.cxx | 37 rtl::OUString sFileURL; in getFileAsStream() local 38 if( FileBase::E_None != FileBase::getFileURLFromSystemPath( rName, sFileURL ) ) in getFileAsStream() 39 sFileURL = rName; // maybe it already was a file url in getFileAsStream() 41 File * blobFile = new File(sFileURL); in getFileAsStream()
|
/trunk/main/ucb/source/ucp/odma/ |
H A D | odma_content.cxx | 358 rtl::OUString sFileURL = openDoc(); in execute() local 360 m_pContent = new ::ucbhelper::Content(sFileURL,NULL); in execute() 364 sErrorMsg += sFileURL; in execute() 571 rtl::OUString sFileURL = ContentProvider::openDoc(aProp); in execute() local 573 sal_Int32 nLastIndex = sFileURL.lastIndexOf( sal_Unicode('/') ); in execute() 574 ::ucbhelper::Content aContent(sFileURL.copy(0,nLastIndex),NULL); in execute() 576 aTransferInfo.NewTitle = sFileURL.copy( 1 + nLastIndex ); in execute()
|
/trunk/main/reportdesign/source/core/api/ |
H A D | ReportEngineJFree.cxx | 205 ::rtl::OUString sFileURL; in getNewOutputName() 215 sFileURL = aFile.GetURL(); in getNewOutputName() 218 sFileURL = aTestFile.GetURL(); in getNewOutputName() 221 …uno::Reference< embed::XStorage > xOut = OStorageHelper::GetStorageFromURL(sFileURL,embed::Element… in getNewOutputName() 262 sOutputName = sFileURL; in getNewOutputName()
|
/trunk/main/reportdesign/qa/complex/reportdesign/ |
H A D | ReportDesignerTest.java | 310 String sFileURL = _sDocument; // URLHelper.getFileURLFromSystemPath(_sDocument); in startTestForFile() local 311 System.out.println("File URL: " + sFileURL); in startTestForFile() 313 XComponent xDocComponent = loadComponent(sFileURL, getXDesktop(), null); in startTestForFile() 335 Object aObj = xNameAccess.getByName(sFileURL); in startTestForFile()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/convwatch/ |
H A D | ReportDesignerTest.java | 369 String sFileURL = URLHelper.getFileURLFromSystemPath(_sDocument); in startTestForFile() local 370 log.println("File URL: " + sFileURL); in startTestForFile() 372 XComponent xDocComponent = loadComponent(sFileURL, getXDesktop(), null); in startTestForFile() 392 Object aObj = xNameAccess.getByName(sFileURL); in startTestForFile()
|
H A D | FilenameHelper.java | 120 String sFileURL = URLHelper.getFileURLFromSystemPath(sSystemPath); in getFileURL() local 121 return sFileURL; in getFileURL()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/graphical/ |
H A D | OpenOfficeDatabaseReportExtractor.java | 207 String sFileURL = URLHelper.getFileURLFromSystemPath(sDestinationFile); in load() local 208 GlobalLogWriter.println("File URL: " + sFileURL); in load() 218 XComponent xDocComponent = loadComponent(sFileURL, getXDesktop(), aPropertyList); in load()
|
/trunk/main/sfx2/source/doc/ |
H A D | printhelper.cxx | 642 ::rtl::OUString sFileURL; in print() 643 … if (::osl::FileBase::getFileURLFromSystemPath(sSystemPath,sFileURL)!=::osl::FileBase::E_None) in print() 646 aCheckedArgs[nProps++].Value <<= sFileURL; in print()
|
/trunk/main/sw/source/ui/uiview/ |
H A D | srcview.cxx | 910 String sFileURL( aTempFile.GetURL() ); in Load() local 914 SfxMedium aMedium( sFileURL,STREAM_READWRITE, sal_True ); in Load() 920 (const String&) sFileURL; in Load()
|
/trunk/main/sw/source/ui/dbui/ |
H A D | dbmgr.cxx | 1164 … String sFileURL = aTempFileURL.GetMainURL( INetURLObject::NO_DECODE ); in MergeMailFiles() local 1166 sFileURL, in MergeMailFiles() 1215 sFileURL, in MergeMailFiles() 1225 SfxMedium aMedium( sFileURL, STREAM_READ, sal_True); in MergeMailFiles() 1265 aFilesToRemove.push_back(sFileURL); in MergeMailFiles()
|
/trunk/main/embeddedobj/test/Container1/ |
H A D | EmbedContApp.java | 1676 public String getValidURL( String sFileURL ) in getValidURL() argument 1680 aURLs[0].Complete = sFileURL; in getValidURL()
|
/trunk/main/sw/source/ui/dochdl/ |
H A D | swdtflvr.cxx | 2597 String sFileURL = URIHelper::SmartRel2Abs(INetURLObject(), sFile, Link(), false ); in _PasteFileName() local 2600 sFileURL, aEmptyStr ); in _PasteFileName() 2615 pSect->SetLinkFileName( sFileURL ); in _PasteFileName()
|
/trunk/main/sw/source/ui/uno/ |
H A D | unotxdoc.cxx | 1253 OUString sFileURL; in printPages() local 1254 if ( (rProp.Value >>= sFileURL ) ) in printPages() 1258 FileBase::getSystemPathFromFileURL ( sFileURL, sSystemPath ); in printPages()
|