]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFloatList.h
Move isMultiCell() to Cursor, and use it.
[lyx.git] / src / insets / InsetFloatList.h
index 9b53604fbe13e645e76b15886b6d55b04de02e7d..8d1bc212e846b0b5de0afe58ed7d35af6fd3e48a 100644 (file)
@@ -27,33 +27,36 @@ public:
        ///
        InsetFloatList(std::string const & type);
        ///
-       docstring const getScreenLabel(Buffer const &) const;
+       docstring screenLabel() const;
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
-       InsetCode lyxCode() const;
+       InsetCode lyxCode() const { return FLOAT_LIST_CODE; }
        ///
        DisplayType display() const { return AlignCenter; }
        ///
-       void write(Buffer const &, std::ostream &) const;
+       void write(std::ostream &) const;
        ///
-       void read(Buffer const &, Lexer &);
+       void read(Lexer &);
        ///
-       int latex(Buffer const &, odocstream &,
-                 OutputParams const &) const;
+       int latex(odocstream &, OutputParams const &) const;
        ///
-       int docbook(Buffer const &, odocstream &,
-                   OutputParams const &) const { return 0; }
+       int docbook(odocstream &, OutputParams const &) const { return 0; }
        ///
-       int plaintext(Buffer const &, odocstream &,
-                     OutputParams const & runparams) const;
+       int plaintext(odocstream &, OutputParams const & runparams) const;
        ///
        void validate(LaTeXFeatures & features) const;
+       ///
+       static ParamInfo const & findInfo(std::string const &);
+       ///
+       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_;
 };