- */
- string pagemode;
- ///latex string
- static const string pagemode_fullscreen;
- /*!
- * Additional parameters for hyperref given from user.
- */
- string quoted_options;
- /*!
- * Possible syntax check of users additional parameters here.
- */
- string quoted_options_get() 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;
- /// check for string settings
- bool empty() const;
- /// output to lyx header
- void writeFile(std::ostream &) const;
- /// output to tex header
- void writeLaTeX(odocstream &) const;
- /// read tokens from lyx header
- string readToken(Lexer &lex, string const & token);
- /// keep implicit hyperref settings
- void clear();
-
+ */
+ std::string pagemode;
+ /**
+ * Flag indicating whether hyperref tries to derive the values for
+ * pdftitle and pdfauthor from \title and \author.
+ * pdfusetitle boolean false
+ *
+ * Note that we use true as default value instead. The option is also
+ * used in latex output only when title and author is not filled.
+ */
+ bool pdfusetitle;
+ ///latex string
+ static const std::string pagemode_fullscreen;
+ /**
+ * Additional parameters for hyperref given from user.
+ */
+ 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_check(std::string const & str) const;