]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFloatList.h
Pure HTML output for math macros.
[lyx.git] / src / insets / InsetFloatList.h
index d699cc7d51c5d1be189b67143f5352b54c45611c..3d9e444a1c2cf6faa75bd4d9bf7f37abaf1ad109 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -23,14 +23,12 @@ namespace lyx {
 class InsetFloatList : public InsetCommand {
 public:
        ///
-       InsetFloatList();
+       InsetFloatList(Buffer *);
        ///
-       InsetFloatList(std::string const & type);
+       InsetFloatList(Buffer *, std::string const & type);
        ///
        docstring screenLabel() const;
        ///
-       EDITABLE editable() const { return IS_EDITABLE; }
-       ///
        InsetCode lyxCode() const { return FLOAT_LIST_CODE; }
        ///
        DisplayType display() const { return AlignCenter; }
@@ -45,17 +43,18 @@ public:
        ///
        int plaintext(odocstream &, OutputParams const & runparams) const;
        ///
+       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       ///
        void validate(LaTeXFeatures & features) const;
        ///
        static ParamInfo const & findInfo(std::string const &);
        ///
-       static std::string defaultCommand() { return "listoftables"; };
+       static std::string defaultCommand() { return "listoftables"; }
        ///
        static bool isCompatibleCommand(std::string const & s);
 private:
        ///
-       virtual Inset * clone() const
-               { return new InsetFloatList(to_ascii(getParam("type"))); }
+       Inset * clone() const { return new InsetFloatList(*this); }
        ///
        static ParamInfo param_info_;
 };