#ifndef VSPACE_H
#define VSPACE_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-
#include "lyxgluelength.h"
#include "LString.h"
/// Constructor for reading from a .lyx file
explicit VSpace(string const & data);
-
+
/// return the type of vertical space
vspace_kind kind() const;
/// return the length of this space
bool operator==(VSpace const &) const;
// conversion
-
+
/// how it goes into the LyX file
- string const asLyXCommand() const;
+ string const asLyXCommand() const;
/// the latex representation
string const asLatexCommand(BufferParams const & params) const;
/// the size of the space on-screen
- int inPixels(BufferView * bv) const;
+ int inPixels(BufferView const & bv) const;
+
private:
/// This VSpace kind
vspace_kind kind_;
bool keep_;
};
-#endif
+#endif // VSPACE_H