]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetquotes.h
prevent crash when inserting minipage in table cell,
[lyx.git] / src / insets / insetquotes.h
index 5650259e4fe0c2552b85357271957315395176e5..2b8c41452074ab6715796da7a3577093b661dc0c 100644 (file)
@@ -24,7 +24,7 @@ struct LaTeXFeatures;
 /** Quotes.
   Used for the various quotes. German, English, French, all either
   double or single **/
-class InsetQuotes : public Inset {
+class InsetQuotes : public InsetOld {
 public:
        ///
        enum quote_language {
@@ -68,12 +68,11 @@ public:
        /// Create the right quote inset after character c
        InsetQuotes(char c, BufferParams const & params);
        ///
-       Inset * clone(Buffer const &, bool same_id = false) const;
-
+       virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       void dimension(BufferView *, LyXFont const &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
-       void draw(BufferView *, LyXFont const &, int, float &) const;
+       void draw(PainterInfo & pi, int x, int y) const;
 #if 0
        ///
        LyXFont const convertFont(LyXFont const & font) const;
@@ -83,8 +82,8 @@ public:
        ///
        void read(Buffer const *, LyXLex & lex);
        ///
-       int latex(Buffer const *, std::ostream &, LatexRunParams const &,
-                 bool fragile, bool free_spc) const;
+       int latex(Buffer const *, std::ostream &,
+                 LatexRunParams const &) const;
        ///
        int ascii(Buffer const *, std::ostream &, int linelen) const;
        ///
@@ -94,7 +93,7 @@ public:
        ///
        void validate(LaTeXFeatures &) const;
        ///
-       Inset::Code lyxCode() const;
+       InsetOld::Code lyxCode() const;
        // should this inset be handled like a normal charater
        bool isChar() const { return true; }