]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/Dialogs_impl.h
fix crash with "save as"
[lyx.git] / src / frontends / xforms / Dialogs_impl.h
index 7b748fa9b78971350903bb8dd4f3a56061620d47..591682988a626b22a0808209a50e5ad635fddf6f 100644 (file)
@@ -1,9 +1,11 @@
 // -*- C++ -*-
 /**
- * \file Dialogs_impl.h
- * Copyright 1995-2002 The LyX Team.
- * See the file COPYING.
- * \author Angus Leeming <leeming@lyx.org>
+ * \file xforms/Dialogs_impl.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ * \author Angus Leeming 
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef DIALOGS_IMPL_H
@@ -43,6 +45,7 @@
 #include "FormCitation.h"
 #include "forms/form_citation.h"
 
+#include "ControlDocument.h"
 #include "FormDocument.h"
 #include "forms/form_document.h"
 
 #include "ControlShowFile.h"
 #include "FormShowFile.h"
 
-#include "FormMathsBitmap.h"
-
+#include "ControlMath.h"
 #include "FormMathsPanel.h"
 #include "forms/form_maths_panel.h"
 
-#include "FormMathsDeco.h"
-#include "forms/form_maths_deco.h"
-
-#include "FormMathsDelim.h"
-#include "forms/form_maths_delim.h"
-
-#include "FormMathsMatrix.h"
-#include "forms/form_maths_matrix.h"
-
-#include "FormMathsSpace.h"
-#include "forms/form_maths_space.h"
-
-#include "FormMathsStyle.h"
-#include "forms/form_maths_style.h"
-
 #include "ControlMinipage.h"
 #include "FormMinipage.h"
 #include "forms/form_minipage.h"
 #include "FormPreamble.h"
 #include "forms/form_preamble.h"
 
+#include "ControlPrefs.h"
 #include "FormPreferences.h"
 #include "forms/form_preferences.h"
 
 #include "FormSpellchecker.h"
 #include "forms/form_spellchecker.h"
 
+#include "ControlTabular.h"
 #include "FormTabular.h"
 #include "forms/form_tabular.h"
 
 #include "ControlVCLog.h"
 #include "FormVCLog.h"
 
+#include "ControlWrap.h"
+#include "FormWrap.h"
+#include "forms/form_wrap.h"
+
 
 typedef GUI<ControlAboutlyx, FormAboutlyx, OkCancelPolicy, xformsBC>
 AboutlyxDialog;
@@ -174,7 +167,7 @@ AboutlyxDialog;
 typedef GUI<ControlBibitem, FormBibitem, OkCancelReadOnlyPolicy, xformsBC>
 BibitemDialog;
 
-typedef GUI<ControlBibtex, FormBibtex, OkCancelReadOnlyPolicy, xformsBC>
+typedef GUI<ControlBibtex, FormBibtex, NoRepeatedApplyReadOnlyPolicy, xformsBC>
 BibtexDialog;
 
 typedef GUI<ControlCharacter, FormCharacter, OkApplyCancelReadOnlyPolicy, xformsBC>
@@ -183,7 +176,8 @@ CharacterDialog;
 typedef GUI<ControlCitation, FormCitation, NoRepeatedApplyReadOnlyPolicy, xformsBC>
 CitationDialog;
 
-typedef FormDocument DocumentDialog;
+typedef GUI<ControlDocument, FormDocument, NoRepeatedApplyReadOnlyPolicy, xformsBC>
+DocumentDialog;
 
 typedef GUI<ControlError, FormError, OkCancelPolicy, xformsBC>
 ErrorDialog;
@@ -215,7 +209,8 @@ IndexDialog;
 typedef GUI<ControlLog, FormLog, OkCancelPolicy, xformsBC>
 LogFileDialog;
 
-typedef FormMathsPanel MathPanelDialog;
+typedef GUI<ControlMath, FormMathsPanel, OkCancelReadOnlyPolicy, xformsBC>
+MathPanelDialog;
 
 typedef GUI<ControlMinipage, FormMinipage, NoRepeatedApplyReadOnlyPolicy, xformsBC>
 MinipageDialog;
@@ -226,7 +221,8 @@ ParagraphDialog;
 typedef GUI<ControlPreamble, FormPreamble, NoRepeatedApplyReadOnlyPolicy, xformsBC>
 PreambleDialog;
 
-typedef FormPreferences PreferencesDialog;
+typedef GUI<ControlPrefs, FormPreferences, OkApplyCancelPolicy, xformsBC>
+PreferencesDialog;
 
 typedef GUI<ControlPrint, FormPrint, OkApplyCancelPolicy, xformsBC>
 PrintDialog;
@@ -243,7 +239,8 @@ SendtoDialog;
 typedef GUI<ControlSpellchecker, FormSpellchecker, NoRepeatedApplyReadOnlyPolicy, xformsBC>
 SpellcheckerDialog;
 
-typedef FormTabular TabularDialog;
+typedef GUI<ControlTabular, FormTabular, NoRepeatedApplyReadOnlyPolicy, xformsBC>
+TabularDialog;
 
 typedef GUI<ControlTabularCreate, FormTabularCreate, OkApplyCancelReadOnlyPolicy, xformsBC>
 TabularCreateDialog;
@@ -265,6 +262,9 @@ UrlDialog;
 typedef GUI<ControlVCLog, FormVCLog, OkCancelPolicy, xformsBC>
 VCLogFileDialog;
 
+typedef GUI<ControlWrap, FormWrap, NoRepeatedApplyReadOnlyPolicy, xformsBC>
+WrapDialog;
+
 struct Dialogs::Impl {
        Impl(LyXView & lv, Dialogs & d);
 
@@ -305,6 +305,7 @@ struct Dialogs::Impl {
        TocDialog           toc;
        UrlDialog           url;
        VCLogFileDialog     vclogfile;
+       WrapDialog          wrap;
 };
 
 #endif // DIALOGS_IMPL_H