2002-08-15 17:48:53 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file Dialogs_impl.h
|
2002-09-05 15:14:23 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2002-09-05 14:10:50 +00:00
|
|
|
* \author Angus Leeming
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2002-08-15 17:48:53 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef DIALOGS_IMPL_H
|
|
|
|
#define DIALOGS_IMP_H
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "Dialogs.h"
|
2002-08-16 07:00:35 +00:00
|
|
|
#include "controllers/GUI.h"
|
2002-08-15 17:48:53 +00:00
|
|
|
|
2002-08-16 20:07:39 +00:00
|
|
|
#include "Tooltips.h"
|
|
|
|
#include "xformsBC.h"
|
|
|
|
#include "combox.h"
|
|
|
|
|
|
|
|
#include "ControlAboutlyx.h"
|
|
|
|
#include "FormAboutlyx.h"
|
|
|
|
#include "forms/form_aboutlyx.h"
|
|
|
|
|
|
|
|
#include "ControlBibitem.h"
|
|
|
|
#include "FormBibitem.h"
|
|
|
|
#include "forms/form_bibitem.h"
|
|
|
|
|
|
|
|
#include "ControlBibtex.h"
|
|
|
|
#include "FormBibtex.h"
|
|
|
|
#include "forms/form_bibtex.h"
|
|
|
|
|
|
|
|
#include "FormBrowser.h"
|
|
|
|
#include "forms/form_browser.h"
|
|
|
|
|
|
|
|
#include "ControlCharacter.h"
|
|
|
|
#include "FormCharacter.h"
|
|
|
|
#include "forms/form_character.h"
|
|
|
|
|
|
|
|
#include "ControlCitation.h"
|
|
|
|
#include "FormCitation.h"
|
|
|
|
#include "forms/form_citation.h"
|
|
|
|
|
|
|
|
#include "FormDocument.h"
|
|
|
|
#include "forms/form_document.h"
|
|
|
|
|
|
|
|
#include "ControlError.h"
|
|
|
|
#include "FormError.h"
|
|
|
|
#include "forms/form_error.h"
|
|
|
|
|
|
|
|
#include "ControlERT.h"
|
|
|
|
#include "FormERT.h"
|
|
|
|
#include "forms/form_ert.h"
|
|
|
|
|
|
|
|
#include "ControlExternal.h"
|
|
|
|
#include "FormExternal.h"
|
|
|
|
#include "forms/form_external.h"
|
|
|
|
|
|
|
|
#include "ControlFloat.h"
|
|
|
|
#include "FormFloat.h"
|
|
|
|
#include "forms/form_float.h"
|
|
|
|
|
|
|
|
#include "ControlForks.h"
|
|
|
|
#include "FormForks.h"
|
|
|
|
#include "forms/form_forks.h"
|
|
|
|
|
|
|
|
#include "ControlGraphics.h"
|
|
|
|
#include "FormGraphics.h"
|
|
|
|
#include "forms/form_graphics.h"
|
|
|
|
|
|
|
|
#include "ControlInclude.h"
|
|
|
|
#include "FormInclude.h"
|
|
|
|
#include "forms/form_include.h"
|
|
|
|
|
|
|
|
#include "ControlIndex.h"
|
|
|
|
#include "FormIndex.h"
|
|
|
|
#include "forms/form_index.h"
|
|
|
|
|
|
|
|
#include "ControlLog.h"
|
|
|
|
#include "FormLog.h"
|
|
|
|
|
|
|
|
#include "ControlShowFile.h"
|
|
|
|
#include "FormShowFile.h"
|
|
|
|
|
|
|
|
#include "FormMathsBitmap.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 "ControlParagraph.h"
|
|
|
|
#include "FormParagraph.h"
|
|
|
|
#include "forms/form_paragraph.h"
|
|
|
|
|
|
|
|
#include "ControlPreamble.h"
|
|
|
|
#include "FormPreamble.h"
|
|
|
|
#include "forms/form_preamble.h"
|
|
|
|
|
|
|
|
#include "FormPreferences.h"
|
|
|
|
#include "forms/form_preferences.h"
|
|
|
|
|
|
|
|
#include "ControlPrint.h"
|
|
|
|
#include "FormPrint.h"
|
|
|
|
#include "forms/form_print.h"
|
|
|
|
|
|
|
|
#include "ControlRef.h"
|
|
|
|
#include "FormRef.h"
|
|
|
|
#include "forms/form_ref.h"
|
|
|
|
|
|
|
|
#include "ControlSearch.h"
|
|
|
|
#include "FormSearch.h"
|
|
|
|
#include "forms/form_search.h"
|
|
|
|
|
|
|
|
#include "ControlSendto.h"
|
|
|
|
#include "FormSendto.h"
|
|
|
|
#include "forms/form_sendto.h"
|
|
|
|
|
|
|
|
#include "ControlSpellchecker.h"
|
|
|
|
#include "FormSpellchecker.h"
|
|
|
|
#include "forms/form_spellchecker.h"
|
|
|
|
|
|
|
|
#include "FormTabular.h"
|
|
|
|
#include "forms/form_tabular.h"
|
|
|
|
|
|
|
|
#include "ControlTabularCreate.h"
|
|
|
|
#include "FormTabularCreate.h"
|
|
|
|
#include "forms/form_tabular_create.h"
|
|
|
|
|
|
|
|
#include "ControlTexinfo.h"
|
|
|
|
#include "FormTexinfo.h"
|
|
|
|
#include "forms/form_texinfo.h"
|
2002-08-15 17:48:53 +00:00
|
|
|
|
|
|
|
#ifdef HAVE_LIBAIKSAURUS
|
2002-08-16 20:07:39 +00:00
|
|
|
#include "ControlThesaurus.h"
|
|
|
|
#include "FormThesaurus.h"
|
|
|
|
#include "forms/form_thesaurus.h"
|
2002-08-15 17:48:53 +00:00
|
|
|
#endif
|
|
|
|
|
2002-08-16 20:07:39 +00:00
|
|
|
#include "ControlToc.h"
|
|
|
|
#include "FormToc.h"
|
|
|
|
#include "forms/form_toc.h"
|
|
|
|
|
|
|
|
#include "ControlUrl.h"
|
|
|
|
#include "FormUrl.h"
|
|
|
|
#include "forms/form_url.h"
|
|
|
|
|
|
|
|
#include "ControlVCLog.h"
|
|
|
|
#include "FormVCLog.h"
|
2002-08-15 17:48:53 +00:00
|
|
|
|
2002-09-10 10:18:58 +00:00
|
|
|
#include "ControlWrap.h"
|
|
|
|
#include "FormWrap.h"
|
|
|
|
#include "forms/form_wrap.h"
|
|
|
|
|
2002-08-15 17:48:53 +00:00
|
|
|
|
|
|
|
typedef GUI<ControlAboutlyx, FormAboutlyx, OkCancelPolicy, xformsBC>
|
|
|
|
AboutlyxDialog;
|
|
|
|
|
|
|
|
typedef GUI<ControlBibitem, FormBibitem, OkCancelReadOnlyPolicy, xformsBC>
|
|
|
|
BibitemDialog;
|
|
|
|
|
|
|
|
typedef GUI<ControlBibtex, FormBibtex, OkCancelReadOnlyPolicy, xformsBC>
|
|
|
|
BibtexDialog;
|
|
|
|
|
2002-08-16 20:07:39 +00:00
|
|
|
typedef GUI<ControlCharacter, FormCharacter, OkApplyCancelReadOnlyPolicy, xformsBC>
|
2002-08-15 17:48:53 +00:00
|
|
|
CharacterDialog;
|
|
|
|
|
2002-08-16 20:07:39 +00:00
|
|
|
typedef GUI<ControlCitation, FormCitation, NoRepeatedApplyReadOnlyPolicy, xformsBC>
|
2002-08-15 17:48:53 +00:00
|
|
|
CitationDialog;
|
|
|
|
|
|
|
|
typedef FormDocument DocumentDialog;
|
|
|
|
|
|
|
|
typedef GUI<ControlError, FormError, OkCancelPolicy, xformsBC>
|
|
|
|
ErrorDialog;
|
|
|
|
|
|
|
|
typedef GUI<ControlERT, FormERT, NoRepeatedApplyReadOnlyPolicy, xformsBC>
|
|
|
|
ERTDialog;
|
|
|
|
|
2002-08-16 20:07:39 +00:00
|
|
|
typedef GUI<ControlExternal, FormExternal, OkApplyCancelReadOnlyPolicy, xformsBC>
|
2002-08-15 17:48:53 +00:00
|
|
|
ExternalDialog;
|
|
|
|
|
|
|
|
typedef GUI<ControlShowFile, FormShowFile, OkCancelPolicy, xformsBC>
|
|
|
|
FileDialog;
|
|
|
|
|
|
|
|
typedef GUI<ControlFloat, FormFloat, NoRepeatedApplyReadOnlyPolicy, xformsBC>
|
|
|
|
FloatDialog;
|
|
|
|
|
|
|
|
typedef GUI<ControlForks, FormForks, OkApplyCancelPolicy, xformsBC>
|
|
|
|
ForksDialog;
|
|
|
|
|
2002-08-16 20:07:39 +00:00
|
|
|
typedef GUI<ControlGraphics, FormGraphics, NoRepeatedApplyReadOnlyPolicy, xformsBC>
|
2002-08-15 17:48:53 +00:00
|
|
|
GraphicsDialog;
|
|
|
|
|
|
|
|
typedef GUI<ControlInclude, FormInclude, OkCancelReadOnlyPolicy, xformsBC>
|
|
|
|
IncludeDialog;
|
|
|
|
|
|
|
|
typedef GUI<ControlIndex, FormIndex, NoRepeatedApplyReadOnlyPolicy, xformsBC>
|
|
|
|
IndexDialog;
|
|
|
|
|
|
|
|
typedef GUI<ControlLog, FormLog, OkCancelPolicy, xformsBC>
|
|
|
|
LogFileDialog;
|
|
|
|
|
|
|
|
typedef FormMathsPanel MathPanelDialog;
|
|
|
|
|
2002-08-16 20:07:39 +00:00
|
|
|
typedef GUI<ControlMinipage, FormMinipage, NoRepeatedApplyReadOnlyPolicy, xformsBC>
|
2002-08-15 17:48:53 +00:00
|
|
|
MinipageDialog;
|
|
|
|
|
2002-08-16 20:07:39 +00:00
|
|
|
typedef GUI<ControlParagraph, FormParagraph, OkApplyCancelReadOnlyPolicy, xformsBC>
|
2002-08-15 17:48:53 +00:00
|
|
|
ParagraphDialog;
|
|
|
|
|
2002-08-16 20:07:39 +00:00
|
|
|
typedef GUI<ControlPreamble, FormPreamble, NoRepeatedApplyReadOnlyPolicy, xformsBC>
|
2002-08-15 17:48:53 +00:00
|
|
|
PreambleDialog;
|
|
|
|
|
|
|
|
typedef FormPreferences PreferencesDialog;
|
|
|
|
|
|
|
|
typedef GUI<ControlPrint, FormPrint, OkApplyCancelPolicy, xformsBC>
|
|
|
|
PrintDialog;
|
|
|
|
|
|
|
|
typedef GUI<ControlRef, FormRef, NoRepeatedApplyReadOnlyPolicy, xformsBC>
|
|
|
|
RefDialog;
|
|
|
|
|
|
|
|
typedef GUI<ControlSearch, FormSearch, NoRepeatedApplyReadOnlyPolicy, xformsBC>
|
|
|
|
SearchDialog;
|
|
|
|
|
|
|
|
typedef GUI<ControlSendto, FormSendto, OkApplyCancelPolicy, xformsBC>
|
|
|
|
SendtoDialog;
|
|
|
|
|
2002-08-16 20:07:39 +00:00
|
|
|
typedef GUI<ControlSpellchecker, FormSpellchecker, NoRepeatedApplyReadOnlyPolicy, xformsBC>
|
2002-08-15 17:48:53 +00:00
|
|
|
SpellcheckerDialog;
|
|
|
|
|
|
|
|
typedef FormTabular TabularDialog;
|
|
|
|
|
2002-08-16 20:07:39 +00:00
|
|
|
typedef GUI<ControlTabularCreate, FormTabularCreate, OkApplyCancelReadOnlyPolicy, xformsBC>
|
2002-08-15 17:48:53 +00:00
|
|
|
TabularCreateDialog;
|
|
|
|
|
|
|
|
typedef GUI<ControlTexinfo, FormTexinfo, OkCancelPolicy, xformsBC>
|
|
|
|
TexinfoDialog;
|
|
|
|
|
|
|
|
#ifdef HAVE_LIBAIKSAURUS
|
2002-08-16 20:07:39 +00:00
|
|
|
typedef GUI<ControlThesaurus, FormThesaurus, OkApplyCancelReadOnlyPolicy, xformsBC>
|
2002-08-15 17:48:53 +00:00
|
|
|
ThesaurusDialog;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
typedef GUI<ControlToc, FormToc, OkCancelPolicy, xformsBC>
|
|
|
|
TocDialog;
|
|
|
|
|
|
|
|
typedef GUI<ControlUrl, FormUrl, NoRepeatedApplyReadOnlyPolicy, xformsBC>
|
|
|
|
UrlDialog;
|
|
|
|
|
|
|
|
typedef GUI<ControlVCLog, FormVCLog, OkCancelPolicy, xformsBC>
|
|
|
|
VCLogFileDialog;
|
|
|
|
|
2002-09-10 10:18:58 +00:00
|
|
|
typedef GUI<ControlWrap, FormWrap, NoRepeatedApplyReadOnlyPolicy, xformsBC>
|
|
|
|
WrapDialog;
|
|
|
|
|
2002-08-15 17:48:53 +00:00
|
|
|
struct Dialogs::Impl {
|
2002-08-16 07:00:35 +00:00
|
|
|
Impl(LyXView & lv, Dialogs & d);
|
2002-08-15 17:48:53 +00:00
|
|
|
|
2002-08-16 20:07:39 +00:00
|
|
|
AboutlyxDialog aboutlyx;
|
|
|
|
BibitemDialog bibitem;
|
|
|
|
BibtexDialog bibtex;
|
|
|
|
CharacterDialog character;
|
|
|
|
CitationDialog citation;
|
|
|
|
DocumentDialog document;
|
|
|
|
ErrorDialog error;
|
|
|
|
ERTDialog ert;
|
|
|
|
ExternalDialog external;
|
|
|
|
FileDialog file;
|
|
|
|
FloatDialog floats;
|
|
|
|
ForksDialog forks;
|
|
|
|
GraphicsDialog graphics;
|
|
|
|
IncludeDialog include;
|
|
|
|
IndexDialog index;
|
|
|
|
LogFileDialog logfile;
|
|
|
|
MathPanelDialog mathpanel;
|
|
|
|
MinipageDialog minipage;
|
|
|
|
ParagraphDialog paragraph;
|
|
|
|
PreambleDialog preamble;
|
|
|
|
PreferencesDialog preferences;
|
|
|
|
PrintDialog print;
|
|
|
|
RefDialog ref;
|
|
|
|
SearchDialog search;
|
|
|
|
SendtoDialog sendto;
|
|
|
|
SpellcheckerDialog spellchecker;
|
|
|
|
TabularDialog tabular;
|
|
|
|
TabularCreateDialog tabularcreate;
|
|
|
|
TexinfoDialog texinfo;
|
2002-08-15 17:48:53 +00:00
|
|
|
|
|
|
|
#ifdef HAVE_LIBAIKSAURUS
|
2002-08-16 20:07:39 +00:00
|
|
|
ThesaurusDialog thesaurus;
|
2002-08-15 17:48:53 +00:00
|
|
|
#endif
|
|
|
|
|
2002-08-16 20:07:39 +00:00
|
|
|
TocDialog toc;
|
|
|
|
UrlDialog url;
|
|
|
|
VCLogFileDialog vclogfile;
|
2002-09-10 10:18:58 +00:00
|
|
|
WrapDialog wrap;
|
2002-08-15 17:48:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DIALOGS_IMPL_H
|