#ifndef PDFOPTIONS_H
#define PDFOPTIONS_H
-#include "support/docstream.h"
+#include "support/strfwd.h"
+
+#include <string>
namespace lyx {
class Lexer;
+// FIXME UNICODE
+// Write functions need to use odostream instead of ostream before
+// we can use docstring instead of string.
+
/// Options for PDF generation
class PDFOptions {
public:
/// output to lyx header
void writeFile(std::ostream &) const;
/// output to tex header
- void writeLaTeX(odocstringstream &, bool hyper_required) 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
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;
/**