]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetMarginal.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetMarginal.h
index 6fce74306a17369571aa75f2535221054cb03cf6..40d4e5d4c3ec77af306acc8a1bf5491e7b36b6a7 100644 (file)
@@ -27,22 +27,24 @@ public:
        ///
        InsetMarginal(BufferParams const &);
        ///
-       InsetBase::Code lyxCode() const { return InsetBase::MARGIN_CODE; }
+       Inset::Code lyxCode() const { return Inset::MARGIN_CODE; }
+       ///
+       docstring name() const { return from_ascii("Marginal"); }
        ///
        int latex(Buffer const &, odocstream &,
-                 OutputParams const &) const;
+                 OutputParams const &) const;
        ///
        int plaintext(Buffer const &, odocstream &,
-                     OutputParams const & runparams) const;
+                     OutputParams const & runparams) const;
        ///
        int docbook(Buffer const &, odocstream &,
-                   OutputParams const & runparams) const;
+                   OutputParams const & runparams) const;
        ///
        virtual docstring const editMessage() const;
 protected:
        InsetMarginal(InsetMarginal const &);
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual Inset * clone() const;
 };