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"
23 #include "support/docstring.h"
28 class GuiPrint : public GuiDialog, public Ui::PrintUi
33 GuiPrint(LyXView & lv);
36 void change_adaptor();
39 void copiesChanged(int);
40 void printerChanged();
41 void pagerangeChanged();
47 void updateContents();
49 bool initialiseParams(std::string const & data);
53 void dispatchParams();
55 bool isBufferDependent() const { return true; }
57 bool canApplyToReadOnly() const { return true; }
59 kb_action getLfun() const { return LFUN_BUFFER_PRINT; }
62 PrinterParams params_;
65 } // namespace frontend