- void changeRefsIfUnique(std::string const & from, std::string const & to);
- /// get source code (latex/docbook/linuxdoc) for some paragraphs
- void getSourceCode(std::ostream & os, lyx::pit_type par_begin, lyx::pit_type par_end);
+ void changeRefsIfUnique(docstring const & from, docstring const & to,
+ InsetBase::Code code);
+/// 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);
+
+ /// errorLists_ accessors.
+ //@{
+ ErrorList const & errorList(std::string const & type) const;
+ ErrorList & errorList(std::string const & type);
+ //@}
+
+ //@{
+ TocBackend & tocBackend();
+ TocBackend const & tocBackend() const;
+ //@}