- void changeRefsIfUnique(std::string const & from, std::string const & to);
- /// get source code (latex/docbook/linuxdoc) for some paragraphs, or all paragraphs
- /// including preamble
- void getSourceCode(std::ostream & os, lyx::pit_type par_begin, lyx::pit_type par_end, bool full_source);
-
- /// errorList_ accessor.
- ErrorList const & getErrorList() const;
- /// replace the internal errorList_
- /** FIXME: This method is const for now because the ErrorList GUI
- * showing mechanism is used by other classes in order to show their
- * own processing errors (ex: Converter.C).
- */
- void setErrorList(ErrorList const &) const;
- /// add an error to the errorList_
- /** FIXME: This method is const for now because the ErrorList GUI
- * showing mechanism is used by other classes in order to show their
- * own processing errors (ex: Converter.C).
- */
- void addError(ErrorItem const &) const;
+ 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;
+ //@}