4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
15 #include "GuiDialog.h"
16 #include "ControlExternal.h"
17 #include "ui_ExternalUi.h"
24 class GuiExternalDialog : public GuiDialog, public Ui::ExternalUi
29 GuiExternalDialog(LyXView & lv);
34 void change_adaptor();
36 void extraChanged(const QString&);
37 void formatChanged(const QString&);
40 void templateChanged();
41 void widthUnitChanged();
45 void closeEvent(QCloseEvent * e);
47 bool activateAspectratio() const;
49 ControlExternal & controller();
53 void updateContents();
54 /// Helper function called when the template is changed.
55 void updateTemplate();
56 /// get bounding box from file
60 typedef std::map<std::string, QString> MapType;
65 } // namespace frontend
68 #endif // GUIEXTERNAL_H