///
Buffer * clone() const;
+ ///
+ bool isClone() const;
/** High-level interface to buffer functionality.
This function parses a command string and executes it.
/// Loads LyX file \c filename into buffer, * and return success
bool loadLyXFile(support::FileName const & s);
+ /// Reloads the LyX file
+ bool reload();
/// Fill in the ErrorList with the TeXErrors
void bufferErrors(TeXErrors const &, ErrorList &) const;
/// return a vector with all children (and grandchildren)
std::vector<Buffer *> getChildren(bool grand_children = true) const;
+ /// Add all children (and grandchildren) to supplied vector
+ void getChildren(std::vector<Buffer *> & children, bool grand_children = true) const;
+
/// Is buffer read-only?
bool isReadonly() const;
Undo & undo();
/// This function is called when the buffer is changed.
- void changed() const;
+ void changed(bool update_metrics) const;
+ ///
+ void setChild(DocIterator const & dit, Buffer * child);
///
void updateTocItem(std::string const &, DocIterator const &) const;
/// This function is called when the buffer structure is changed.
///
bool doExport(std::string const & format, bool put_in_tempdir,
- std::string & result_file) const;
+ bool includeall, std::string & result_file) const;
///
- bool doExport(std::string const & format, bool put_in_tempdir) const;
+ bool doExport(std::string const & format, bool put_in_tempdir,
+ bool includeall = false) const;
///
- bool preview(std::string const & format) const;
+ bool preview(std::string const & format, bool includeall = false) const;
///
bool isExportable(std::string const & format) const;
///
void updateMacros(DocIterator & it,
DocIterator & scope) const;
///
+ void checkBibInfoCache() const;
+ ///
void setLabel(ParIterator & it) const;
///
void collectRelatives(BufferSet & bufs) const;