/aoo41x/main/scripting/java/com/sun/star/script/framework/io/ |
H A D | UCBStreamHandler.java | 89 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 …]
|
/aoo41x/main/dbaccess/source/core/misc/ |
H A D | dsntypes.cxx | 223 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 …]
|
/aoo41x/main/sc/source/ui/vba/testvba/ |
H A D | testvba.cxx | 149 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()
|
/aoo41x/test/testuno/source/testlib/uno/ |
H A D | GraphicUtil.java | 66 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()
|
/aoo41x/main/jvmfwk/source/ |
H A D | fwkutil.cxx | 236 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 D | fwkbase.cxx | 167 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()
|
/aoo41x/main/scripting/java/com/sun/star/script/framework/container/ |
H A D | ScriptMetaData.java | 397 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()
|
/aoo41x/main/odk/examples/java/DocumentHandling/ |
H A D | DocumentConverter.java | 88 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 D | DocumentLoader.java | 59 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 D | DocumentPrinter.java | 58 StringBuffer sUrl = new StringBuffer("file:///"); in main() local 59 sUrl.append(sourceFile.getCanonicalPath().replace('\\', '/')); in main() 63 sUrl.toString(), "_blank", 0, in main()
|
/aoo41x/main/filter/source/xmlfilterdetect/ |
H A D | filterdetect.cxx | 101 ::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()
|
/aoo41x/main/cpputools/source/registercomponent/ |
H A D | registercomponent.cxx | 558 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 ()()
|
/aoo41x/main/sw/source/ui/vba/ |
H A D | vbaaddins.cxx | 50 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()
|
/aoo41x/main/odk/examples/java/Text/ |
H A D | GraphicsInserter.java | 130 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()
|
/aoo41x/main/swext/mediawiki/src/com/sun/star/wiki/ |
H A D | Settings.java | 156 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()
|
/aoo41x/main/odk/examples/DevelopersGuide/ProfUNO/InterprocessConn/ |
H A D | ConnectionAwareClient.java | 96 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()
|
/aoo41x/main/scripting/java/com/sun/star/script/framework/provider/javascript/ |
H A D | ScriptEditorForJavaScript.java | 181 String sUrl = entry.getParcelLocation(); in edit() local 182 if ( !sUrl.endsWith( "/" ) ) in edit() 184 sUrl += "/"; in edit() 186 sUrl += entry.getLanguageName(); in edit()
|
/aoo41x/main/scripting/java/com/sun/star/script/framework/provider/beanshell/ |
H A D | ScriptEditorForBeanShell.java | 206 String sUrl = entry.getParcelLocation(); in edit() local 207 if ( !sUrl.endsWith( "/" ) ) in edit() 209 sUrl += "/"; in edit() 211 sUrl += entry.getLanguageName(); in edit()
|
/aoo41x/main/qadevOOo/runner/basicrunner/basichelper/ |
H A D | ThreadRunner.java | 167 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()
|
/aoo41x/main/odk/examples/DevelopersGuide/Drawing/ |
H A D | DrawViewDemo.java | 75 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 D | GraphicExportDemo.java | 68 StringBuffer sUrl = new StringBuffer("file:///"); in main() local 69 sUrl.append(sourceFile.getCanonicalPath().replace('\\', '/')); in main() 72 sUrl.toString(), "_blank", 0, in main()
|
/aoo41x/main/odk/examples/DevelopersGuide/Charts/ |
H A D | ChartInCalc.java | 199 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()
|
/aoo41x/main/codemaker/source/codemaker/ |
H A D | global.cxx | 300 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()
|
/aoo41x/main/dbaccess/source/ui/dlg/ |
H A D | dbwizsetup.cxx | 957 ::rtl::OUString sUrl; in CreateDatabase() 961 sUrl = eType; in CreateDatabase() 975 sUrl = aDBPathURL.GetMainURL( INetURLObject::NO_DECODE); in CreateDatabase() 976 xSimpleFileAccess->createFolder(sUrl); in CreateDatabase() 979 sUrl = sPrefix.concat(sUrl); in CreateDatabase() 981 m_pOutSet->Put(SfxStringItem(DSID_CONNECTURL, sUrl)); in CreateDatabase()
|
/aoo41x/main/extensions/source/activex/main/ |
H A D | SOActiveX.h | 182 …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 );
|