]> git.lyx.org Git - lyx.git/blobdiff - src/PrinterParams.h
In InsetText::fixParagraphsFont, differentiate the case of pass thru paragraphs for...
[lyx.git] / src / PrinterParams.h
index 32f468d02f16a8edda84b7a80e44adf4d2a3ae28..73b10c368ccb50ff178a7120f8148f3b83af7592 100644 (file)
 #ifndef PRINTERPARAMS_H
 #define PRINTERPARAMS_H
 
-#include "lyxrc.h"
+#include <string>
+
+
+namespace lyx {
 
 /**
   This class contains (or should contain) all the parameters required for
   document with different orientation, papersize or single/duplex state
   than the document's settings. ARRae 20000423
 */
-class PrinterParams {
+class PrinterParams
+{
 public:
+       ///
+       PrinterParams();
+
        ///
        enum Target {
                ///
@@ -31,6 +38,14 @@ public:
                ///
                FILE
        };
+
+       /** Test that all the fields contain valid entries.  It's unlikely
+           that the internal code will get this wrong however new ports
+           and external scripts might drive the wrong values in.
+        */
+       void testInvariant() const;
+
+public:
        ///
        Target target;
        ///
@@ -69,25 +84,9 @@ public:
        // Override document settings for duplex.
        // bool duplex;
 
-       /** Test that all the fields contain valid entries.  It's unlikely
-           that the internal code will get this wrong however new ports 
-           and external scripts might drive the wrong values in.
-        */
-       void testInvariant() const;
-       ///
-       PrinterParams(Target t = PRINTER,
-                     std::string const & pname = lyxrc.printer,
-                     std::string const & fname = std::string(),
-                     bool all = true,
-                     unsigned int from = 1,
-                     unsigned int to = 0,
-                     bool odd = true,
-                     bool even = true,
-                     unsigned int copies = 1,
-                     bool sorted = false,
-                     bool reverse = false);
-       ///
-       PrinterParams(PrinterParams const & pp);
 };
 
+
+} // namespace lyx
+
 #endif