]> git.lyx.org Git - lyx.git/blobdiff - src/insets/figinset.h
clear()->erase() ; lots of using directives for cxx
[lyx.git] / src / insets / figinset.h
index 39faf8104c8c4ffb52db1c235819fa0acfc918eb..178ddf4acf9bd6446d429d2c92284570dc16b8b9 100644 (file)
@@ -14,7 +14,6 @@
 #include "insets/lyxinset.h"
 /* the rest is figure stuff */
 
-
 struct Figref;
 
 ///
@@ -34,20 +33,23 @@ public:
        void draw(Painter &, LyXFont const & font,
                  int baseline, float & x) const;
        ///
-       void Write(ostream &) const;
+       void Write(std::ostream &) const;
        ///
        void Read(LyXLex & lex);
        ///
-       int Latex(ostream &, signed char fragile, bool free_space) const;
+       int Latex(std::ostream &, bool fragile, bool free_space) const;
+       ///
+       int Ascii(std::ostream &) const;
        ///
-       int Linuxdoc(ostream &) const;
+       int Linuxdoc(std::ostream &) const;
        ///
-       int DocBook(ostream &) const;
+       int DocBook(std::ostream &) const;
        /// Updates needed features for this inset.
        void Validate(LaTeXFeatures & features) const;
 
        /// what appears in the minibuffer when opening
-       const char * EditMessage() const { return _("Opened figure"); }
+       char const * EditMessage() const;
+       
        ///
        void Edit(BufferView *, int, int, unsigned int);
        ///
@@ -122,12 +124,14 @@ public:
 
        /// various flags
        int flags;
-       bool subfigure : 1;
+       ///
+       bool subfigure;
        /// figure reference
        Figref * figure;
        /// temporary flags
        int pflags;
-       bool psubfigure : 1;
+       ///
+       bool psubfigure;
 private:
 
        ///