]> git.lyx.org Git - lyx.git/blobdiff - src/PDFOptions.h
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / PDFOptions.h
index 47e4c4136c07072340ed9eb29616d3ee147b118e..187e80c25fe5a6ee97cab9d94560c47f0bfa62f3 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:
@@ -92,18 +96,14 @@ public:
        bool colorlinks;
        /**
                * Adds backlink text to the end of each item in the bibliography,
-               * as a list of section numbers.
+               * as a list of section/slide/page numbers.
                * This can only work properly if there is a blank line after each
                * \bibitem.
-               * backref        boolean false
-               */
-       bool backref;
-       /**
-               * Adds backlink text to the end of each item in the bibliography,
-               * as a list of page numbers.
-               * pagebackref       boolean false
+               * backref   string  empty(="section"), "false", "section", "slide", "page"
+               *
+               * Internally we use false/section/slide/pages. See also bug 5340.
                */
-       bool pagebackref;
+       std::string backref;
        /**
                * Determines how the file is opening in Acrobat;
                * the possibilities are None, UseThumbs (show thumbnails), UseOutlines