/// ------------------------------------------------------------------------------------ /// <summary> /// Displays the imported books dialog box (virtual to allow tests to supress display /// of dialog box). /// </summary> /// <param name="backupSavedVersion">The saved version for backups of any overwritten /// books.</param> /// ------------------------------------------------------------------------------------ protected virtual void DisplayImportedBooksDlg(IScrDraft backupSavedVersion) { using (ImportedBooks dlg = new ImportedBooks(m_cache, m_styleSheet, m_importedSavedVersion, m_importCallbacks.DraftViewZoomPercent, m_importCallbacks.FootnoteZoomPercent, backupSavedVersion, m_bookFilter)) { dlg.ShowOrSave(m_mainWnd); } }
/// ------------------------------------------------------------------------------------ /// <summary> /// Displays the imported books dialog box (virtual to allow tests to suppress display /// of dialog box). /// </summary> /// <param name="backupSavedVersion">The saved version for backups of any overwritten /// books.</param> /// ------------------------------------------------------------------------------------ protected virtual void DisplayImportedBooksDlg(IScrDraft backupSavedVersion) { using (ImportedBooks dlg = new ImportedBooks(m_cache, m_styleSheet, ImportedVersion, m_importCallbacks.DraftViewZoomPercent, m_importCallbacks.FootnoteZoomPercent, backupSavedVersion, m_importCallbacks.BookFilter, UndoManager.ImportedBooks.Keys, m_helpTopicProvider, m_app)) { dlg.ShowOrSave(m_mainWnd, m_fParatextStreamlinedImport); } }
/// ------------------------------------------------------------------------------------ /// <summary> /// Displays the imported books dialog box (virtual to allow tests to suppress display /// of dialog box). /// </summary> /// <param name="backupSavedVersion">The saved version for backups of any overwritten /// books.</param> /// ------------------------------------------------------------------------------------ protected virtual void DisplayImportedBooksDlg(IScrDraft backupSavedVersion) { using (ImportedBooks dlg = new ImportedBooks(m_cache, m_styleSheet, ImportedVersion, m_importCallbacks.DraftViewZoomPercent, m_importCallbacks.FootnoteZoomPercent, backupSavedVersion, m_importCallbacks.BookFilter, UndoManager.ImportedBooks.Keys, m_helpTopicProvider, m_app)) { dlg.ShowOrSave(m_mainWnd, m_fParatextStreamlinedImport); } }
/// ------------------------------------------------------------------------------------ /// <summary> /// Displays the imported books dialog box (virtual to allow tests to supress display /// of dialog box). /// </summary> /// <param name="backupSavedVersion">The saved version for backups of any overwritten /// books.</param> /// ------------------------------------------------------------------------------------ protected virtual void DisplayImportedBooksDlg(IScrDraft backupSavedVersion) { using (ImportedBooks dlg = new ImportedBooks(m_cache, m_styleSheet, m_importedSavedVersion, m_importCallbacks.DraftViewZoomPercent, m_importCallbacks.FootnoteZoomPercent, backupSavedVersion, m_bookFilter)) { dlg.ShowOrSave(m_mainWnd); } }