]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetgraphicsParams.h
use more specific smart_ptr headers
[lyx.git] / src / insets / insetgraphicsParams.h
index 130e530646a10d7fe611887922295b4f79752c6b..4845e74594de332dc361015cdf7f1a38f40c04d1 100644 (file)
@@ -1,7 +1,7 @@
 // -*- C++ -*-
 /* This file is part of
  * =================================================
- * 
+ *
  *          LyX, The Document Processor
  *          Copyright 1995 Matthias Ettrich.
  *          Copyright 1995-2002 The LyX Team.
@@ -15,7 +15,7 @@
 
 #ifdef __GNUG__
 #pragma interface
-#endif 
+#endif
 
 #include "LString.h"
 
@@ -51,7 +51,7 @@ struct InsetGraphicsParams
        string rotateOrigin;
        /// Rotation angle.
        float rotateAngle;
-       /// clip image 
+       /// clip image
        bool clip;
        /// draft mode
        bool draft;
@@ -59,7 +59,7 @@ struct InsetGraphicsParams
        bool noUnzip;
        /// The bounding box with "xLB yLB yRT yRT ", divided by a space!
        string bb;
-       /// Type of rescaling 
+       /// Type of rescaling
        sizeType size_type;
        /// three possible values for rescaling (latex)
        LyXLength width;
@@ -73,9 +73,9 @@ struct InsetGraphicsParams
        string special;
        /// How to display the image inside lyx
        DisplayType display;
-       /// the size for the view inside lyx
        /// Typ of the LyXView, same as for latex
        sizeType lyxsize_type;
+       /// the size for the view inside lyx
        LyXLength lyxwidth;
        ///
        LyXLength lyxheight;
@@ -88,9 +88,9 @@ struct InsetGraphicsParams
        ///
        InsetGraphicsParams & operator=(InsetGraphicsParams const &);
        /// Save the parameters in the LyX format stream.
-       void Write(Buffer const * buf, std::ostream & os) const;
+       void Write(std::ostream & os) const;
        /// If the token belongs to our parameters, read it.
-       bool Read(Buffer const * buf, LyXLex & lex, string const & token);
+       bool Read(LyXLex & lex, string const & token);
 
 private:
        /// Initialize the object to a default status.
@@ -104,4 +104,4 @@ bool operator==(InsetGraphicsParams const &, InsetGraphicsParams const &);
 ///
 bool operator!=(InsetGraphicsParams const &, InsetGraphicsParams const &);
 
-#endif 
+#endif