2 * \file PrinterParams.C
3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS.
13 #include "PrinterParams.h"
15 #include "support/lstrings.h"
16 #include "support/LAssert.h"
19 PrinterParams::PrinterParams(Target t,
39 sorted_copies(sorted),
40 reverse_order(reverse)
46 PrinterParams::PrinterParams(PrinterParams const & pp)
48 printer_name(pp.printer_name),
49 file_name(pp.file_name),
50 all_pages(pp.all_pages),
51 from_page(pp.from_page),
53 odd_pages(pp.odd_pages),
54 even_pages(pp.even_pages),
55 count_copies(pp.count_copies),
56 sorted_copies(pp.sorted_copies),
57 reverse_order(pp.reverse_order)
63 void PrinterParams::testInvariant() const
65 #ifdef ENABLE_ASSERTIONS
68 //lyx::support::Assert(!printer_name.empty());
71 lyx::support::Assert(!file_name.empty());
74 lyx::support::Assert(false);