Lines Matching refs:xMSF

68     public static void addOfficePath(XMultiServiceFactory xMSF, String sPath, String sAddPath)  in addOfficePath()  argument
71 String ResultPath = getOfficePath(xMSF, sPath, xSimpleFileAccess); in addOfficePath()
112 …public static String getOfficePath(XMultiServiceFactory xMSF, String sPath, XSimpleFileAccess xSim… in getOfficePath() argument
117 … XInterface xInterface = (XInterface) xMSF.createInstance("com.sun.star.util.PathSettings"); in getOfficePath()
140 …public static String getOfficePath(XMultiServiceFactory xMSF, String sPath, String sType, String s… in getOfficePath() argument
153 … XInterface xPathInterface = (XInterface) xMSF.createInstance("com.sun.star.util.PathSettings"); in getOfficePath()
157 … XInterface xUcbInterface = (XInterface) xMSF.createInstance("com.sun.star.ucb.SimpleFileAccess"); in getOfficePath()
207 throw new NoValidPathException(xMSF, PropertyNames.EMPTY_STRING); in getOfficePath()
212 …public static ArrayList<String> getOfficePaths(XMultiServiceFactory xMSF, String _sPath, String sT… in getOfficePaths() argument
227 … XInterface xPathInterface = (XInterface) xMSF.createInstance("com.sun.star.util.PathSettings"); in getOfficePaths()
245 XMacroExpander xExpander = Helper.getMacroExpander(xMSF); in getOfficePaths()
250 sPath = checkIfLanguagePathExists(xMSF, sPath); in getOfficePaths()
410 …public static void combinePaths(XMultiServiceFactory xMSF, ArrayList _aFirstPath, String _sSecondP… in combinePaths() argument
416 if (isPathValid(xMSF, sOnePath)) in combinePaths()
429 public static boolean isPathValid(XMultiServiceFactory xMSF, String _sPath) in isPathValid() argument
434 … XInterface xUcbInterface = (XInterface) xMSF.createInstance("com.sun.star.ucb.SimpleFileAccess"); in isPathValid()
445 …public static String combinePaths(XMultiServiceFactory xMSF, String _sFirstPath, String _sSecondPa… in combinePaths() argument
451 … XInterface xUcbInterface = (XInterface) xMSF.createInstance("com.sun.star.ucb.SimpleFileAccess"); in combinePaths()
463 throw new NoValidPathException(xMSF, PropertyNames.EMPTY_STRING); in combinePaths()
468 …public static boolean createSubDirectory(XMultiServiceFactory xMSF, XSimpleFileAccess xSimpleFileA… in createSubDirectory() argument
473 Resource oResource = new Resource(xMSF, "ImportWizard", "imp"); in createSubDirectory()
480 …int icreate = SystemDialog.showMessageBox(xMSF, "QueryBox", VclWindowPeerAttribute.YES_NO, sQueryM… in createSubDirectory()
491 SystemDialog.showMessageBox(xMSF, "ErrorBox", VclWindowPeerAttribute.OK, sMsgNoDir); in createSubDirectory()
497 SystemDialog.showMessageBox(xMSF, "ErrorBox", VclWindowPeerAttribute.OK, sMsgNoDir); in createSubDirectory()
504 …public static boolean PathisValid(XMultiServiceFactory xMSF, String Path, String sMsgFilePathInval… in PathisValid() argument
517 … XInterface xInterface = (XInterface) xMSF.createInstance("com.sun.star.ucb.SimpleFileAccess"); in PathisValid()
523 Resource oResource = new Resource(xMSF, "ImportWizard", "imp"); in PathisValid()
528 …int iLeave = SystemDialog.showMessageBox(xMSF, "QueryBox", VclWindowPeerAttribute.YES_NO, sFileexi… in PathisValid()
562 return createSubDirectory(xMSF, xSimpleFileAccess, SubDirPath); in PathisValid()
573 … SystemDialog.showMessageBox(xMSF, "ErrorBox", VclWindowPeerAttribute.OK, sMsgFilePathInvalid); in PathisValid()
579 … SystemDialog.showMessageBox(xMSF, "ErrorBox", VclWindowPeerAttribute.OK, sMsgFilePathInvalid); in PathisValid()
594 …public static String[][] getFolderTitles(com.sun.star.lang.XMultiServiceFactory xMSF, String Filte… in getFolderTitles() argument
602 …XInterface xDocInterface = (XInterface) xMSF.createInstance("com.sun.star.document.DocumentPropert… in getFolderTitles()
605 … XInterface xInterface = (XInterface) xMSF.createInstance("com.sun.star.ucb.SimpleFileAccess"); in getFolderTitles()
666 public static String getPathFromList(XMultiServiceFactory xMSF, ArrayList _aList, String _sFile) in getPathFromList() argument
671 … XInterface xInterface = (XInterface) xMSF.createInstance("com.sun.star.ucb.SimpleFileAccess"); in getPathFromList()
698 …public static String[][] getFolderTitles(com.sun.star.lang.XMultiServiceFactory xMSF, String _sSta… in getFolderTitles() argument
701 return getFolderTitles(xMSF, _sStartFilterName, FolderNames, PropertyNames.EMPTY_STRING); in getFolderTitles()
704 private static String getTitle(XMultiServiceFactory xMSF, String _sFile) in getTitle() argument
709 …XInterface xDocInterface = (XInterface) xMSF.createInstance("com.sun.star.document.DocumentPropert… in getTitle()
721 …public static String[][] getFolderTitles(com.sun.star.lang.XMultiServiceFactory xMSF, String _sSta… in getFolderTitles() argument
735 … XInterface xInterface = (XInterface) xMSF.createInstance("com.sun.star.ucb.SimpleFileAccess"); in getFolderTitles()
763 sTitle = getTitle(xMSF, nameList[i]); in getFolderTitles()