]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNote.h
Pure HTML output for math macros.
[lyx.git] / src / insets / InsetNote.h
index 15b416a1f8270b124a3a3e37cc6b4ae659b47e24..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; }
        ///
@@ -67,6 +65,15 @@ private:
        DisplayType display() const;
        ///
        bool noFontChange() const { return params_.type != InsetNoteParams::Note; }
+       /*!
+        * Is the content of this inset part of the output document?
+        *
+        * Note that Note insets are not considered part of the
+        * document, even in their 'greyed out' incarnation.
+        */
+       bool producesOutput() const { return false; }
+       ///
+       bool allowSpellCheck() const;
        ///
        void write(std::ostream &) const;
        ///
@@ -84,13 +91,13 @@ private:
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
+       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       ///
        void validate(LaTeXFeatures &) const;
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
-       // Update the counters of this inset and of its contents
-       void updateLabels(ParIterator const &);
        ///
-       void addToToc(ParConstIterator const &) const;
+       void addToToc(DocIterator const &);
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
@@ -106,7 +113,6 @@ private:
        InsetNoteParams params_;
 };
 
-
 } // namespace lyx
 
 #endif // INSET_NOTE_H