]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetFloatList.h
more latin1..utf8 schanges. all of src/* should be utf8 now
[features.git] / src / insets / InsetFloatList.h
index ef476128a98c0f4e65bfefbcd9b294f30b11cffe..06004634f2edcee802f1b0134be446a8d3c020cb 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.
  */
@@ -27,7 +27,7 @@ public:
        ///
        InsetFloatList(std::string const & type);
        ///
-       docstring const getScreenLabel(Buffer const &) const;
+       docstring screenLabel() const;
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
@@ -35,25 +35,28 @@ public:
        ///
        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_;
 };