Home
last modified time | relevance | path

Searched refs:sUrl (Results 1 – 25 of 54) sorted by relevance

123

/trunk/main/scripting/java/com/sun/star/script/framework/io/
H A DUCBStreamHandler.java89 String sUrl = url.toString(); in getInputStream() local
90 if (sUrl.lastIndexOf(separator) == -1) { in getInputStream()
92 return getFileStreamFromUCB(sUrl); in getInputStream()
95 String path = sUrl.substring(0, sUrl.lastIndexOf(separator) ); in getInputStream()
96 String file = sUrl.substring( in getInputStream()
97 sUrl.lastIndexOf(separator) + separator.length()); in getInputStream()
107 String sUrl = url.toString(); in getOutputStream() local
108 if ( !( sUrl.lastIndexOf(separator) == -1) ) { in getOutputStream()
109 String path = sUrl.substring(0, sUrl.lastIndexOf(separator)); in getOutputStream()
110 String file = sUrl.substring( in getOutputStream()
[all …]
/trunk/main/dbaccess/source/core/misc/
H A Ddsntypes.cxx223 String sUrl = cutPrefix(_rDsn); in extractHostNamePort() local
226 lcl_extractHostAndPort(sUrl,_rsHostname,_nPortNumber); in extractHostNamePort()
227 if ( !_rsHostname.Len() && sUrl.GetTokenCount(':') == 2 ) in extractHostNamePort()
230 _rsHostname = sUrl.GetToken(0,':'); in extractHostNamePort()
234 _sDatabaseName = sUrl.GetToken(sUrl.GetTokenCount(':') - 1,':'); in extractHostNamePort()
242 if ( sUrl.GetTokenCount(':') == 2 ) in extractHostNamePort()
243 _rsHostname = sUrl.GetToken(0,':'); in extractHostNamePort()
244 _sDatabaseName = sUrl.GetToken(sUrl.GetTokenCount(':') - 1,':'); in extractHostNamePort()
248 lcl_extractHostAndPort(sUrl,_rsHostname,_nPortNumber); in extractHostNamePort()
251 _rsHostname = sUrl.GetToken(0,'/'); in extractHostNamePort()
[all …]
/trunk/main/sc/source/ui/vba/testvba/
H A Dtestvba.cxx149 void proccessDocument( const rtl::OUString& sUrl ) in proccessDocument() argument
151 if ( !mxSFA->isFolder( sUrl ) && sUrl.endsWithIgnoreAsciiCaseAsciiL( ".xls", 4 ) ) in proccessDocument()
156 OSL_TRACE( "processing %s", rtl::OUStringToOString( sUrl, RTL_TEXTENCODING_UTF8 ).getStr() ); in proccessDocument()
157 printf( "processing %s\n", rtl::OUStringToOString( sUrl, RTL_TEXTENCODING_UTF8 ).getStr() ); in proccessDocument()
163 rtl::OUString sfileUrl = convertToURL( sUrl ); in proccessDocument()
194 …OSL_TRACE("Got script for doc %s", rtl::OUStringToOString( sUrl, RTL_TEXTENCODING_UTF8 ).getStr() … in proccessDocument()
202 OUString fileName = sUrl.copy ( sUrl.lastIndexOf( '/' ) ); in proccessDocument()
255 …printf("complete processing %s\n", rtl::OUStringToOString( sUrl, RTL_TEXTENCODING_UTF8 ).getStr() … in proccessDocument()
/trunk/test/testuno/source/testlib/uno/
H A DGraphicUtil.java66 public static String getUniqueIDOfGraphicFile(UnoApp unoApp, String sUrl) throws Exception{ in getUniqueIDOfGraphicFile() argument
67 XGraphic xgraphic = getXGraphicOfGraphicFile(unoApp,sUrl); in getUniqueIDOfGraphicFile()
73 public static XGraphic getXGraphicOfGraphicFile(UnoApp unoApp, String sUrl) throws Exception in getXGraphicOfGraphicFile() argument
80 sourceProps[0].Value = sUrl; in getXGraphicOfGraphicFile()
84 public static Size getSize100thMMOfGraphicFile(UnoApp unoApp, String sUrl) throws Exception in getSize100thMMOfGraphicFile() argument
91 sourceProps[0].Value = sUrl; in getSize100thMMOfGraphicFile()
97 public static Size getSizePixelOfGraphicFile(UnoApp unoApp, String sUrl) throws Exception in getSizePixelOfGraphicFile() argument
104 sourceProps[0].Value = sUrl; in getSizePixelOfGraphicFile()
/trunk/main/jvmfwk/source/
H A Dfwkutil.cxx236 rtl::OUString sUrl; in findPlugin() local
239 sUrl = rtl::Uri::convertRelToAbs(baseUrl, expandedPlugin); in findPlugin()
252 if (checkFileURL(sUrl) == jfw::FILE_OK) in findPlugin()
254 return sUrl; in findPlugin()
258 sUrl = sProgDir + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/")) in findPlugin()
260 jfw::FileStatus s = checkFileURL(sUrl); in findPlugin()
297 retVal = sUrl; in findPlugin()
H A Dfwkbase.cxx167 OUString sUrl = findPlugin( in getPluginData() local
169 if (sUrl.getLength() == 0) in getPluginData()
177 plugin.sPath = sUrl; in getPluginData()
321 OUString sUrl = findPlugin(m_xmlDocVendorSettingsFileUrl, xmlCharPlugin); in getPluginLibrary() local
322 if (sUrl.getLength() == 0) in getPluginLibrary()
330 return sUrl; in getPluginLibrary()
/trunk/main/scripting/java/com/sun/star/script/framework/container/
H A DScriptMetaData.java397 String sUrl = null; in getSourceURL() local
400 sUrl = getParcelLocation(); in getSourceURL()
401 sUrl = PathUtils.make_url( sUrl, getLanguageName() ); in getSourceURL()
402 LogUtils.DEBUG("Creating script url for " + sUrl ); in getSourceURL()
403 scriptURL = createURL( sUrl ); in getSourceURL()
/trunk/main/odk/examples/java/DocumentHandling/
H A DDocumentConverter.java88 String sUrl = "file:///" in traverse() local
100 sUrl, "_blank", 0, propertyValues); in traverse()
120 int index1 = sUrl.lastIndexOf('/'); in traverse()
121 int index2 = sUrl.lastIndexOf('.'); in traverse()
122 String sStoreUrl = sOutUrl + sUrl.substring(index1, index2 + 1) in traverse()
H A DDocumentLoader.java59 String sUrl = args[0]; in main() local
60 if ( sUrl.indexOf("private:") != 0) { in main()
64 sUrl = sbTmp.toString(); in main()
69 sUrl, "_blank", 0, new com.sun.star.beans.PropertyValue[0]); in main()
H A DDocumentPrinter.java58 StringBuffer sUrl = new StringBuffer("file:///"); in main() local
59 sUrl.append(sourceFile.getCanonicalPath().replace('\\', '/')); in main()
63 sUrl.toString(), "_blank", 0, in main()
/trunk/main/filter/source/xmlfilterdetect/
H A Dfilterdetect.cxx101 ::rtl::OUString sUrl = OUString::createFromAscii(""); in detect()
128 pValue[i].Value >>= sUrl; in detect()
143 ::ucbhelper::Content aContent(sUrl,xEnv); in detect()
195 if(sUrl.indexOf( ::rtl::OUString::createFromAscii(".uot") ) != -1 || in detect()
196 sUrl.indexOf( ::rtl::OUString::createFromAscii(".uos") ) != -1 || in detect()
197 sUrl.indexOf( ::rtl::OUString::createFromAscii(".uop") ) != -1) in detect()
/trunk/main/cpputools/source/registercomponent/
H A Dregistercomponent.cxx558 OString sUrl = OUStringToOString(url, osl_getThreadTextEncoding()); in operator ()() local
574 …fprintf(stderr, "register component '%s' in registry '%s' successful!\n", sUrl.getStr(), _sRegName… in operator ()()
580 …fprintf(stderr, "register component '%s' in registry '%s' failed!\n", sUrl.getStr(), _sRegName.get… in operator ()()
588 …fprintf(stderr, "register component '%s' in registry '%s' failed!\n", sUrl.getStr(), _sRegName.get… in operator ()()
603 …fprintf(stderr, "revoke component '%s' from registry '%s' successful!\n", sUrl.getStr(), _sRegName… in operator ()()
607 …fprintf(stderr, "revoke component '%s' from registry '%s' failed!\n", sUrl.getStr(), _sRegName.get… in operator ()()
616 sUrl.getStr(), in operator ()()
/trunk/main/sw/source/ui/vba/
H A Dvbaaddins.cxx50 rtl::OUString sUrl = sEntries[ index ]; in lcl_getAddinCollection() local
51 if( !xSFA->isFolder( sUrl ) && sUrl.endsWithIgnoreAsciiCaseAsciiL( ".dot", 4 ) ) in lcl_getAddinCollection()
53 …push_back( uno::Reference< word::XAddin >( new SwVbaAddin( xParent, xContext, sUrl, sal_True ) ) ); in lcl_getAddinCollection()
/trunk/main/swext/mediawiki/src/com/sun/star/wiki/
H A DSettings.java156 public Hashtable getSettingByUrl( String sUrl ) in getSettingByUrl() argument
163 if ( u1.equals( sUrl ) ) in getSettingByUrl()
172 … String[] pPasswords = Helper.GetPasswordsForURLAndUser( m_xContext, sUrl, sUserName ); in getSettingByUrl()
204 public void removeSettingByUrl( String sUrl ) in removeSettingByUrl() argument
211 if ( u1.equals( sUrl ) ) in removeSettingByUrl()
/trunk/main/odk/examples/java/Text/
H A DGraphicsInserter.java130 StringBuffer sUrl = new StringBuffer("file:///"); in main() local
131 sUrl.append(sourceFile.getCanonicalPath().replace('\\', '/')); in main()
132 System.out.println( "insert graphic \"" + sUrl + "\""); in main()
139 xPropSet.setPropertyValue( "GraphicURL", sUrl.toString() ); in main()
/trunk/main/odk/examples/DevelopersGuide/ProfUNO/InterprocessConn/
H A DConnectionAwareClient.java96 String sUrl; in actionPerformed() local
99 sUrl = "private:factory/swriter"; in actionPerformed()
103 sUrl = "private:factory/scalc"; in actionPerformed()
106 sUrl, "_blank", 0,new com.sun.star.beans.PropertyValue[0] ); in actionPerformed()
/trunk/main/scripting/java/com/sun/star/script/framework/provider/javascript/
H A DScriptEditorForJavaScript.java181 String sUrl = entry.getParcelLocation(); in edit() local
182 if ( !sUrl.endsWith( "/" ) ) in edit()
184 sUrl += "/"; in edit()
186 sUrl += entry.getLanguageName(); in edit()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/basicrunner/basichelper/
H A DThreadRunner.java167 public ToolkitDialogThread(XMultiServiceFactory xMSF, Object doc, String sUrl) { in ToolkitDialogThread() argument
169 url = sUrl; in ToolkitDialogThread()
203 public DialogFromFileThread(XMultiServiceFactory xMSF, String sUrl) { in DialogFromFileThread() argument
204 url = sUrl; in DialogFromFileThread()
/trunk/main/scripting/java/com/sun/star/script/framework/provider/beanshell/
H A DScriptEditorForBeanShell.java206 String sUrl = entry.getParcelLocation(); in edit() local
207 if ( !sUrl.endsWith( "/" ) ) in edit()
209 sUrl += "/"; in edit()
211 sUrl += entry.getLanguageName(); in edit()
/trunk/main/dbaccess/source/ui/dlg/
H A Ddbwizsetup.cxx915 ::rtl::OUString sUrl; in CreateDatabase()
919 sUrl = eType; in CreateDatabase()
933 sUrl = aDBPathURL.GetMainURL( INetURLObject::NO_DECODE); in CreateDatabase()
934 xSimpleFileAccess->createFolder(sUrl); in CreateDatabase()
937 sUrl = sPrefix.concat(sUrl); in CreateDatabase()
939 m_pOutSet->Put(SfxStringItem(DSID_CONNECTURL, sUrl)); in CreateDatabase()
/trunk/main/odk/examples/DevelopersGuide/Charts/
H A DChartInCalc.java199 StringBuffer sUrl = new StringBuffer("file:///"); in testDataRowProperties() local
203 sUrl.append(sourceFile.getCanonicalPath().replace('\\', '/')); in testDataRowProperties()
205 sUrl = new StringBuffer("http://graphics.openoffice.org/chart/bullet1.gif"); in testDataRowProperties()
210 aSeriesProp.setPropertyValue( "SymbolBitmapURL", sUrl.toString() ); in testDataRowProperties()
/trunk/main/codemaker/source/codemaker/
H A Dglobal.cxx300 OUString sUrl(convertToFileUrl(name)); in FileStream() local
307 if (osl_openFile(sUrl.pData, &m_file, checkAccessMode(mode)) == osl_File_E_None && in FileStream()
308 osl_setFileAttributes(sUrl.pData, uAttr) == osl_File_E_None) in FileStream()
310 if (osl_openFile(sUrl.pData, &m_file, checkAccessMode(mode)) == osl_File_E_None) in FileStream()
/trunk/main/odk/examples/DevelopersGuide/Drawing/
H A DDrawViewDemo.java75 StringBuffer sUrl = new StringBuffer("file:///"); in main() local
76 sUrl.append(sourceFile.getCanonicalPath().replace('\\', '/')); in main()
79 sUrl.toString(), "_blank", 0, in main()
H A DGraphicExportDemo.java68 StringBuffer sUrl = new StringBuffer("file:///"); in main() local
69 sUrl.append(sourceFile.getCanonicalPath().replace('\\', '/')); in main()
72 sUrl.toString(), "_blank", 0, in main()
/trunk/main/extensions/source/activex/main/
H A DSOActiveX.h182 …HRESULT CallDispatchMethod( OLECHAR* sUrl, CComVariant* sArgNames, CComVariant* sArgVal, unsigned …
183 HRESULT CallLoadComponentFromURL1PBool( OLECHAR* sUrl, OLECHAR* sArgName, BOOL sArgVal );
184 HRESULT GetUrlStruct( OLECHAR* sUrl, CComPtr<IDispatch>& pdispUrl );

Completed in 104 milliseconds

123