]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetspecialchar.h
reformatting and remove using delc
[lyx.git] / src / insets / insetspecialchar.h
index f8d5a20152e21b81e5020f8ea3e49be500417752..33315256d9f88ef0933bf2047bce042a7e753a4f 100644 (file)
@@ -44,27 +44,28 @@ public:
        explicit
        InsetSpecialChar(Kind k);
        ///
-       int ascent(Painter &, LyXFont const &) const;
+       int ascent(BufferView *, LyXFont const &) const;
        ///
-       int descent(Painter &, LyXFont const &) const;
+       int descent(BufferView *, LyXFont const &) const;
        ///
-       int width(Painter &, LyXFont const &) const;
+       int width(BufferView *, LyXFont const &) const;
        ///
-       void draw(Painter &, LyXFont const &, int baseline, float & x) const;
+       void draw(BufferView *, LyXFont const &, int, float &, bool) const;
        ///
-       void Write(std::ostream &) const;
+       void Write(Buffer const *, std::ostream &) const;
        /// Will not be used when lyxf3
-       void Read(LyXLex & lex);
+       void Read(Buffer const *, LyXLex & lex);
        /// 
-       int Latex(std::ostream &, bool fragile, bool free_spc) const;
+       int Latex(Buffer const *, std::ostream &,
+                 bool fragile, bool free_spc) const;
        ///
-       int Ascii(std::ostream &) const;
+       int Ascii(Buffer const *, std::ostream &, int linelen) const;
        ///
-       int Linuxdoc(std::ostream &) const;
+       int Linuxdoc(Buffer const *, std::ostream &) const;
        ///
-       int DocBook(std::ostream &) const;
+       int DocBook(Buffer const *, std::ostream &) const;
        ///
-       Inset * Clone() const;
+       Inset * Clone(Buffer const &) const;
        ///  
        Inset::Code LyxCode() const
        {