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"
21 #include "PrinterParams.h"
26 class GuiPrint : public GuiDialog, public Ui::PrintUi
31 GuiPrint(GuiView & lv);
34 void change_adaptor();
37 void copiesChanged(int);
38 void printerChanged();
39 void pagerangeChanged();
45 void updateContents();
47 bool initialiseParams(std::string const & data);
51 void dispatchParams();
53 bool isBufferDependent() const { return true; }
55 bool canApplyToReadOnly() const { return true; }
57 FuncCode getLfun() const { return LFUN_BUFFER_PRINT; }
60 PrinterParams params_;
63 } // namespace frontend