namespace lyx {
+class BiblioInfo;
class BufferParams;
class DocIterator;
class ErrorItem;
*/
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;
/// Update the cache with all bibfiles in use (including bibfiles
/// of loaded child documents).
void updateBibfilesCache() const;
+ ///
+ void invalidateBibinfoCache();
/// Return the cache with all bibfiles in use (including bibfiles
/// of loaded child documents).
support::FileNameList const & getBibfilesCache() const;
+ /// \return the bibliography information for this buffer's master,
+ /// or just for it, if it isn't a child.
+ BiblioInfo const & masterBibInfo() const;
+ /// \return the bibliography information for this buffer ONLY.
+ BiblioInfo const & localBibInfo() const;
///
void getLabelList(std::vector<docstring> &) const;
/// 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
/// 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.