]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetERT.h
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / insets / InsetERT.h
index 2df001b3e0972615b10418bb6f67fa2c78425ef3..3f38f0e70eb9fc2d08f1fa602bcc44603faece33 100644 (file)
@@ -32,7 +32,7 @@ class Language;
 class InsetERT : public InsetCollapsable {
 public:
        ///
-       InsetERT(Buffer const &, CollapseStatus status = Open);
+       InsetERT(Buffer *, CollapseStatus status = Open);
        ///
        ~InsetERT();
        ///
@@ -47,16 +47,12 @@ private:
        ///
        void write(std::ostream & os) const;
        ///
-       docstring editMessage() const;
-       ///
-       bool insetAllowed(InsetCode code) const;
-       ///
-       int latex(odocstream &, OutputParams const &) const;
-       ///
        int plaintext(odocstream &, OutputParams const &) const;
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
+       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       ///
        void validate(LaTeXFeatures &) const {}
        ///
        bool showInsetDialog(BufferView *) const;
@@ -69,7 +65,7 @@ private:
        ///
        Inset * clone() const { return new InsetERT(*this); }
        ///
-       void setButtonLabel(BufferView const & bv);
+       docstring const buttonLabel(BufferView const & bv) const;
        ///
        bool allowSpellCheck() const { return false; }
 };