]> git.lyx.org Git - lyx.git/blobdiff - src/PDFOptions.h
Amend 6c3447c8: FindAdv: sometimes a space is added on some math symbols
[lyx.git] / src / PDFOptions.h
index 187e80c25fe5a6ee97cab9d94560c47f0bfa62f3..e013566c14b10e384c7c8f769cd4be1e574138ee 100644 (file)
 #ifndef PDFOPTIONS_H
 #define PDFOPTIONS_H
 
-#include "support/strfwd.h"
-
 #include <string>
 
 namespace lyx {
 
-class Lexer;
+class OutputParams;
+class otexstream;
+
+namespace support { class Lexer; }
 
 // FIXME UNICODE
 // Write functions need to use odostream instead of ostream before
@@ -34,9 +35,10 @@ public:
        /// output to lyx header
        void writeFile(std::ostream &) const;
        /// output to tex header
-       void writeLaTeX(odocstream &, bool hyperref_already_provided) const;
+       void writeLaTeX(OutputParams &, otexstream &,
+                       bool hyperref_already_provided) const;
        /// read tokens from lyx header
-       std::string readToken(Lexer &lex, std::string const & token);
+       std::string readToken(support::Lexer &lex, std::string const & token);
        /// set implicit settings for hyperref
        void clear();
 
@@ -138,15 +140,7 @@ public:
                * Returns repaired string. For the time being only newlines
                * are checked.
                */
-       std::string quoted_options_check(std::string const str) const;
-       
-       
-       /**
-               * Flag indicating whether user made some input into PDF preferences.
-               * We want to save options, when user decide to switch off PDF support
-               * for a while.
-               */
-       bool store_options;
+       std::string quoted_options_check(std::string const & str) const;
 };
 
 } // namespace lyx