]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetspecialchar.h
clear()->erase() ; lots of using directives for cxx
[lyx.git] / src / insets / insetspecialchar.h
index f728f25fb24c28ff6181370c211a6d7af9b38960..f8d5a20152e21b81e5020f8ea3e49be500417752 100644 (file)
@@ -18,8 +18,6 @@
 #include "lyxinset.h"
 #include "LString.h"
 
-using std::ostream;
-
 struct LaTeXFeatures;
 
 ///  Used to insert special chars
@@ -36,10 +34,6 @@ public:
                END_OF_SENTENCE,
                /// Menu separator
                MENU_SEPARATOR,
-#if 0
-               /// Newline
-               NEWLINE,
-#endif
                /// Protected Separator
                PROTECTED_SEPARATOR
        };
@@ -47,6 +41,7 @@ public:
        ///
        InsetSpecialChar() {}
        ///
+       explicit
        InsetSpecialChar(Kind k);
        ///
        int ascent(Painter &, LyXFont const &) const;
@@ -57,15 +52,17 @@ public:
        ///
        void draw(Painter &, LyXFont const &, int baseline, float & x) const;
        ///
-       void Write(ostream &) const;
+       void Write(std::ostream &) const;
        /// Will not be used when lyxf3
        void Read(LyXLex & lex);
        /// 
-       int Latex(ostream &, signed char fragile, bool free_spc) const;
+       int Latex(std::ostream &, bool fragile, bool free_spc) const;
+       ///
+       int Ascii(std::ostream &) const;
        ///
-       int Linuxdoc(ostream &) const;
+       int Linuxdoc(std::ostream &) const;
        ///
-       int DocBook(ostream &) const;
+       int DocBook(std::ostream &) const;
        ///
        Inset * Clone() const;
        ///