// -*- C++ -*-
/* This file is part of
* =================================================
- *
+ *
* LyX, The Document Processor
* Copyright 1995 Matthias Ettrich.
* Copyright 1995-2002 The LyX Team.
#ifdef __GNUG__
#pragma interface
-#endif
+#endif
#include "LString.h"
#include "buffer.h"
#include "lyxlex.h"
-using std::ostream;
-
/// This struct holds all the parameters needed by insetGraphics.
struct InsetGraphicsParams
{
string rotateOrigin;
/// Rotation angle.
float rotateAngle;
- /// clip image
+ /// clip image
bool clip;
/// draft mode
bool draft;
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;
///
InsetGraphicsParams & operator=(InsetGraphicsParams const &);
/// Save the parameters in the LyX format stream.
- void Write(Buffer const * buf, 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.
///
bool operator!=(InsetGraphicsParams const &, InsetGraphicsParams const &);
-#endif
+#endif