]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNote.h
Remove all BufferParam arguments in InsetXXX methods (since insets know about their...
[lyx.git] / src / insets / InsetNote.h
index bf5ca70a3fe0d08c48bee999723d56185231f62b..dd4cddaacaa9aaf1c8e4475155f97ff8fdd1ec66 100644 (file)
@@ -91,11 +91,13 @@ private:
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
+       docstring xhtml(odocstream &, OutputParams const &) const;
+       ///
        void validate(LaTeXFeatures &) const;
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
        ///
-       void addToToc(ParConstIterator const &) const;
+       void addToToc(DocIterator const &);
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
@@ -111,6 +113,11 @@ private:
        InsetNoteParams params_;
 };
 
+/**
+ * Mutate all NoteInsets of "source" type to the "target" type in the document.
+ * Returns true when some inset was changed.
+ */
+bool mutateNotes(lyx::Cursor & cur, std::string const & source, std::string const &target);
 
 } // namespace lyx