]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNote.h
Pure HTML output for math macros.
[lyx.git] / src / insets / InsetNote.h
index dd4cddaacaa9aaf1c8e4475155f97ff8fdd1ec66..dde3a48cb230008257bdd666b309888eabb746e7 100644 (file)
@@ -47,7 +47,7 @@ class InsetNote : public InsetCollapsable
 {
 public:
        ///
-       InsetNote(Buffer const &, std::string const &);
+       InsetNote(Buffer *, std::string const &);
        ///
        ~InsetNote();
        ///
@@ -57,8 +57,6 @@ public:
        ///
        InsetNoteParams const & params() const { return params_; }
 private:
-       ///
-       docstring editMessage() const;
        ///
        InsetCode lyxCode() const { return NOTE_CODE; }
        ///
@@ -75,6 +73,8 @@ private:
         */
        bool producesOutput() const { return false; }
        ///
+       bool allowSpellCheck() const;
+       ///
        void write(std::ostream &) const;
        ///
        void read(Lexer & lex);
@@ -91,7 +91,7 @@ private:
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
-       docstring xhtml(odocstream &, OutputParams const &) const;
+       docstring xhtml(XHTMLStream &, OutputParams const &) const;
        ///
        void validate(LaTeXFeatures &) const;
        ///
@@ -113,12 +113,6 @@ 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
 
 #endif // INSET_NOTE_H