]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFloatList.h
New DocBook support
[lyx.git] / src / insets / InsetFloatList.h
index e03e541d54e419d959346d69fed618ecfc56251d..e0ae669de0ca8842b12f3ba8fef6b7d7bd97c0a1 100644 (file)
@@ -23,7 +23,7 @@ namespace lyx {
 class InsetFloatList : public InsetCommand {
 public:
        ///
-       InsetFloatList(Buffer *);
+       explicit InsetFloatList(Buffer *);
        ///
        InsetFloatList(Buffer *, std::string const & type);
 
@@ -32,19 +32,24 @@ public:
        ///
        InsetCode lyxCode() const { return FLOAT_LIST_CODE; }
        ///
-       DisplayType display() const { return AlignCenter; }
+       RowFlags rowFlags() const { return Display; }
        ///
        void write(std::ostream &) const;
        ///
        void read(Lexer &);
        ///
-       int latex(otexstream &, OutputParams const &) const;
+       void latex(otexstream &, OutputParams const &) const;
        ///
-       int docbook(odocstream &, OutputParams const &) const { return 0; }
+       void docbook(XMLStream &, OutputParams const &) const { return; }
        ///
-       int plaintext(odocstream &, OutputParams const & runparams) const;
+       int plaintext(odocstringstream & ods, OutputParams const & op,
+                     size_t max_length = INT_MAX) const;
        ///
-       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       docstring xhtml(XMLStream &, OutputParams const &) const;
+       ///
+       void doDispatch(Cursor & cur, FuncRequest & cmd);
+       ///
+       bool clickable(BufferView const &, int, int) const { return true; }
        ///
        void validate(LaTeXFeatures & features) const;
        //@}
@@ -64,6 +69,8 @@ private:
        //@{
        ///
        Inset * clone() const { return new InsetFloatList(*this); }
+       ///
+       docstring layoutName() const;
        //@}
 
        /// \name Private functions inherited from InsetCommand class
@@ -71,9 +78,6 @@ private:
        ///
        docstring screenLabel() const;
        //@}
-
-       ///
-       static ParamInfo param_info_;
 };