Lines Matching refs:xMSF

72     public static void addOfficePath(XMultiServiceFactory xMSF, String sPath, String sAddPath)  in addOfficePath()  argument
75 String ResultPath = getOfficePath(xMSF, sPath, xSimpleFileAccess); in addOfficePath()
116 …public static String getOfficePath(XMultiServiceFactory xMSF, String sPath, XSimpleFileAccess xSim… in getOfficePath() argument
121 … XInterface xInterface = (XInterface) xMSF.createInstance("com.sun.star.util.PathSettings"); in getOfficePath()
144 …public static String getOfficePath(XMultiServiceFactory xMSF, String sPath, String sType, String s… in getOfficePath() argument
157 … XInterface xPathInterface = (XInterface) xMSF.createInstance("com.sun.star.util.PathSettings"); in getOfficePath()
161 … XInterface xUcbInterface = (XInterface) xMSF.createInstance("com.sun.star.ucb.SimpleFileAccess"); in getOfficePath()
211 throw new NoValidPathException(xMSF, PropertyNames.EMPTY_STRING); in getOfficePath()
216 …public static ArrayList<String> getOfficePaths(XMultiServiceFactory xMSF, String _sPath, String sT… in getOfficePaths() argument
231 … XInterface xPathInterface = (XInterface) xMSF.createInstance("com.sun.star.util.PathSettings"); in getOfficePaths()
249 XMacroExpander xExpander = Helper.getMacroExpander(xMSF); in getOfficePaths()
254 sPath = checkIfLanguagePathExists(xMSF, sPath); in getOfficePaths()
414 …public static void combinePaths(XMultiServiceFactory xMSF, ArrayList _aFirstPath, String _sSecondP… in combinePaths() argument
420 if (isPathValid(xMSF, sOnePath)) in combinePaths()
433 public static boolean isPathValid(XMultiServiceFactory xMSF, String _sPath) in isPathValid() argument
438 … XInterface xUcbInterface = (XInterface) xMSF.createInstance("com.sun.star.ucb.SimpleFileAccess"); in isPathValid()
449 …public static String combinePaths(XMultiServiceFactory xMSF, String _sFirstPath, String _sSecondPa… in combinePaths() argument
455 … XInterface xUcbInterface = (XInterface) xMSF.createInstance("com.sun.star.ucb.SimpleFileAccess"); in combinePaths()
467 throw new NoValidPathException(xMSF, PropertyNames.EMPTY_STRING); in combinePaths()
472 …public static boolean createSubDirectory(XMultiServiceFactory xMSF, XSimpleFileAccess xSimpleFileA… in createSubDirectory() argument
477 Resource oResource = new Resource(xMSF, "ImportWizard", "imp"); in createSubDirectory()
484 …int icreate = SystemDialog.showMessageBox(xMSF, "QueryBox", VclWindowPeerAttribute.YES_NO, sQueryM… in createSubDirectory()
495 SystemDialog.showMessageBox(xMSF, "ErrorBox", VclWindowPeerAttribute.OK, sMsgNoDir); in createSubDirectory()
501 SystemDialog.showMessageBox(xMSF, "ErrorBox", VclWindowPeerAttribute.OK, sMsgNoDir); in createSubDirectory()
508 …public static boolean PathisValid(XMultiServiceFactory xMSF, String Path, String sMsgFilePathInval… in PathisValid() argument
521 … XInterface xInterface = (XInterface) xMSF.createInstance("com.sun.star.ucb.SimpleFileAccess"); in PathisValid()
527 Resource oResource = new Resource(xMSF, "ImportWizard", "imp"); in PathisValid()
532 …int iLeave = SystemDialog.showMessageBox(xMSF, "QueryBox", VclWindowPeerAttribute.YES_NO, sFileexi… in PathisValid()
566 return createSubDirectory(xMSF, xSimpleFileAccess, SubDirPath); in PathisValid()
577 … SystemDialog.showMessageBox(xMSF, "ErrorBox", VclWindowPeerAttribute.OK, sMsgFilePathInvalid); in PathisValid()
583 … SystemDialog.showMessageBox(xMSF, "ErrorBox", VclWindowPeerAttribute.OK, sMsgFilePathInvalid); in PathisValid()
598 …public static String[][] getFolderTitles(com.sun.star.lang.XMultiServiceFactory xMSF, String Filte… in getFolderTitles() argument
606 …XInterface xDocInterface = (XInterface) xMSF.createInstance("com.sun.star.document.DocumentPropert… in getFolderTitles()
609 … XInterface xInterface = (XInterface) xMSF.createInstance("com.sun.star.ucb.SimpleFileAccess"); in getFolderTitles()
670 public static String getPathFromList(XMultiServiceFactory xMSF, ArrayList _aList, String _sFile) in getPathFromList() argument
675 … XInterface xInterface = (XInterface) xMSF.createInstance("com.sun.star.ucb.SimpleFileAccess"); in getPathFromList()
702 …public static String[][] getFolderTitles(com.sun.star.lang.XMultiServiceFactory xMSF, String _sSta… in getFolderTitles() argument
705 return getFolderTitles(xMSF, _sStartFilterName, FolderNames, PropertyNames.EMPTY_STRING); in getFolderTitles()
708 private static String getTitle(XMultiServiceFactory xMSF, String _sFile) in getTitle() argument
713 …XInterface xDocInterface = (XInterface) xMSF.createInstance("com.sun.star.document.DocumentPropert… in getTitle()
725 …public static String[][] getFolderTitles(com.sun.star.lang.XMultiServiceFactory xMSF, String _sSta… in getFolderTitles() argument
739 … XInterface xInterface = (XInterface) xMSF.createInstance("com.sun.star.ucb.SimpleFileAccess"); in getFolderTitles()
767 sTitle = getTitle(xMSF, nameList[i]); in getFolderTitles()