X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FPDFOptions.h;h=d74caf430e638c65cd353970b6bdc0f2554113df;hb=0430132aa049f2a97280bcbcff69f71d42ed7d98;hp=187e80c25fe5a6ee97cab9d94560c47f0bfa62f3;hpb=308e2d9df338cb54b6e94c93debe03eaeba6522e;p=lyx.git diff --git a/src/PDFOptions.h b/src/PDFOptions.h index 187e80c25f..d74caf430e 100644 --- a/src/PDFOptions.h +++ b/src/PDFOptions.h @@ -12,6 +12,8 @@ #ifndef PDFOPTIONS_H #define PDFOPTIONS_H +#include "OutputParams.h" + #include "support/strfwd.h" #include @@ -34,7 +36,8 @@ 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); /// set implicit settings for hyperref @@ -138,15 +141,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