]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.h
BufferParams.cpp: make Lithuanian documents compilable, fixes http://bugzilla.lyx...
[lyx.git] / src / Buffer.h
index f50d00239423be0036257d8713456cf5bc381c2f..d73bf1ef09301c94ac98ad0b33adc8002d6ba85e 100644 (file)
@@ -279,6 +279,9 @@ public:
         */
        Buffer const * masterBuffer() const;
 
+       /// \return true if \p child is a child of this \c Buffer.
+       bool isChild(Buffer * child) const;
+
        /// Is buffer read-only?
        bool isReadonly() const;
 
@@ -307,7 +310,7 @@ public:
        /// of loaded child documents).
        void updateBibfilesCache() const;
        ///
-       void invalidateBibfilesCache();
+       void invalidateBibinfoCache();
        /// Return the cache with all bibfiles in use (including bibfiles
        /// of loaded child documents).
        support::FileNameList const & getBibfilesCache() const;
@@ -397,7 +400,7 @@ public:
        /// get source code (latex/docbook) for some paragraphs, or all paragraphs
        /// including preamble
        void getSourceCode(odocstream & os, pit_type par_begin, pit_type par_end,
-               bool full_source);
+               bool full_source) const;
 
        /// Access to error list.
        /// This method is used only for GUI visualisation of Buffer related
@@ -417,6 +420,8 @@ public:
 
        /// This function is called when the buffer is changed.
        void changed() const;
+       ///
+       void updateTocItem(std::string const &, DocIterator const &) const;
        /// This function is called when the buffer structure is changed.
        void structureChanged() const;
        /// This function is called when some parsing error shows up.