X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FPrinterParams.h;h=90ce2f9a008eec7926883f324bb4aa3f449e57a5;hb=797d87b4513088a66b17c7ac653b84e36ea80458;hp=2c19c0af7418c4305617ed0b68a5b1facfcc6743;hpb=612a097878de07556b76f7445a5564320987ff97;p=features.git diff --git a/src/PrinterParams.h b/src/PrinterParams.h index 2c19c0af74..90ce2f9a00 100644 --- a/src/PrinterParams.h +++ b/src/PrinterParams.h @@ -33,15 +33,27 @@ */ struct PrinterParams { /// - enum Target{PRINTER, FILE}; + enum Target{ + /// + PRINTER, + /// + FILE + }; /// Target target; /// string printer_name; /// string file_name; - ///We allow printing of even pages in a range and so on. - enum WhichPages{ALL, ODD, EVEN}; + /// We allow printing of even pages in a range and so on. + enum WhichPages{ + /// + ALL, + /// + ODD, + /// + EVEN + }; /// WhichPages which_pages; /** Print a page range. Both from_page and to_page used to be strings @@ -63,15 +75,13 @@ struct PrinterParams { // The settings below should allow us to print any read-only doc in // whatever size/orientation we want it -- overriding the documents // settings. - /// Override the documents orientation - //bool orientation; - /// Print n pages per physical sheet - //unsigned int nup; - /// Override document settings for duplex. - //bool duplex; + // Override the documents orientation + // bool orientation; + // Print n pages per physical sheet + // unsigned int nup; + // Override document settings for duplex. + // bool duplex; - //@name Constructors and Deconstructors - //@{ /// PrinterParams(Target const & t = PRINTER, string const & pname = lyxrc.printer, @@ -108,15 +118,11 @@ struct PrinterParams { { testInvariant(); } - //@} - // do we need these? // friend bool operator==(PrinterParams const &, PrinterParams const &); // friend bool operator<(PrinterParams const &, PrinterParams const &); - //@name Invariant Test Method - //@{ /** Test that all the fields contain valid entries. It's unlikely that the internal code will get this wrong (at least for the xforms code anyway) however new ports and external scripts @@ -157,7 +163,6 @@ struct PrinterParams { } #endif } - //@} }; #endif