2003-02-08 00:25:34 +00:00
|
|
|
/**
|
|
|
|
* \file gnome/Dialogs2.C
|
|
|
|
* Copyright 1995 Matthias Ettrich
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Allan Rae
|
|
|
|
* \author Angus Leeming
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2003-02-08 00:25:34 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
#include "Dialogs_impl.h"
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showAboutlyx()
|
|
|
|
{
|
|
|
|
pimpl_->aboutlyx.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showCharacter()
|
|
|
|
{
|
|
|
|
pimpl_->character.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::setUserFreeFont()
|
|
|
|
{
|
|
|
|
pimpl_->character.controller().apply();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showDocument()
|
|
|
|
{
|
|
|
|
pimpl_->document.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showExternal(InsetExternal * ie)
|
|
|
|
{
|
|
|
|
pimpl_->external.controller().showInset(ie);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showFile(string const & f)
|
|
|
|
{
|
|
|
|
pimpl_->file.controller().showFile(f);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showFloat(InsetFloat * ifl)
|
|
|
|
{
|
|
|
|
pimpl_->floats.controller().showInset(ifl);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showForks()
|
|
|
|
{
|
|
|
|
pimpl_->forks.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showGraphics(InsetGraphics * ig)
|
|
|
|
{
|
|
|
|
pimpl_->graphics.controller().showInset(ig);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showInclude(InsetInclude * ii)
|
|
|
|
{
|
|
|
|
pimpl_->include.controller().showInset(ii);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showLogFile()
|
|
|
|
{
|
|
|
|
pimpl_->logfile.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showMathPanel()
|
|
|
|
{
|
|
|
|
pimpl_->mathpanel.controller().show();
|
|
|
|
}
|
|
|
|
|
2003-02-12 06:10:42 +00:00
|
|
|
void Dialogs::showMergeChanges()
|
|
|
|
{
|
|
|
|
pimpl_->changes.controller().show();
|
|
|
|
}
|
2003-02-08 00:25:34 +00:00
|
|
|
|
|
|
|
void Dialogs::showMinipage(InsetMinipage * im)
|
|
|
|
{
|
|
|
|
pimpl_->minipage.controller().showInset(im);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::updateMinipage(InsetMinipage * im)
|
|
|
|
{
|
|
|
|
pimpl_->minipage.controller().showInset(im);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showParagraph()
|
|
|
|
{
|
|
|
|
pimpl_->paragraph.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::updateParagraph()
|
|
|
|
{
|
|
|
|
pimpl_->paragraph.controller().changedParagraph();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showPreamble()
|
|
|
|
{
|
|
|
|
pimpl_->preamble.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showPreferences()
|
|
|
|
{
|
|
|
|
pimpl_->preferences.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showPrint()
|
|
|
|
{
|
|
|
|
pimpl_->print.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showSearch()
|
|
|
|
{
|
|
|
|
pimpl_->search.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showSendto()
|
|
|
|
{
|
|
|
|
pimpl_->sendto.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showSpellchecker()
|
|
|
|
{
|
|
|
|
pimpl_->spellchecker.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showTabular(InsetTabular * it)
|
|
|
|
{
|
|
|
|
pimpl_->tabular.controller().showInset(it);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::updateTabular(InsetTabular * it)
|
|
|
|
{
|
|
|
|
pimpl_->tabular.controller().updateInset(it);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showTabularCreate()
|
|
|
|
{
|
|
|
|
pimpl_->tabularcreate.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showTexinfo()
|
|
|
|
{
|
|
|
|
pimpl_->texinfo.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef HAVE_LIBAIKSAURUS
|
|
|
|
|
|
|
|
void Dialogs::showThesaurus(string const & s)
|
|
|
|
{
|
|
|
|
pimpl_->thesaurus.controller().showEntry(s);
|
|
|
|
}
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
void Dialogs::showThesaurus(string const &)
|
|
|
|
{}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showVCLogFile()
|
|
|
|
{
|
|
|
|
pimpl_->vclogfile.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showWrap(InsetWrap * iw)
|
|
|
|
{
|
|
|
|
pimpl_->wrap.controller().showInset(iw);
|
|
|
|
}
|