]> 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 410b66ed16d7478d05d35dbbef6046bc847acbfa..f8d5a20152e21b81e5020f8ea3e49be500417752 100644 (file)
@@ -4,7 +4,7 @@
  *
  *           LyX, The Document Processor
  *      
- *         Copyright (C) 1997 Asger Alstrup
+ *         Copyright 1997 Asger Alstrup
  *
  * ====================================================== */
 
@@ -34,10 +34,6 @@ public:
                END_OF_SENTENCE,
                /// Menu separator
                MENU_SEPARATOR,
-#if 0
-               /// Newline
-               NEWLINE,
-#endif
                /// Protected Separator
                PROTECTED_SEPARATOR
        };
@@ -45,6 +41,7 @@ public:
        ///
        InsetSpecialChar() {}
        ///
+       explicit
        InsetSpecialChar(Kind k);
        ///
        int ascent(Painter &, LyXFont const &) const;
@@ -55,19 +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) const;
-#ifndef USE_OSTREAM_ONLY
+       int Latex(std::ostream &, bool fragile, bool free_spc) const;
        ///
-       int Latex(string & file, signed char fragile) const;
-#endif
+       int Ascii(std::ostream &) const;
        ///
-       int Linuxdoc(string & file) const;
+       int Linuxdoc(std::ostream &) const;
        ///
-       int DocBook(string & file) const;
+       int DocBook(std::ostream &) const;
        ///
        Inset * Clone() const;
        ///