Home
last modified time | relevance | path

Searched refs:sFileURL (Results 1 – 22 of 22) sorted by relevance

/aoo42x/main/qadevOOo/runner/helper/
H A DURLHelper.java64 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 …]
/aoo42x/main/odk/examples/DevelopersGuide/Forms/
H A DURLHelper.java43 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()
/aoo42x/main/unotools/qa/complex/tempfile/
H A DTest01.java50 String sFileURL = null; in test() local
71 sFileURL = m_aTestHelper.GetTempFileURL( xTempFile ); in test()
73 m_aTestHelper.CompareFileNameAndURL( sFileName, sFileURL ); in test()
93 … m_aTestHelper.ReadDirectlyFromTempFile( pBytesOut2, pBytesIn.length + 1, m_xSFA, sFileURL ); in test()
103 if( !m_aTestHelper.IfTempFileExists( m_xSFA, sFileURL ) ) { in test()
106 m_aTestHelper.KillTempFile( sFileURL, m_xSFA ); in test()
H A DTest02.java49 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()
/aoo42x/main/l10ntools/layout/
H A Dtralay.cxx216 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()
/aoo42x/main/svtools/source/control/
H A Dfilectrl2.cxx54 ::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()
/aoo42x/main/l10ntools/source/filter/utils/
H A DFileHelper.java73 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
/aoo42x/main/sw/source/ui/misc/
H A Dglosdoc.cxx328 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()
/aoo42x/main/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/
H A DFunctionHelper.java992 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()
/aoo42x/main/toolkit/source/layout/core/
H A Dbyteseq.cxx37 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()
/aoo42x/main/ucb/source/ucp/odma/
H A Dodma_content.cxx358 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()
/aoo42x/main/reportdesign/source/core/api/
H A DReportEngineJFree.cxx205 ::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()
/aoo42x/main/reportdesign/qa/complex/reportdesign/
H A DReportDesignerTest.java339 String sFileURL = _sDocument; // URLHelper.getFileURLFromSystemPath(_sDocument); in startTestForFile() local
340 System.out.println("File URL: " + sFileURL); in startTestForFile()
342 XComponent xDocComponent = loadComponent(sFileURL, getXDesktop(), null); in startTestForFile()
364 Object aObj = xNameAccess.getByName(sFileURL); in startTestForFile()
/aoo42x/main/qadevOOo/runner/convwatch/
H A DReportDesignerTest.java369 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 DFilenameHelper.java120 String sFileURL = URLHelper.getFileURLFromSystemPath(sSystemPath); in getFileURL() local
121 return sFileURL; in getFileURL()
/aoo42x/main/qadevOOo/runner/graphical/
H A DOpenOfficeDatabaseReportExtractor.java207 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()
/aoo42x/main/sfx2/source/doc/
H A Dprinthelper.cxx642 ::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()
/aoo42x/main/sw/source/ui/uiview/
H A Dsrcview.cxx910 String sFileURL( aTempFile.GetURL() ); in Load() local
914 SfxMedium aMedium( sFileURL,STREAM_READWRITE, sal_True ); in Load()
920 (const String&) sFileURL; in Load()
/aoo42x/main/sw/source/ui/dbui/
H A Ddbmgr.cxx1164 … 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()
/aoo42x/main/embeddedobj/test/Container1/
H A DEmbedContApp.java1676 public String getValidURL( String sFileURL ) in getValidURL() argument
1680 aURLs[0].Complete = sFileURL; in getValidURL()
/aoo42x/main/sw/source/ui/dochdl/
H A Dswdtflvr.cxx2597 String sFileURL = URIHelper::SmartRel2Abs(INetURLObject(), sFile, Link(), false ); in _PasteFileName() local
2600 sFileURL, aEmptyStr ); in _PasteFileName()
2615 pSect->SetLinkFileName( sFileURL ); in _PasteFileName()
/aoo42x/main/sw/source/ui/uno/
H A Dunotxdoc.cxx1253 OUString sFileURL; in printPages() local
1254 if ( (rProp.Value >>= sFileURL ) ) in printPages()
1258 FileBase::getSystemPathFromFileURL ( sFileURL, sSystemPath ); in printPages()

Completed in 170 milliseconds