X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FPDFOptions.h;h=47e4c4136c07072340ed9eb29616d3ee147b118e;hb=6c977615633e5e132494b9a7fa778588210f9c95;hp=c946aacfa5df230b4e2e0247e1dd104baaab6e51;hpb=38dfe360931da8260b75b260a3d9503057d15208;p=lyx.git diff --git a/src/PDFOptions.h b/src/PDFOptions.h index c946aacfa5..47e4c4136c 100644 --- a/src/PDFOptions.h +++ b/src/PDFOptions.h @@ -12,7 +12,9 @@ #ifndef PDFOPTIONS_H #define PDFOPTIONS_H -#include "support/docstream.h" +#include "support/strfwd.h" + +#include namespace lyx { @@ -28,7 +30,7 @@ public: /// output to lyx header void writeFile(std::ostream &) const; /// output to tex header - void writeLaTeX(odocstringstream &) const; + void writeLaTeX(odocstream &, bool hyperref_already_provided) const; /// read tokens from lyx header std::string readToken(Lexer &lex, std::string const & token); /// set implicit settings for hyperref @@ -133,8 +135,10 @@ public: std::string quoted_options; /** * Possible syntax check of users additional parameters here. + * Returns repaired string. For the time being only newlines + * are checked. */ - std::string quoted_options_get() const; + std::string quoted_options_check(std::string const str) const; /**