]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFloatList.h
Wrap rotated cells with linebreaks in varwidth
[lyx.git] / src / insets / InsetFloatList.h
index 06004634f2edcee802f1b0134be446a8d3c020cb..3d6a7a356905d0f7530fc5bd2c5e60bfae198924 100644 (file)
@@ -23,13 +23,12 @@ namespace lyx {
 class InsetFloatList : public InsetCommand {
 public:
        ///
-       InsetFloatList();
+       InsetFloatList(Buffer *);
        ///
-       InsetFloatList(std::string const & type);
-       ///
-       docstring screenLabel() const;
-       ///
-       EDITABLE editable() const { return IS_EDITABLE; }
+       InsetFloatList(Buffer *, std::string const & type);
+
+       /// \name Public functions inherited from Inset class
+       //@{
        ///
        InsetCode lyxCode() const { return FLOAT_LIST_CODE; }
        ///
@@ -39,24 +38,46 @@ public:
        ///
        void read(Lexer &);
        ///
-       int latex(odocstream &, OutputParams const &) const;
+       void latex(otexstream &, OutputParams const &) const;
        ///
        int docbook(odocstream &, OutputParams const &) const { return 0; }
        ///
-       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;
+       ///
+       void doDispatch(Cursor & cur, FuncRequest & cmd);
+       ///
+       bool clickable(BufferView const &, int, int) const { return true; }
        ///
        void validate(LaTeXFeatures & features) const;
+       //@}
+
+       /// \name Static public methods obligated for InsetCommand derived classes
+       //@{
        ///
        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:
+       /// \name Private functions inherited from Inset class
+       //@{
        ///
        Inset * clone() const { return new InsetFloatList(*this); }
        ///
-       static ParamInfo param_info_;
+       docstring layoutName() const;
+       //@}
+
+       /// \name Private functions inherited from InsetCommand class
+       //@{
+       ///
+       docstring screenLabel() const;
+       //@}
 };