]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetERT.h
Remove all BufferParam arguments in InsetXXX methods (since insets know about their...
[lyx.git] / src / insets / InsetERT.h
index af60deb76f092520bf98f521f93f334ded81938d..1e02fc8d9fb565d5f8fbf3a515076dfca6ce1113 100644 (file)
@@ -4,8 +4,8 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Jürgen Vigna
- * \author Lars Gullik Bjønnes
+ * \author Jürgen Vigna
+ * \author Lars Gullik Bjønnes
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -57,15 +57,11 @@ private:
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
-       void validate(LaTeXFeatures &) const {}
+       docstring xhtml(odocstream &, OutputParams const &) const;
        ///
-       void draw(PainterInfo & pi, int x, int y) const;
+       void validate(LaTeXFeatures &) const {}
        ///
        bool showInsetDialog(BufferView *) const;
-       ///
-       virtual bool forceEmptyLayout(idx_type = 0) const { return true; }
-       ///
-       virtual bool allowParagraphCustomization(idx_type = 0) const { return false; }
        /// should paragraph indendation be omitted in any case?
        bool neverIndent() const { return true; }
        ///
@@ -75,7 +71,7 @@ private:
        ///
        Inset * clone() const { return new InsetERT(*this); }
        ///
-       void setButtonLabel();
+       docstring const buttonLabel(BufferView const & bv) const;
        ///
        bool allowSpellCheck() const { return false; }
 };