]> git.lyx.org Git - lyx.git/blobdiff - src/PDFOptions.h
* GuiView.cpp:
[lyx.git] / src / PDFOptions.h
index c8fc16e131528f8d8485eff1c54912a68c31530c..2fa661aa71782b8d0b81fa1905a38ee72c5ebb92 100644 (file)
 #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:
@@ -28,7 +34,7 @@ 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
@@ -133,8 +139,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;
        
        
        /**