]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettoc.h
insetcharstyle drawing cosmetics
[lyx.git] / src / insets / insettoc.h
index a35682e32acbd012131671685c56bf504ba37418..98813a7f1ad706e0d7254b91cbd59342f022a588 100644 (file)
 #ifndef INSET_TOC_H
 #define INSET_TOC_H
 
-
 #include "insetcommand.h"
 
-class MetricsInfo;
-
 
-/** Used to insert table of contents
- */
+/// Used to insert table of contents and similar lists
 class InsetTOC : public InsetCommand {
 public:
        ///
        explicit InsetTOC(InsetCommandParams const &);
        ///
-       ~InsetTOC();
-       ///
        std::auto_ptr<InsetBase> clone() const;
        ///
-       void metrics(MetricsInfo &, Dimension &) const;
-       ///
-       void draw(PainterInfo & pi, int x, int y) const;
-       ///
        std::string const getScreenLabel(Buffer const &) const;
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
@@ -41,19 +31,14 @@ public:
        ///
        bool display() const { return true; }
        ///
-       int ascii(Buffer const &, std::ostream &,
-                 LatexRunParams const &) const;
+       int plaintext(Buffer const &, std::ostream &,
+                 OutputParams const &) const;
        ///
        int linuxdoc(Buffer const &, std::ostream &,
-                    LatexRunParams const &) const;
+                    OutputParams const &) const;
        ///
        int docbook(Buffer const &, std::ostream &,
-                   LatexRunParams const &) const;
-protected:
-       ///
-       virtual
-       DispatchResult
-       priv_dispatch(FuncRequest const & cmd, idx_type &, pos_type &);
+                   OutputParams const &) const;
 };
 
 #endif