// -*- C++ -*-
/* This file is part of
- * ======================================================
+ * ======================================================
*
* LyX, The Document Processor
*
* Copyright (C) 1995 1996 Matthias Ettrich
* and the LyX Team.
*
- *======================================================*/
+ * ====================================================== */
#ifndef VSPACE_H
#define VSPACE_H
#endif
#include <cstdio>
+#include "LString.h"
/// LyXLength Class
class LyXLength {
//@}
///
- bool operator==(LyXLength const &) const;
+ bool operator== (LyXLength const &) const;
/// conversion
virtual string asString() const;
/** If "data" is valid, the length represented by it is
stored into "result", if that is not 0. */
friend bool isValidLength(string const & data,
- LyXLength * result=0);
+ LyXLength * result= 0);
protected:
///
//@{
///
LyXGlueLength(float v, LyXLength::UNIT u,
- float pv=0.0, LyXLength::UNIT pu=LyXLength::UNIT_NONE,
- float mv=0.0, LyXLength::UNIT mu=LyXLength::UNIT_NONE)
+ float pv= 0.0, LyXLength::UNIT pu= LyXLength::UNIT_NONE,
+ float mv= 0.0, LyXLength::UNIT mu= LyXLength::UNIT_NONE)
: LyXLength (v, u),
plus_val(pv), minus_val(mv),
plus_uni(pu), minus_uni(mu) {}
//@}
///
- bool operator==(LyXGlueLength const &) const;
+ bool operator == (LyXGlueLength const &) const;
/// conversion
virtual string asString() const;
/** If "data" is valid, the length represented by it is
stored into "result", if that is not 0. */
friend bool isValidGlueLength(string const & data,
- LyXGlueLength* result=0);
+ LyXGlueLength* result= 0);
protected:
///
///
void setKeep(bool val) { kp = val; }
///
- bool operator==(VSpace const &) const;
+ bool operator == (VSpace const &) const;
// conversion
///
};
#endif
-
-