]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.h
Try to use the right width for math symbols
[lyx.git] / src / Buffer.h
index 7b965de7c24764ae130639e4886641c390307d82..e8f0aea8750ccc0706a6e7b2ff0f2aa933a4ed32 100644 (file)
@@ -335,9 +335,9 @@ public:
                             OutputParams const & runparams_in,
                             OutputWhat output = FullSource) const;
        ///
-       ExportStatus writeDocBookSource(odocstream & os, std::string const & filename,
-                            OutputParams const & runparams_in,
-                            OutputWhat output = FullSource) const;
+       ExportStatus writeDocBookSource(odocstream & os,
+                                OutputParams const & runparams_in,
+                                OutputWhat output = FullSource) const;
        ///
        ExportStatus makeLyXHTMLFile(support::FileName const & filename,
                             OutputParams const & runparams_in) const;
@@ -738,7 +738,7 @@ public:
        /// \param output: whether we are preparing for output.
        void updateBuffer(UpdateScope scope, UpdateType utype) const;
        ///
-       void updateBuffer(ParIterator & parit, UpdateType utype) const;
+       void updateBuffer(ParIterator & parit, UpdateType utype, bool const deleted = false) const;
 
        /// Spellcheck starting from \p from.
        /// \p from initial position, will then points to the next misspelled
@@ -783,6 +783,13 @@ public:
        ///
        support::FileName getBibfilePath(docstring const & bibid) const;
 
+       /// routines for dealing with possible self-inclusion
+       void pushIncludedBuffer(Buffer const * buf) const;
+       void popIncludedBuffer() const;
+       bool isBufferIncluded(Buffer const * buf) const;
+private:
+       void clearIncludeList() const;
+
 private:
        friend class MarkAsExporting;
        /// mark the buffer as busy exporting something, or not