]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.h
Streamlining CollapseStatus stuff
[lyx.git] / src / BufferParams.h
index 6872c9b9db078f15320c359ac8fbb56426f000f6..d0de105f03259e52c20580f96f7f39454ffa9225 100644 (file)
@@ -15,6 +15,7 @@
 #ifndef BUFFERPARAMS_H
 #define BUFFERPARAMS_H
 
+#include "Biblio.h"
 #include "TextClass.h"
 #include "paper.h"
 
@@ -189,6 +190,8 @@ public:
        std::string float_placement;
        ///
        unsigned int columns;
+       /// parameters for the listings package
+       std::string listings_params;
        ///
        TextClass::PageSides sides;
        ///
@@ -229,12 +232,9 @@ public:
        bool use_bibtopic;
        /// revision tracking for this buffer ?
        bool trackChanges;
-       /** This param decides whether change tracking marks should be output
-        *  (using the dvipost package) or if the current "state" of the
-        *  document should be output instead. Since dvipost needs dvi
-        *  specials, it only works with dvi/ps output (the param will be
-        *  ignored with other output flavors and disabled when dvipost is
-        *  not installed).
+       /** This param decides whether change tracking marks should be used
+        *  in output (irrespective of how these marks are actually defined;
+        *  for instance, they may differ for DVI and PDF generation)
         */
        bool outputChanges;
        /// Time ago we agreed that this was a buffer property [ale990407]
@@ -254,6 +254,9 @@ public:
        std::string const paperSizeName() const;
        /// set up if and how babel is called
        std::string const babelCall(std::string const & lang_opts) const;
+       /// handle inputenc etc.
+       void writeEncodingPreamble(odocstream & os, LaTeXFeatures & features,
+                                             TexRow & texrow) const;
        /// set up the document fonts
        std::string const loadFonts(std::string const & rm,
                                     std::string const & sf, std::string const & tt,