/// ------------------------------------------------------------------------------------ /// <summary> /// Perform the Standard Format import /// </summary> /// <param name="mainWnd">The main window.</param> /// <param name="importCallbacks">The import callbacks.</param> /// <param name="app">The app.</param> /// ------------------------------------------------------------------------------------ public static void ImportSf(FwMainWnd mainWnd, ITeImportCallbacks importCallbacks, FwApp app) { TeImportManager mgr = new TeImportManager(mainWnd, importCallbacks, app, false); mgr.ImportSf(); }
/// ------------------------------------------------------------------------------------ /// <summary> /// Perform the Standard Format import /// </summary> /// ------------------------------------------------------------------------------------ public static void ImportSf(FwMainWnd mainWnd, ITeImportCallbacks importCallbacks) { TeImportManager mgr = new TeImportManager(mainWnd, importCallbacks); mgr.ImportSf(); }
/// ------------------------------------------------------------------------------------ /// <summary> /// Perform a Paratext streamlined import /// </summary> /// <param name="mainWnd">The main window.</param> /// <param name="stylesheet">The Scripture stylesheet.</param> /// <param name="app">The app.</param> /// <returns><c>true</c> if something got imported; <c>false</c> otherwise</returns> /// ------------------------------------------------------------------------------------ public static bool ImportParatext(Form mainWnd, FwStyleSheet stylesheet, FwApp app) { TeImportManager mgr = new TeImportManager(mainWnd, stylesheet, app, true); return mgr.ImportSf(); }
/// ------------------------------------------------------------------------------------ /// <summary> /// Perform a Paratext streamlined import /// </summary> /// <param name="mainWnd">The main window.</param> /// <param name="stylesheet">The Scripture stylesheet.</param> /// <param name="app">The app.</param> /// <returns><c>true</c> if something got imported; <c>false</c> otherwise</returns> /// ------------------------------------------------------------------------------------ public static bool ImportParatext(Form mainWnd, FwStyleSheet stylesheet, FwApp app) { TeImportManager mgr = new TeImportManager(mainWnd, stylesheet, app, true); return(mgr.ImportSf()); }