]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.h
A couple of minor bug fixes and cleanups
[lyx.git] / src / buffer.h
index d46db48035cf00ac64b241f75f931f6f2907a4b2..b3af29f343f38c4911de6937e4432d7c5365c5f1 100644 (file)
@@ -157,10 +157,18 @@ public:
        ///
        string const asciiParagraph(Paragraph const *, unsigned int linelen,
                                    bool noparbreak = false) const;
-       ///
+       /// Just a wrapper for the method below, first creating the ofstream.
        void makeLaTeXFile(string const & filename,
                           string const & original_path,
-                          bool nice, bool only_body = false);
+                          bool nice,
+                          bool only_body = false,
+                          bool only_preamble = false);
+       ///
+       void makeLaTeXFile(std::ostream & os,
+                          string const & original_path,
+                          bool nice,
+                          bool only_body = false,
+                          bool only_preamble = false);
        /** LaTeX all paragraphs from par to endpar.
            \param \a endpar if == 0 then to the end
        */