ImportSf() protected method

Get settings for and perform the Standard Format import
protected ImportSf ( ) : bool
return bool
Exemplo n.º 1
0
        /// ------------------------------------------------------------------------------------
        /// <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();
        }
Exemplo n.º 2
0
        /// ------------------------------------------------------------------------------------
        /// <summary>
        /// Perform the Standard Format import
        /// </summary>
        /// ------------------------------------------------------------------------------------
        public static void ImportSf(FwMainWnd mainWnd, ITeImportCallbacks importCallbacks)
        {
            TeImportManager mgr = new TeImportManager(mainWnd, importCallbacks);

            mgr.ImportSf();
        }
Exemplo n.º 3
0
		/// ------------------------------------------------------------------------------------
		/// <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();
		}
Exemplo n.º 4
0
		/// ------------------------------------------------------------------------------------
		/// <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();
		}
Exemplo n.º 5
0
        /// ------------------------------------------------------------------------------------
        /// <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());
        }
Exemplo n.º 6
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Perform the Standard Format import
		/// </summary>
		/// ------------------------------------------------------------------------------------
		public static void ImportSf(FwMainWnd mainWnd, ITeImportCallbacks importCallbacks)
		{
			TeImportManager mgr = new TeImportManager(mainWnd, importCallbacks);
			mgr.ImportSf();
		}