]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.C
ws changes only
[lyx.git] / src / LaTeXFeatures.C
index 15cf2b630dc0cb6a326f356c2cd09836fce2bb10..bd891b5b764b2b3408df0bc77a06f6f6deac638e 100644 (file)
@@ -35,15 +35,15 @@ using lyx::support::OnlyPath;
 
 using std::endl;
 using std::find;
-
+using std::string;
 using std::list;
 using std::ostream;
 using std::ostringstream;
 using std::set;
 
 
-LaTeXFeatures::LaTeXFeatures(BufferParams const & p)
-       : params_(p)
+LaTeXFeatures::LaTeXFeatures(Buffer const & b, BufferParams const & p)
+       : buffer_(b), params_(p)
 {}
 
 
@@ -189,7 +189,9 @@ char const * simplefeatures[] = {
        "prettyref",
        "float",
        "wasy",
-       "dvipost"
+       "dvipost",
+       "fancybox",
+       "calc"
 };
 
 int const nb_simplefeatures = sizeof(simplefeatures) / sizeof(char const *);
@@ -449,6 +451,12 @@ void LaTeXFeatures::showStruct() const {
 }
 
 
+Buffer const & LaTeXFeatures::buffer() const
+{
+       return buffer_;
+}
+
+
 BufferParams const & LaTeXFeatures::bufferParams() const
 {
        return params_;