]> git.lyx.org Git - lyx.git/blobdiff - src/PDFOptions.h
* GuiView.cpp:
[lyx.git] / src / PDFOptions.h
index 13f83b9436b1555ee876bf9429e84fc264189da5..2fa661aa71782b8d0b81fa1905a38ee72c5ebb92 100644 (file)
@@ -20,6 +20,10 @@ 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:
@@ -30,7 +34,7 @@ public:
        /// output to lyx header
        void writeFile(std::ostream &) const;
        /// output to tex header
-       void writeLaTeX(odocstream &, 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
@@ -135,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;
        
        
        /**