4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Angus Leeming
10 * \author Edwin Leuven
12 * Full author contact details are available in file CREDITS.
18 #include "GuiDialog.h"
19 #include "ui_PrintUi.h"
22 #include "PrinterParams.h"
27 class GuiPrint : public GuiDialog, public Ui::PrintUi
32 GuiPrint(GuiView & lv);
35 void change_adaptor();
38 void copiesChanged(int);
39 void printerChanged();
40 void pagerangeChanged();
46 void updateContents();
48 bool initialiseParams(std::string const & data);
52 void dispatchParams();
54 bool isBufferDependent() const { return true; }
56 bool canApplyToReadOnly() const { return true; }
58 FuncCode getLfun() const { return LFUN_BUFFER_PRINT; }
61 PrinterParams params_;
64 } // namespace frontend